[Setup] unreleased or undetectable version of Zope — can't view ZMI — AttributeError: 'module' object has no attribute 'VersionBase'
Graham Perrin
G.J.Perrin at bton.ac.uk
Thu Jan 21 14:21:12 UTC 2010
Following changes to my buildout .cfg file, and buildout commands, I can't
view ZMI.
At /plone_control_panel for one of the sites I see:
* Plone 3.3.4
* CMF 2.1.2
* Zope (unreleased version, python 2.4.5, darwin)
* Python 2.4.5 (#1, Feb 15 2009, 12:20:54) [GCC 4.0.1 (Apple Inc. build
5488)]
* PIL 1.1.6
Running client2 (of the ZEO cluster) in foreground, I see:
2010-01-21 13:40:12 INFO Plone Dependency
Unable to detect Zope version. Please make sure you have Zope 2.10.4 or
newer installed.
http://omnium.freeman-centre.ac.uk:5556/manage_main
Traceback (innermost last):
Module ZPublisher.Publish, line 119, in publish
Module ZPublisher.mapply, line 88, in mapply
Module Products.PDBDebugMode.runcall, line 70, in pdb_runcall
Module ZPublisher.Publish, line 42, in call_object
Module Shared.DC.Scripts.Bindings, line 313, in __call__
Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
Module App.special_dtml, line 178, in _exec
Module Shared.DC.Scripts.Bindings, line 327, in __render_with_namespace__
Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
Module App.special_dtml, line 178, in _exec
Module DocumentTemplate.DT_With, line 76, in render
Module App.PersistentExtra, line 57, in locked_in_version
AttributeError: 'module' object has no attribute 'VersionBase'
> /Applications/Plone/Zope-2.10.11-final-py2.4/lib/python/App/PersistentExtra.py(57)locked_in_version()
-> return (oid
(Pdb) a
self = <Application at >
(Pdb) c
How might I have ended up with an unreleased, or undetectable version of
Zope?
Is something horribly wrong with the [zope2] section of my .cfg?
[zope2]
recipe = plone.recipe.zope2install
url = ${versions:zope2-url}
fake-zope-eggs = true
# <http://n2.nabble.com/-tp1462235p1509921.html>
additional-fake-eggs =
ZConfig
ZODB3
pytz
skip-fake-eggs =
zope.testing
zope.component
zope.i18n
At the root of my installation I find two versions of Zope:
omnium:zeocluster centrimadmin$ ls -l ..
total 0
drwxr-xr-x 6 root admin 204 Feb 15 2009 Python-2.4
drwxr-xr-x 16 root wheel 544 Jan 21 09:03 Zope-2.10.11-final-py2.4
drwxr-xr-x 17 root wheel 578 Feb 15 2009 Zope-2.10.7-final-py2.4
drwxr-xr-x 4 root wheel 136 Dec 15 2008 buildout-cache
drwxr-xr-x 17 root admin 578 Jan 21 00:38 zeocluster
Comparable errors reported by Dale DeWitt in September
<http://n2.nabble.com/-tp3677065p3677065.html> and November 2009
<http://n2.nabble.com/-tp4044570p4044570.html>. Dale and I both use
plone.app.blob with Plone 3.3.x.
TIA for any advice
Graham
--
View this message in context: http://n2.nabble.com/unreleased-or-undetectable-version-of-Zope-can-t-view-ZMI-AttributeError-module-object-has-no-attrib-tp4433852p4433852.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.
More information about the Setup
mailing list