python 2.7 vs 2.5
inq1ltd
inq1ltd at inqvista.com
Wed May 15 16:56:01 EDT 2013
My web server is using python 2.5.
My cgi file is trying to open a shelve.
I xxx out some of the path below.
I am trying to find out if this
error is caused because I am using python 2.7 to write
the cgi file and my web server is using python 2.5.
I would appreciate a confirmation of this.
line 85, in FentriesFilled dbase = shelve.open( vpath, 'c' ) File
"/usr/local/lib/python-2.5/lib/python2.5/shelve.py", line 225, in open return
DbfilenameShelf(filename, flag, protocol, writeback) File
"/usr/local/lib/python-2.5/lib/python2.5/shelve.py",
line 209, in __init__ Shelf.__init__(self, anydbm.open(filename, flag),
protocol, writeback) File "/usr/local/lib/python-2.5/lib/python2.5/anydbm.py",
line 83, in open return mod.open(file, flag, mode)
File "/usr/local/lib/python-2.5/lib/python2.5/dbhash.py", line 16, in open
return bsddb.hashopen(file, flag, mode)
File "/usr/local/lib/python-2.5/lib/python2.5/bsddb/__init__.py", line 306, in
hashopen d.open(file, db.DB_HASH, flags, mode) bsddb.db.DBInvalidArgError:
(22, 'Invalid argument --/home/users/web/xxxxx/yyy.inqvista/public_html/xxxx-
ssss/email: unsupported hash version: 9')
thanks,
jd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130515/1b9d1468/attachment.html>
More information about the Python-list
mailing list