dbhash on win and on cygwin not compatible ?

Rony rony.steelandt at bucodi.com
Wed May 14 13:32:15 EDT 2003


ActivePython 2.2.2 Build 224 (ActiveState Corp.) based on
Is there a difference between the two that causes my problem ?
Same python version for both

Python 2.2.2 (#37, Nov 26 2002, 10:24:37) [MSC 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import dbhash
>>> dbhash.open('reception.db')
<bsddb.bsddb object at 0x0087BE08>
>>>


Python 2.2.2 (#1, Mar  9 2003, 08:18:26)
[GCC 3.2 20020927 (prerelease)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import dbhash
>>> dbhash.open('reception.db')
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.2/dbhash.py", line 16, in open
    return bsddb.hashopen(file, flag, mode)
bsddb.error: (22, 'Invalid argument')
>>>

Thanks for an hints to solve this problem.

Rony Steelandt
www.bucodi.com




More information about the Python-list mailing list