[Zope-CMF] Test setup problems with Zope 2.13

Charlie Clark charlie.clark at clark-consulting.eu
Sun Jul 11 13:31:57 EDT 2010


Am 11.07.2010, 13:54 Uhr, schrieb Hanno Schlichting <hanno at hannosch.eu>:

> Hi.
> Maybe you have noticed from my commits today, but we have some test
> setup problems in Zope 2.13. I tried to solve those, but failed so
> far. Unfortunately we don't have nightly test runs for any CMF + Zope
> 2.13 combination for a while, so I'm not sure when all the problems
> started.

Hi Hanno,

I don't think I can be much help on the testing side as I don't understand  
the CMFCore internals that well myself. However, as things stand it's not  
just the tests that are broken:

2010-07-11 19:23:38 ERROR Application Couldn't install BTreeFolder2
Traceback (most recent call last):
   File  
"/Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/src/Zope2/src/OFS/Application.py",  
line 691, in install_product
     initmethod(context)
   File  
"/Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/src/Zope2/src/Products/BTreeFolder2/__init__.py",  
line 26, in initialize
   File  
"/Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/src/Zope2/src/App/ProductContext.py",  
line 224, in registerClass
     icon = ImageFile(icon, self.__pack.__dict__)
   File  
"/Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/src/Zope2/src/App/ImageFile.py",  
line 77, in __init__
     stat_info = os.stat(path)
OSError: [Errno 2] No such file or directory:  
'/Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/src/Zope2/src/Products/BTreeFolder2/btreefolder2.gif'
Traceback (most recent call last):
   File "/Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/bin/runzope",  
line 92, in <module>
     Zope2.Startup.run.run()
   File  
"/Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/src/Zope2/src/Zope2/Startup/run.py",  
line 21, in run
     starter.prepare()
   File  
"/Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/src/Zope2/src/Zope2/Startup/__init__.py",  
line 86, in prepare
     self.startZope()
   File  
"/Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/src/Zope2/src/Zope2/Startup/__init__.py",  
line 259, in startZope
     Zope2.startup()
   File  
"/Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/src/Zope2/src/Zope2/__init__.py",  
line 47, in startup
     _startup()
   File  
"/Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/src/Zope2/src/Zope2/App/startup.py",  
line 125, in startup
     OFS.Application.initialize(application)
   File  
"/Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/src/Zope2/src/OFS/Application.py",  
line 253, in initialize
     initializer.initialize()
   File  
"/Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/src/Zope2/src/OFS/Application.py",  
line 279, in initialize
     self.install_products()
   File  
"/Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/src/Zope2/src/OFS/Application.py",  
line 506, in install_products
     return install_products(app)
   File  
"/Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/src/Zope2/src/OFS/Application.py",  
line 537, in install_products
     folder_permissions, raise_exc=debug_mode)
   File  
"/Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/src/Zope2/src/OFS/Application.py",  
line 691, in install_product
     initmethod(context)
   File  
"/Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/src/Zope2/src/Products/BTreeFolder2/__init__.py",  
line 26, in initialize

   File  
"/Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/src/Zope2/src/App/ProductContext.py",  
line 224, in registerClass
     icon = ImageFile(icon, self.__pack.__dict__)
   File  
"/Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/src/Zope2/src/App/ImageFile.py",  
line 77, in __init__
     stat_info = os.stat(path)
OSError: [Errno 2] No such file or directory:  
'/Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/src/Zope2/src/Products/BTreeFolder2/btreefolder2.gif'

I see from the updates that Products/BTreeFolder2 has been deleted /  
factored out. The question is - where's it gone to? Or what bits of my  
buildout do I need to reinstall?

Charlie
-- 
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226


More information about the Zope-CMF mailing list