[ZODB-Dev] SVN: ZODB/trunk/ Note split of persistent.

Hanno Schlichting hanno at hannosch.eu
Mon Aug 27 12:26:25 UTC 2012


On Mon, Aug 27, 2012 at 8:57 AM, Adam GROSZER <agroszer.ll at gmail.com> wrote:
> Now we have some problems making the binary eggs.
> See the attached txt for the full output.

I think I fixed that on SVN trunk.

Looks like on Windows  the compiler complains about mismatches between
module names and the init functions inside the extension. On Mac OS I
only got runtime errors:

python -c "from persistent import _timestamp"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: dynamic module does not define init function (init_timestamp)

But I do get a test failure in the new maxint test under Python 2.7 on
a 64bit Python (sys.maxint == 2**63-1):

bin/test -t test_assign_p_estimated_size_bigger_than_sys_maxint
Running zope.testrunner.layer.UnitTests tests:
  Set up zope.testrunner.layer.UnitTests in 0.000 seconds.
Traceback (most recent call last):
  File "bin/test-ztk-persistent", line 24, in <module>
    '--test-path', '/opt/zope/ztk/trunk/src/persistent',
  File "/opt/eggs/zope.testrunner-4.0.4-py2.7.egg/zope/testrunner/__init__.py",
line 30, in run
    failed = run_internal(defaults, args, script_parts=script_parts)
  File "/opt/eggs/zope.testrunner-4.0.4-py2.7.egg/zope/testrunner/__init__.py",
line 43, in run_internal
    runner.run()
  File "/opt/eggs/zope.testrunner-4.0.4-py2.7.egg/zope/testrunner/runner.py",
line 148, in run
    self.run_tests()
  File "/opt/eggs/zope.testrunner-4.0.4-py2.7.egg/zope/testrunner/runner.py",
line 229, in run_tests
    setup_layers, self.failures, self.errors)
  File "/opt/eggs/zope.testrunner-4.0.4-py2.7.egg/zope/testrunner/runner.py",
line 390, in run_layer
    return run_tests(options, tests, layer_name, failures, errors)
  File "/opt/eggs/zope.testrunner-4.0.4-py2.7.egg/zope/testrunner/runner.py",
line 306, in run_tests
    result.addSuccess(test)
  File "/opt/eggs/zope.testrunner-4.0.4-py2.7.egg/zope/testrunner/runner.py",
line 738, in addSuccess
    t = max(time.time() - self._start_time, 0.0)
OverflowError: long too big to convert

The error is obviously raised in the wrong place. Not sure what C code
causes this.

Hanno


More information about the ZODB-Dev mailing list