[pybsddb] Problem: Win32 Build...

Jesus Cea jcea at jcea.es
Fri Mar 26 05:09:51 CET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/25/2010 09:06 PM, hasanyasin wrote:
> Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit
> (Intel)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
>>>> from bsddb3 import db as dbm
>>>> db=dbm.DB()
>>>> db.open('foo',dbtype=dbm.DB_HASH,flags=dbm.DB_CREATE|dbm.DB_THREAD)
> At least one secondary cursor must be specified to DB->join
> Primary databases may not be configured with duplicates
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> bsddb3.db.DBInvalidArgError: (22, 'Invalid argument')

Are you sure that you are compiling and then linking against the SAME
berkeley DB lib?. Be sure not to compile and/or against bsddb included
in the standard Python distribution.

There are Oracle guys in the list, and also people that compiled pybsddb
for Windows successfully in the past. Anybody out there? :).

- -- 
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea at jabber.org         _/_/    _/_/          _/_/_/_/_/
.                              _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQCVAwUBS6wzjplgi5GaxT1NAQIjYAP9GKa1/L6K+zqW0C2L1oGvBk49uNwxfXm6
Pa/1PKwZTgfRTRhiGRi/dKHztEscmFuNe15JcO2hDSJFBLAGr+2ntUT9HUsD/D78
mbIt7syG8P1dtM1a/QbNeei8xYtjSojSZQQ0LVQDuOy1VprdBJUgGaj7Oiga6s+f
XYaWdQVGrCs=
=UJ2O
-----END PGP SIGNATURE-----



More information about the pybsddb mailing list