This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author doko
Recipients Arfrever, doko, jcea
Date 2010-03-14.22:27:15
SpamBayes Score 8.16925e-07
Marked as misclassified No
Message-id <1268605639.29.0.227307021537.issue6949@psf.upfronthosting.co.za>
In-reply-to
Content
with this patch the following test cases fail. the tests need backports as well. with this patch there's still one test failure, which I do see with db4.7 as well.

will wait for test results on different platforms and then submit to the trunk. the setup.py change should go to the py3k branch as well.

======================================================================
ERROR: test02_DBEnv_dealloc (bsddb.test.test_basics.CrashAndBurn)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/packages/python/2.6/python2.6-2.6.5~rc2/Lib/bsddb/test/test_basics.py", line 1038, in test02_DBEnv_dealloc
    self.assertRaises(db.DBInvalidArgError, db.DBEnv, ~db.DB_RPCCLIENT)
AttributeError: 'module' object has no attribute 'DB_RPCCLIENT'

======================================================================
ERROR: test01_distributed_transactions (bsddb.test.test_distributed_transactions.DBTxn_distributed)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/packages/python/2.6/python2.6-2.6.5~rc2/Lib/bsddb/test/test_distributed_transactions.py", line 53, in setUp
    return self._create_env(must_open_db=True)
  File "/home/packages/python/2.6/python2.6-2.6.5~rc2/Lib/bsddb/test/test_distributed_transactions.py", line 38, in _create_env
    self.db.set_re_len(db.DB_XIDDATASIZE)
AttributeError: 'module' object has no attribute 'DB_XIDDATASIZE'

======================================================================
ERROR: test01_distributed_transactions (bsddb.test.test_distributed_transactions.DBTxn_distributedSYNC)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/packages/python/2.6/python2.6-2.6.5~rc2/Lib/bsddb/test/test_distributed_transactions.py", line 53, in setUp
    return self._create_env(must_open_db=True)
  File "/home/packages/python/2.6/python2.6-2.6.5~rc2/Lib/bsddb/test/test_distributed_transactions.py", line 38, in _create_env
    self.db.set_re_len(db.DB_XIDDATASIZE)
AttributeError: 'module' object has no attribute 'DB_XIDDATASIZE'
======================================================================
ERROR: test01_distributed_transactions (bsddb.test.test_distributed_transactions.DBTxn_distributed_must_open_db)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/packages/python/2.6/python2.6-2.6.5~rc2/Lib/bsddb/test/test_distributed_transactions.py", line 53, in setUp
    return self._create_env(must_open_db=True)
  File "/home/packages/python/2.6/python2.6-2.6.5~rc2/Lib/bsddb/test/test_distributed_transactions.py", line 38, in _create_env
    self.db.set_re_len(db.DB_XIDDATASIZE)
AttributeError: 'module' object has no attribute 'DB_XIDDATASIZE'

======================================================================
ERROR: test01_distributed_transactions (bsddb.test.test_distributed_transactions.DBTxn_distributedSYNC_must_open_db)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/packages/python/2.6/python2.6-2.6.5~rc2/Lib/bsddb/test/test_distributed_transactions.py", line 53, in setUp
    return self._create_env(must_open_db=True)
  File "/home/packages/python/2.6/python2.6-2.6.5~rc2/Lib/bsddb/test/test_distributed_transactions.py", line 38, in _create_env
    self.db.set_re_len(db.DB_XIDDATASIZE)
AttributeError: 'module' object has no attribute 'DB_XIDDATASIZE'
History
Date User Action Args
2010-03-14 22:27:19dokosetrecipients: + doko, jcea, Arfrever
2010-03-14 22:27:19dokosetmessageid: <1268605639.29.0.227307021537.issue6949@psf.upfronthosting.co.za>
2010-03-14 22:27:17dokolinkissue6949 messages
2010-03-14 22:27:16dokocreate