Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!eweka.nl!hq-usenetpeers.eweka.nl!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.011 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; '16,': 0.03; 'argument': 0.05; 'skip:" 60': 0.07; '__init__': 0.09; 'subject:2.7': 0.09; 'python': 0.11; '2.7': 0.14; "'c'": 0.16; '306,': 0.16; 'flags,': 0.16; 'received:bosmailout05.eigbox.net': 0.16; 'subject:python': 0.16; 'thanks,': 0.17; 'trying': 0.19; 'header:User-Agent:1': 0.23; 'error': 0.23; 'header:In-Reply-To:1': 0.27; 'skip:& 60': 0.30; 'cgi': 0.31; 'received:10.20.15': 0.31; 'received:10.20.18': 0.31; 'received:10.20.55': 0.31; 'received:eigbox.net': 0.31; 'skip:& 70': 0.31; 'file': 0.32; 'this.': 0.32; 'open': 0.33; 'received:10.20': 0.33; 'skip:d 20': 0.34; 'received:66': 0.35; 'skip:- 50': 0.35; 'url:rec-html40': 0.35; 'skip:" 50': 0.36; 'version:': 0.36; 'charset:us-ascii': 0.36; 'url:org': 0.36; 'received:10': 0.37; 'server': 0.38; 'to:addr:python-list': 0.38; 'received:71': 0.39; 'to:addr:python.org': 0.39; 'skip:- 60': 0.39; 'caused': 0.69; 'below.': 0.71; 'url:dtd': 0.80; '2.5.': 0.84; 'protocol,': 0.84; 'url:strict': 0.95 X-Authority-Analysis: v=2.0 cv=bNyU0YCZ c=1 sm=1 a=mWnuQoR3MToGqVZ+dKzfdQ==:17 a=spKFjZujUncA:10 a=2Cs5qbXtQ68A:10 a=OmMKortqy18A:10 a=tTExfe6FAAAA:8 a=59ifEV3OhM9x5T505bEA:9 a=CjuIK1q_8ugA:10 a=SSmOFEACAAAA:8 a=kSyo8RhafVVP2p7y1ZkA:9 a=_W_S_7VecoQA:10 a=frz4AuCg-hUA:10 a=_Y3Fyctw02XvOpaN:21 a=AnsiuLKgxXFeB68GILQVjQ==:117 X-EN-OrigOutIP: 10.20.18.14 X-EN-IMPSID: cLqE1l00P0JCtq201LqESM From: inq1ltd To: python-list@python.org Subject: python 2.7 vs 2.5 Date: Wed, 15 May 2013 16:56:01 -0400 Organization: inqvista User-Agent: KMail/4.7.2 (Linux/2.6.37.6-24-desktop; KDE/4.7.2; i686; ; ) In-Reply-To: References: <5190b049$0$29978$c3e8da3$5496439d@news.astraweb.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="nextPart2226206.VSjrzqaBhx" Content-Transfer-Encoding: 7Bit X-EN-UserInfo: ea107384e720a598200e9790e8ca8002:9d89a6cbd5a73a41b134431a25286195 X-EN-AuthUser: inq1ltd@inqvista.com Sender: inq1ltd X-EN-OrigIP: 71.127.135.239 X-EN-OrigHost: pool-71-127-135-239.rcmdva.east.verizon.net X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 76 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1368653362 news.xs4all.nl 15960 [2001:888:2000:d::a6]:54214 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:45373 --nextPart2226206.VSjrzqaBhx Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 --nextPart2226206.VSjrzqaBhx Content-Transfer-Encoding: 7Bit Content-Type: text/html; charset="us-ascii"

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

 

 

 

 

--nextPart2226206.VSjrzqaBhx--