Active Topics

 


Reply
Thread Tools
Posts: 38 | Thanked: 1 time | Joined on Aug 2007
#1
When trying to run the Daily Pluck with my linux laptop, there are no problems. But when I try running it on the 770 it fetches the news and after that comes this:

Code:
Traceback (most recent call last):
  File "PyPlucker/Spider.py", line 39, in <module>
    from PyPlucker import Parser, ConfigFiles, __version__
  File "PyPlucker/Parser.py", line 12, in <module>
    from PyPlucker import TextParser, ImageParser, PluckerDocs, ConversionParser
  File "PyPlucker/TextParser.py", line 65, in <module>
    from PyPlucker import PluckerDocs
  File "PyPlucker/PluckerDocs.py", line 86, in <module>
    from PyPlucker.helper import doc_compress
  File "PyPlucker/helper/doc_compress.py", line 23
SyntaxError: Non-ASCII character '\xfc' in file PyPlucker/helper/doc_compress.py on line 23, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
What's the problem then?
 
Posts: 38 | Thanked: 1 time | Joined on Aug 2007
#2
Ok I found somebody else who has the problem, since there seems to be a problem with the umlauts (ä,ü,ö)... This is fixing the error!!

When using plucker-build, I get error:
...
SyntaxError: Non-ASCII character '\xfc' in file /usr/lib/python2.5/site-packages/PyPlucker/helper/doc_compress.py on line 23, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

It's because ü (umlaut) character, so please insert

# -*- coding: latin1 -*-

line to the beginning of

helper/doc_compress.py
helper/prc.py

Last edited by buchinho; 2007-08-09 at 12:07.
 
Posts: 1 | Thanked: 0 times | Joined on Aug 2007
#3
same problem for me when I installed plucker from binary (plucker-1.8-1.rpm).
But OK if I install it from source
rpmbuild --rebuild plucker-1.8-1.src.rpm
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:24.