I have the same type of error described here when starting listen: http://bugs.gentoo.org/show_bug.cgi?id=179078 but it is supposed to be fixed as of 0.5-r1. I tried to use the attached "patch that takes account of utf-8 encoding" but I got: * Failed Patch: listen-python2.5.diff! Reproducible: Always Steps to Reproduce: 1. listen 2. 3. Actual Results: fails to start with Non-ASCII error Expected Results: started listen
(In reply to comment #0) > I have the same type of error described here when starting listen: > > http://bugs.gentoo.org/show_bug.cgi?id=179078 > > but it is supposed to be fixed as of 0.5-r1. I tried to use the attached > "patch that takes account of utf-8 encoding" but I got: > > * Failed Patch: listen-python2.5.diff! > > Reproducible: Always > > Steps to Reproduce: > 1. listen > 2. > 3. > > Actual Results: > fails to start with Non-ASCII error > > Expected Results: > started listen > I got it as well: listen & -produces- (listen.py:4184): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstjpeg2k.so': /usr/lib/gstreamer-0.10/libgstjpeg2k.so: undefined symbol: GST_UNLOCK Traceback (most recent call last): File "/usr/lib/listen/listen.py", line 66, in <module> import utils, const, stock, config File "/usr/lib/listen/utils.py", line 33, in <module> import stock File "/usr/lib/listen/stock.py", line 78, in <module> import const File "/usr/lib/listen/const.py", line 116 SyntaxError: Non-ASCII character '\xc3' in file /usr/lib/listen/const.py on line 117, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details I manually fixed it in the .py scripts by adding: # coding: utf8 as a second line in the files there ya go, enjoy! G.
Confirmed. The Patch is not applied and patching manually solve the problem. Shoud the ebuild be revised?
(In reply to comment #2) > Confirmed. The Patch is not applied and patching manually solve the problem. > Shoud the ebuild be revised? please revise, cannot get patch to apply
Thank you! manually adding coding: utf-8 to the source files solved it here too.
fixed in cvs Test it please. Thanks