Thread: PRS-600 prs-600 notes to printing
View Single Post
Old 11-13-2009, 10:31 AM   #31
rvdparis
Connoisseur
rvdparis doesn't litterrvdparis doesn't litter
 
Posts: 53
Karma: 140
Join Date: Apr 2009
Device: Kindle Touch + iPad 1 + iPhone 4
I tried your script on OSX (10.6.2) and I get an error; could you help me out?

python annot.py /READER
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
from sets import ImmutableSet
Traceback (most recent call last):
File "annot.py", line 295, in <module>
p = Prs600Markup(topdir)
File "annot.py", line 252, in __init__
"/database/cache/cacheExt.xml")
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/dom/minidom.py", line 1918, in parse
return expatbuilder.parse(file)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/dom/expatbuilder.py", line 922, in parse
fp = open(file, 'rb')
IOError: [Errno 2] No such file or directory: '/READER/database/cache/cacheExt.xml'

Although that directory and file DOES exist.
Thanks!
R
rvdparis is offline   Reply With Quote