Opened 20 months ago

Closed 20 months ago

Last modified 18 months ago

#13199 closed Bug Report - General (fixed)

exception within ttvdb.py

Reported by: angela.schmid@… Owned by: Mark Spieth
Priority: minor Milestone: 29.1
Component: Bindings - Python Version: v29-fixes
Severity: medium Keywords: ttvdb
Cc: Ticket locked: no

Description

Upgraded to the latest source after being hit by #13166.

ttvdb.py -l de -a DE -D 282022 1 1: works

ttvdb.py -l de -a DE -D 282022

Title:Wilder Westen
Season:1
Episode:1
Subtitle:Gebirge
Year:2014
ReleaseDate:2014-05-22
Director:Phil Coles
Plot:Der Wilde Westen. Die Vorstellung vom Leben in Nordamerika im 19. Jahrhundert ist hierzulande von Hollywood geprägt. Wie aber vollzog sich die Besiedelung tatsächlich vor über 150 Jahren? Die dreiteilige Dokumentation gibt mit mächtigen Bildern Aufschluss über die entbehrungsreichen Trecks nach Westen und über die ersten Versuche, sesshaft zu werden. Im ersten Teil geht es um die Überwindung der Gebirgsketten der Appalachen und der Rocky Mountains. (Text: ZDFkultur)
UserRating:
Writers:
Screenshot:http://thetvdb.com/banners/episodes/282022/4890147.jpg
Language:de
Absolutenumber:1
Airedseasonid:586419
Dvddiscid:
Id:4890147
Imdbid:
Lastupdated:1485719514
Lastupdatedby:393789
Productioncode:b044jl70
Seriesid:282022
Showurl:
Siterating:0
Siteratingcount:0
Thumbadded:2014-06-06 16:29:28
Thumbauthor:5040
Thumbheight:225
Thumbwidth:400
Cast:Ray Mears
Runtime:60
..............
Traceback (most recent call last):
  File "/usr/share/mythtv/metadata/Television/ttvdb.py", line 2464, in <module>
    sys.exit(main())
  File "/usr/share/mythtv/metadata/Television/ttvdb.py", line 2353, in main
    banners_keys = search_for_series(t, series_season_ep[0], opts.language)['_banners'].keys()
  File "/usr/local/lib/python2.7/dist-packages/MythTV/ttvdb/tvdb_api.py", line 325, in __getitem__
    "Cannot find attribute %s" % (repr(key))
MythTV.ttvdb.tvdb_api.tvdb_attributenotfound: Cannot find attribute '_banners'

Change History (6)

comment:1 Changed 20 months ago by Mark Spieth

Owner: changed from Raymond Wagner to Mark Spieth
Status: newaccepted

comment:2 Changed 20 months ago by Mark Spieth <mspieth@…>

Resolution: fixed
Status: acceptedclosed

In 6c0c90a27bc287d19abeef7fb1d3a17f02369aa3/mythtv:

ttvdb.py: Handle missing banners gracefully

fixes #13199

comment:3 Changed 20 months ago by Mark Spieth <mspieth@…>

In e3f011b9c464c03ead4624cc03ec852045153bfc/mythtv:

ttvdb.py: Handle missing banners gracefully

fixes #13199
(cherry picked from commit 6c0c90a27bc287d19abeef7fb1d3a17f02369aa3)

comment:4 Changed 20 months ago by Mark Spieth <mspieth@…>

In 9dbf6706337b72b132f34d6c8e9f305609a44d7e/mythtv:

ttvdb.py: Handle missing banners gracefully

fixes #13199
(cherry picked from commit 6c0c90a27bc287d19abeef7fb1d3a17f02369aa3)

comment:5 Changed 20 months ago by angela.schmid@…

It fixed the exception. But why is there no XML generated? Does it make sense to not generate XML?

comment:6 Changed 18 months ago by Stuart Auchterlonie

Milestone: needs_triage29.1
Note: See TracTickets for help on using tickets.