On Wed, 2010-07-14 at 10:12 -0400, Jim Fulton wrote:
> On Wed, Jul 14, 2010 at 10:04 AM, Guilherme Salgado
> <salg...@canonical.com> wrote:
> > Hi there,
> >
> > I've just tried running the tests on a freshly built zope.app.apidoc
> > tree and got the following error, while all tests pass fine when using
> > 3.9.5.
> >
> >        Error in test testMenu
> >        (zope.app.apidoc.zcmlmodule.tests.ZCMLModuleTests)
> >        Traceback (most recent call last):
> >          File "/usr/lib/python2.6/unittest.py", line 270, in run
> >            self.setUp()
> >          File
> >        
> > "/home/salgado/.buildout/eggs/zope.app.testing-3.7.5-py2.6.egg/zope/app/testing/functional.py",
> >  line 391, in setUp
> >            FunctionalTestSetup().setUp()
> >          File
> >        
> > "/home/salgado/.buildout/eggs/zope.app.testing-3.7.5-py2.6.egg/zope/app/testing/functional.py",
> >  line 288, in setUp
> >            for name in self._database_names
> >          File
> >        
> > "/home/salgado/.buildout/eggs/zope.app.appsetup-3.14.0-py2.6.egg/zope/app/appsetup/appsetup.py",
> >  line 213, in multi_database
> >            db = factory.open()
> >          File
> >        
> > "/home/salgado/.buildout/eggs/zope.app.testing-3.7.5-py2.6.egg/zope/app/testing/functional.py",
> >  line 160, in open
> >            return DB(self.storage, database_name=self.name)
> >          File
> >        
> > "/home/salgado/.buildout/eggs/ZODB3-3.10.0b2-py2.6-linux-x86_64.egg/ZODB/DB.py",
> >  line 454, in __init__
> >            temp_storage.load(z64, '')
> >          File
> >        
> > "/home/salgado/.buildout/eggs/ZODB3-3.10.0b2-py2.6-linux-x86_64.egg/ZODB/DemoStorage.py",
> >  line 158, in load
> >            return self.base.load(oid, version)
> >          File
> >        
> > "/home/salgado/.buildout/eggs/ZODB3-3.10.0b2-py2.6-linux-x86_64.egg/ZODB/DemoStorage.py",
> >  line 156, in load
> >            return self.changes.load(oid, version)
> >          File
> >        
> > "/home/salgado/.buildout/eggs/ZODB3-3.10.0b2-py2.6-linux-x86_64.egg/ZODB/utils.py",
> >  line 252, in __call__
> >            precondition.__doc__.strip())
> >        AssertionError: ('Failed precondition: ', 'The storage is open')
> >
> > I don't have time/knowledge to debug this further, but I thought I
> > should let you know anyway.
> 
> Could you at least provide instructions for reproducing it. Like:
> 
> - use this buildout
> - run this command

Sure; this is what I did after fetching zope.app.apidoc's trunk:

  $ virtualenv --no-site-packages foo
  $ foo/bin/python bootstrap.py
  $ ./bin/buildout
  $ ./bin/test

Please let me know if there's anything else that I can do to help.

Cheers,

-- 
Guilherme Salgado <https://launchpad.net/~salgado>

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to