[mythtvnz] Debugging epgsnoop problem.

Steve Hodge stevehodge at gmail.com
Mon Aug 11 23:59:38 BST 2008


On Tue, Aug 12, 2008 at 9:15 AM, Robin Gilks <g8ecj at gilks.org> wrote:

> Me and epgsnoop - we do have problems!!
>
> The latest one may be related to updating to python-2.5. epgsnoop (after a
> re-install just in case!!) errors as follows:
>
> Traceback (most recent call last):
>  File "/usr/local/bin/epgsnoop", line 167, in <module>
>    print output(channels, programs)
> UnicodeEncodeError: 'ascii' codec can't encode characters in position
> 302228-302268: ordinal not in range(128)
>

I was having the same issue. I fixed it by changing the 4th to last line in
outputter.py to:

return '\n'.join(output).decode('iso-8859-1',replace)

and removing the

... .decode('latin-1)

statements from the name and description sections in snooper.py.


Cheers,
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ourshack.com/pipermail/mythtvnz/attachments/20080812/7a181c0d/attachment.htm 


More information about the mythtvnz mailing list