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
|