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



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to