[mythtv-users] jamu: UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 27: ordinal not in range(128)

Brian J. Murrell brian at interlinx.bc.ca
Thu Jan 14 12:07:59 UTC 2010


When I try to run:

mythtv$ /usr/bin/python /usr/share/mythtv/mythvideo/scripts/jamu.py -MW

on 0.22 I get:

Traceback (most recent call last):
  File "/usr/share/mythtv/mythvideo/scripts/jamu.py", line 6546, in <module>
    main()
  File "/usr/share/mythtv/mythvideo/scripts/jamu.py", line 6531, in main
    process.processMythTvMetaData()
  File "/usr/share/mythtv/mythvideo/scripts/jamu.py", line 5578, in processMythTvMetaData
    self._downloadScheduledRecordedGraphics()
  File "/usr/share/mythtv/mythvideo/scripts/jamu.py", line 5396, in _downloadScheduledRecordedGraphics
    results = self._getScheduledRecordedTVGraphics(program, key)
  File "/usr/share/mythtv/mythvideo/scripts/jamu.py", line 5240, in _getScheduledRecordedTVGraphics
    return self._getTvdbGraphics(cfile, graphics_type, toprated=True, watched=True)
  File "/usr/share/mythtv/mythvideo/scripts/jamu.py", line 3978, in _getTvdbGraphics
    value = self._downloadGraphics(typegetGraphics(graphic_type), mythtv=True)
  File "/usr/share/mythtv/mythvideo/scripts/jamu.py", line 2401, in _downloadGraphics
    if self._downloadURL(pairs[0], pairs[1]):
  File "/usr/share/mythtv/mythvideo/scripts/jamu.py", line 2234, in _downloadURL
    target_socket = open(OutputFileName, "wb")
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 27: ordinal not in range(128)

Looks like jamu is not being thorough with normalizing/validating input
data.  It would be nice at least if there were some error handling there
to tell me which of my files is causing the problem.

b.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20100114/1796468c/attachment.pgp>


More information about the mythtv-users mailing list