[Setup] Application Could not import Products.Ploneboard

lumtegis . lumtegis at gmail.com
Fri Apr 26 17:14:30 UTC 2013


Hi,
After running bin/buildout on a Plone 4.0.6 install, i get the error below
when attempting to start plone in debug mode

$ bin/instance fg
2013-04-26 16:43:21 INFO ZServer HTTP server started at Fri Apr 26 16:43:21
2013
Hostname: 0.0.0.0
Port: 8080
2013-04-26 16:43:26 ERROR Application Could not import Products.Ploneboard
Traceback (most recent call last):
  File
"/home/tux/v_tuxPlone4/cip.buildout/eggs/Zope2-2.12.10-py2.6-linux-i686.egg/OFS/Application.py",
line 596, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File
"/home/tux/v_tuxPlone4/cip.buildout/eggs/Products.Ploneboard-3.3-py2.6.egg/Products/Ploneboard/__init__.py",
line 3, in <module>
    from Products.Ploneboard.PloneboardTool import PloneboardTool
  File
"/home/tux/v_tuxPlone4/cip.buildout/eggs/Products.Ploneboard-3.3-py2.6.egg/Products/Ploneboard/PloneboardTool.py",
line 2, in <module>
    from AccessControl.class_init import InitializeClass
ImportError: No module named class_init
Traceback (most recent call last):
  File
"/home/tux/v_tuxPlone4/cip.buildout/eggs/Zope2-2.12.10-py2.6-linux-i686.egg/Zope2/Startup/run.py",
line 56, in <module>
    run()
  File
"/home/tux/v_tuxPlone4/cip.buildout/eggs/Zope2-2.12.10-py2.6-linux-i686.egg/Zope2/Startup/run.py",
line 21, in run
    starter.prepare()
  File
"/home/tux/v_tuxPlone4/cip.buildout/eggs/Zope2-2.12.10-py2.6-linux-i686.egg/Zope2/Startup/__init__.py",
line 87, in prepare
    self.startZope()
  File
"/home/tux/v_tuxPlone4/cip.buildout/eggs/Zope2-2.12.10-py2.6-linux-i686.egg/Zope2/Startup/__init__.py",
line 264, in startZope
    Zope2.startup()
  File
"/home/tux/v_tuxPlone4/cip.buildout/eggs/Zope2-2.12.10-py2.6-linux-i686.egg/Zope2/__init__.py",
line 47, in startup
    _startup()
  File
"/home/tux/v_tuxPlone4/cip.buildout/eggs/Zope2-2.12.10-py2.6-linux-i686.egg/Zope2/App/startup.py",
line 57, in startup
    OFS.Application.import_products()
  File
"/home/tux/v_tuxPlone4/cip.buildout/eggs/Zope2-2.12.10-py2.6-linux-i686.egg/OFS/Application.py",
line 573, in import_products
    import_product(product_dir, product_name, raise_exc=debug_mode)
  File
"/home/tux/v_tuxPlone4/cip.buildout/eggs/Zope2-2.12.10-py2.6-linux-i686.egg/OFS/Application.py",
line 596, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File
"/home/tux/v_tuxPlone4/cip.buildout/eggs/Products.Ploneboard-3.3-py2.6.egg/Products/Ploneboard/__init__.py",
line 3, in <module>
    from Products.Ploneboard.PloneboardTool import PloneboardTool
  File
"/home/tux/v_tuxPlone4/cip.buildout/eggs/Products.Ploneboard-3.3-py2.6.egg/Products/Ploneboard/PloneboardTool.py",
line 2, in <module>
    from AccessControl.class_init import InitializeClass
ImportError: No module named class_init

The configuration for the Products.Ploneboard package is as below

setuptools
Products.CMFPlone
Products.SimpleAttachment
plone.app.controlpanel
plone.app.portlets
plone.portlets
plone.memoize
plone.i18n
python-dateutil<2.0dev

Have you encountered such an issue before ?

Thanks,
Allan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-setup/attachments/20130426/2f3a75c9/attachment.html>


More information about the Setup mailing list