Pygets-0.6.1.2 does not seem to work properly. When I
click
File -> Open and select gutenberg.xml (or any other
file of course) a little box comes up that says 'please
wait' or something to that effect and nothing happens,
not even if I let it run for several hours. If I run
pygets from the command line
(in Linux), I get this error output on the commandline
once I perform the aforementioned series of actions:
Traceback (most recent call last):
File
"/usr/lib/python2.3/site-packages/PyGE/pygets_gui.py",
line 523, in menu_file_open
self.open_locator_file(self.inFileName)
File
"/usr/lib/python2.3/site-packages/PyGE/pygets_gui.py",
line 450, in open_locator_file
etextData = ReadTitles(fileName).parsed
File
"/usr/lib/python2.3/site-packages/PyGE/TitlesInXML.py",
line 173, in __init__
if infile:
UnboundLocalError: local variable 'infile' referenced
before assignment
Anybody know what this is about? I'd really like to be
able to conveniently access the PG e-texts without
having to navigate through Project Gutenberg manually.
If you can't reproduce this, and need more data, post
here and I'll check back.
Logged In: YES
user_id=557137
Hi
i had the same problem.
It's because wxwindows (wxgtk,..) is compiled with unicode
support and pyge doesn't check if it gets unicode strings
instead of normal strings mostly.
I'm currently working on a unicode patch (pygets works fine
with just 1 line added and 1 line changed).
or maybe the devs are already working on it.