View Single Post
Old 10-05-2007, 02:04 AM   #266
digiman
Junior Member
digiman began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2007
Device: SONY PRS-500
Hi everyone,

I installed libprs500 for Feisty as described at
https://libprs500.kovidgoyal.net/wiki
I just copied and pasted the the whole thing to my terminal window

I get an exception when I try to add a book

restoreState
Detailed traceback:
Traceback (most recent call last):
File "build/bdist.linux-i686/egg/libprs500/gui2/main.py", line 261, in add_books
File "build/bdist.linux-i686/egg/libprs500/gui2/__init__.py", line 275, in choose_files
File "build/bdist.linux-i686/egg/libprs500/gui2/__init__.py", line 208, in __init__
AttributeError: restoreState

when I click on the library, I get the following

argument 0 of signal QListView.location_selected(PyQt_PyObject) has an invalid type
Detailed traceback:
Traceback (most recent call last):
File "build/bdist.linux-i686/egg/libprs500/gui2/widgets.py", line 81, in current_changed
TypeError: argument 0 of signal QListView.location_selected(PyQt_PyObject) has an invalid type

My python install is as follows

cat /usr/lib/python2.5/site-packages/easy-install.pth
import sys; sys.__plen = len(sys.path)
./TTFQuery-1.0.0-py2.5.egg
./libprs500-0.4.7-py2.5.egg
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p]=new; sys.__egginsert = p+len(new)

Am I missing some library or something? I am not a python programmer, so I have no idea how to debug. I am also a recent convert to Linux and my knowledge is still pretty green. Thanks in advance.
digiman is offline   Reply With Quote