[pybsddb] Problem: Win32 Build...

hasanyasin hasanyasin at cubicpen.com
Fri Mar 26 17:02:52 CET 2010


Hi,
I couldn't manage it with mingw. Oracle herself uses MS Virtual Studio 
so I used it too and this time everything seems working.

.................................................................................................................................................................................... 

C:\Python26\Lib\site-packages\bsddb3\tests>\Python26\python.exe 
test_basics.py
.................................................................................................................................................................................... 

----------------------------------------------------------------------
Ran 257 tests in 71.313s

OK

I had some of the other tests with success but with test_all.py, python 
crashes and windows xp shows the failing module as winnt.dll. I don't 
know the problem yet; but I will try every other test one by one to see 
where it is exactly.

Currently I have sent the file to Jesus to share this file with 
developers wanting to test it.

I will try working with mingw and continue providing information about 
the progress.

Thanks,
hasanyasin


On 26.03.2010 06:09, Jesus Cea wrote:
> -----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-----
> _______________________________________________
> pybsddb mailing list
> pybsddb at jcea.es
> https://mailman.jcea.es:28443/listinfo/pybsddb
> http://www.jcea.es/programacion/pybsddb.htm
>    



More information about the pybsddb mailing list