On May 4, 2009, at 3:09 PM, Andreas Jung wrote: > On 04.05.09 21:03, Jim Fulton wrote: >> I've just released the first beta of ZODB 3.9. >> >> http://pypi.python.org/pypi/ZODB3/3.9.0b1 >> >> 3.9 features are now frozen. I'd prefer to keep new features off of >> the trunk for a while to reduce the amount of merging work I have to >> do. :) >> >> Please try this out and report bugs found. > > Getting this under Zope 2.12.0/trunk + Python 2.6: > > Error in test testWrite > (Products.ZODBMountPoint.tests.testMountPoint.MountingTests) > Traceback (most recent call last): > File "/opt/python-2.6.1/lib/python2.6/unittest.py", line 270, in run > self.setUp() > File > "/Users/ajung/sandboxes/Zope/trunk/src/Products/ZODBMountPoint/tests/ > testMountPoint.py", > line 99, in setUp > db = conf.getDatabase('/') > File > "/Users/ajung/sandboxes/Zope/trunk/src/Zope2/Startup/datatypes.py", > line > 287, in getDatabase > db = factory.open(name, self.databases) > File > "/Users/ajung/sandboxes/Zope/trunk/src/Zope2/Startup/datatypes.py", > line > 185, in open > DB = self.createDB(database_name, databases) > File > "/Users/ajung/sandboxes/Zope/trunk/src/Zope2/Startup/datatypes.py", > line > 182, in createDB > return ZODBDatabase.open(self, databases) > File > "/Users/ajung/.buildout/eggs/ZODB3-3.9.0b1-py2.6-macosx-10.3- > i386.egg/ZODB/config.py", > line 112, in open > _option('allow_implicit_cross_references', 'xrefs') > File > "/Users/ajung/.buildout/eggs/ZODB3-3.9.0b1-py2.6-macosx-10.3- > i386.egg/ZODB/config.py", > line 105, in _option > v = getattr(section, name) > AttributeError: TestDBConfig instance has no attribute > 'allow_implicit_cross_references'
This is a Zope 2 issue. The ZConfig schema for ZODB has changed. The Zope 2 TestDBConfig class needs to be updated. Jim -- Jim Fulton Zope Corporation _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev