Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#7328 closed defect (fixed)

Jamu fails while creating file with "/" in movie title

Reported by: charles Owned by: Anduin Withers
Priority: minor Milestone: unknown
Component: Plugin - MythVideo Version: head
Severity: medium Keywords: jamu
Cc: Ticket locked: no


Jamu script fails to create fanart for movie with "/" in title (ex. Face/Off?). See Traceback below.

Traceback (most recent call last):

File "/usr/share/mythtv/mythvideo/scripts/", line 6099, in <module>


File "/usr/share/mythtv/mythvideo/scripts/", line 6084, in main


File "/usr/share/mythtv/mythvideo/scripts/", line 5194, in processMythTvMetaData


File "/usr/share/mythtv/mythvideo/scripts/", line 5050, in _downloadScheduledRecordedGraphics

results = self._getTmdbGraphics(cfile, g_type, watched=True)

File "/usr/share/mythtv/mythvideo/scripts/", line 3232, in _getTmdbGraphics

value = self._downloadGraphics(u"%s:%s" % (g_type, graphic_file), mythtv=True)

File "/usr/share/mythtv/mythvideo/scripts/", line 2131, in _downloadGraphics

if self._downloadURL(pairs[0], pairs[1]):

File "/usr/share/mythtv/mythvideo/scripts/", line 1987, in _downloadURL

target_socket = open(OutputFileName?, "wb")

IOError: [Errno 2] No such file or directory: u'/var/lib/mythtv/fanart/Face/Off_fanart.jpg'

Change History (4)

comment:1 Changed 12 years ago by stuartm

Milestone: 0.22unknown

comment:2 Changed 12 years ago by robertm

(In [22515]) Refs #7328. Allow Jamu to fall back to creating image files using the SeriesID when downloading images for the PBB when the title contains illegal characters. Patch from Doug Vaughan, I'll backport to fixes upon release.

comment:3 Changed 12 years ago by robertm

Resolution: fixed
Status: newclosed

(In [22566]) Closes #7328, backport Jamu crash fix when title contains illegal characters.

comment:4 Changed 12 years ago by charles

Thanks for fixing Jamu. Jamu now correctly downloads and saves pictures. Unfortunately, mythfrontend is unable to load picture because of different character in filename (ex. Face/Off?: _ instead of / ).

Note: See TracTickets for help on using tickets.