[Setup] Plone Hotfix CVE-2011-0720: "ImportError: No module named CMFPlone"
Martin Aspeli
optilude+lists at gmail.com
Wed Feb 9 08:07:12 UTC 2011
On 9 February 2011 04:41, Karl Johan Kleist <kleist at postkiosk.de> wrote:
>
> Hi all,
>
> After having applied PloneHotfix20110720-1.1.tar.gz on a Plone site using
> Zope 2.10.11, I get this traceback:
> /home/zope/buildouts/zope-instances/60001/zinstance/parts/instance/bin/runzope
> -X debug-mode=on
> 2011-02-09 04:47:30 INFO ZServer HTTP server started at Wed Feb 9 04:47:30
> 2011
> Hostname: 0.0.0.0
> Port: 60001
> 2011-02-09 04:47:30 ERROR Application Could not import
> Products.PloneHotfix20110720
> Traceback (most recent call last):
> File
> "/home/zope/buildouts/zope-instances/60001/Zope-2.10.11-final-py2.4/lib/python/OFS/Application.py",
> line 709, in import_product
> product=__import__(pname, global_dict, global_dict, silly)
> File
> "/home/zope/buildouts/zope-instances/60001/buildout-cache/eggs/Products.PloneHotfix20110720-1.1-py2.4.egg/Products/PloneHotfix20110720/__init__.py",
> line 2, in ?
> import Products.CMFPlone
> ImportError: No module named CMFPlone
> Traceback (most recent call last):
> File
> "/home/zope/buildouts/zope-instances/60001/Zope-2.10.11-final-py2.4/lib/python/Zope2/Startup/run.py",
> line 56, in ?
> run()
> File
> "/home/zope/buildouts/zope-instances/60001/Zope-2.10.11-final-py2.4/lib/python/Zope2/Startup/run.py",
> line 21, in run
> starter.prepare()
> File
> "/home/zope/buildouts/zope-instances/60001/Zope-2.10.11-final-py2.4/lib/python/Zope2/Startup/__init__.py",
> line 102, in prepare
> self.startZope()
> File
> "/home/zope/buildouts/zope-instances/60001/Zope-2.10.11-final-py2.4/lib/python/Zope2/Startup/__init__.py",
> line 278, in startZope
> Zope2.startup()
> File
> "/home/zope/buildouts/zope-instances/60001/Zope-2.10.11-final-py2.4/lib/python/Zope2/__init__.py",
> line 47, in startup
> _startup()
> File
> "/home/zope/buildouts/zope-instances/60001/Zope-2.10.11-final-py2.4/lib/python/Zope2/App/startup.py",
> line 45, in startup
> OFS.Application.import_products()
> File
> "/home/zope/buildouts/zope-instances/60001/Zope-2.10.11-final-py2.4/lib/python/OFS/Application.py",
> line 686, in import_products
> import_product(product_dir, product_name, raise_exc=debug_mode)
> File
> "/home/zope/buildouts/zope-instances/60001/Zope-2.10.11-final-py2.4/lib/python/OFS/Application.py",
> line 709, in import_product
> product=__import__(pname, global_dict, global_dict, silly)
> File
> "/home/zope/buildouts/zope-instances/60001/buildout-cache/eggs/Products.PloneHotfix20110720-1.1-py2.4.egg/Products/PloneHotfix20110720/__init__.py",
> line 2, in ?
> import Products.CMFPlone
> ImportError: No module named CMFPlone
>
> With later Plones, using later Zopes, I have no problem.
Something seems to be messed up with your build. A permission issue
over some of Products/ directory perhaps? It can't import
Products.CMFPlone, which means it isn't seeing Plone.
Martin
More information about the Setup
mailing list