[mythtv-commits] Ticket #10127: mirobridge fails if there are graphics files with non ascii characters in storagegroups
MythTV
noreply at mythtv.org
Thu Oct 27 01:39:00 UTC 2011
#10127: mirobridge fails if there are graphics files with non ascii characters in
storagegroups
--------------------------------------------+-----------------------------
Reporter: ryan.goat@… | Owner: mdean
Type: Bug Report - Hang/Deadlock | Status: new
Priority: minor | Milestone: unknown
Component: Contributed Scripts & Apps | Version: Trunk Head
Severity: medium | Keywords: miro mirobridge
Ticket locked: 0 |
--------------------------------------------+-----------------------------
Mirobridge stopped working for me several months ago. It seems to be
failing because of non-ascii characters in mythtvideo graphics files for
non-miro related videos.
Here is the error message. . .
{{{
2011-10-26 20:57:46,027 INFO No items downloading
Traceback (most recent call last):
File
"./mythtv_git/mythtv/mythtv/contrib/imports/mirobridge/mirobridge.py",
line 2729, in <module>
main()
File
"./mythtv_git/mythtv/mythtv/contrib/imports/mirobridge/mirobridge.py",
line 2392, in main
videostodelete = getOldrecordedOrphans()
File
"./mythtv_git/mythtv/mythtv/contrib/imports/mirobridge/mirobridge.py",
line 1191, in getOldrecordedOrphans
data[u'subtitle'], graphic_suffix[u'episodeimagedir'], u'png'))
File
"/home/ryan/mythtv_git/mythtv/mythtv/contrib/imports/mirobridge/mirobridge/metadata.py",
line 228, in cleanupVideoAndGraphics
if name.startswith(fileBaseName):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 3:
ordinal not in range(128)
}}}
Unicode byte 0xe9 is character: é. I have several graphic files with
names like, "Pokémon Season 1_coverart.jpg". So it seems mirobridge
seeing those files is the root cause behind the hang.
Everytime I run mirobridge it reaches this error and hangs. <ctrl-c> does
not terminate the process. I have to do a "kill -9" command on the
offending process.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10127>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list