llcolombo wrote: > > After some investogation my feeling is that the file version.txt in the > zope2/lib/python/Zope2 directory is not generated by the install. > I had the old file in the previous install, that's why I got the wrong > version when upgrading. When I run a fresh install I got it "unreleased". > > There was an old bug, can it be a regression? > http://bugs.launchpad.net/zope2/+bug/143803 > > Lucia >
I don't know whether it's a regression but <https://bugs.launchpad.net/zope2/+bug/143803/comments/5> is remarkably similar. Well spotted! In my case, omnium:zeocluster centrimadmin$ ls -l /Applications/Plone/Zope-2.10.7-final-py2.4/lib/python/Zope2 total 40 drwxr-xr-x 8 root wheel 272 Feb 15 2009 App -rw-r--r-- 1 root wheel 750 Oct 22 2008 ClassFactory.py -rw-r--r-- 1 root wheel 287 Feb 15 2009 ClassFactory.pyc drwxr-xr-x 21 root wheel 714 Feb 15 2009 Startup -rw-r--r-- 1 root wheel 3041 Oct 22 2008 __init__.py -rw-r--r-- 1 root wheel 1657 Feb 15 2009 __init__.pyc -rw-r--r-- 1 root wheel 17 Oct 25 2008 version.txt omnium:zeocluster centrimadmin$ clear omnium:zeocluster centrimadmin$ ls -l /Applications/Plone/Zope-2.10.11-final-py2.4/lib/python/Zope2 total 32 drwxr-xr-x 8 root wheel 272 Jan 21 09:03 App -rw-r--r-- 1 root wheel 750 Nov 18 2005 ClassFactory.py -rw-r--r-- 1 root wheel 288 Jan 21 09:03 ClassFactory.pyc drwxr-xr-x 21 root wheel 714 Jan 21 09:03 Startup -rw-r--r-- 1 root wheel 3041 Nov 18 2005 __init__.py -rw-r--r-- 1 root wheel 1658 Jan 21 09:03 __init__.pyc omnium:zeocluster centrimadmin$ clear omnium:zeocluster centrimadmin$ cat /Applications/Plone/Zope-2.10.7-final-py2.4/lib/python/Zope2/version.txt Zope 2.10.7-finalomnium:zeocluster centrimadmin$ clear omnium:zeocluster centrimadmin$ sudo nano /Applications/Plone/Zope-2.10.11-final-py2.4/lib/python/Zope2/version.txt Password: omnium:zeocluster centrimadmin$ cat /Applications/Plone/Zope-2.10.11-final-py2.4/lib/python/Zope2/version.txt Zope 2.10.11-final omnium:zeocluster centrimadmin$ However: creating that version.txt file has not worked around the problem for me. I also tried reverting to 2.10.17 but another error recurred. ImportError: No module named Mount <http://www.zope.org/Products/Zope/2.10.11/CHANGES.txt> shows restructuring in 2.10.9 so next I'll try: [zope2] recipe = plone.recipe.zope2install # <http://n2.nabble.com/-tp4433852p4435019.html> # url = http://www.zope.org/Products/Zope/2.10.7/Zope-2.10.7-final.tgz url = http://www.zope.org/Products/Zope/2.10.9/Zope-2.10.9-final.tgz # url = ${versions:zope2-url} fake-zope-eggs = true # <http://n2.nabble.com/-tp1462235p1509921.html> additional-fake-eggs = ZConfig ZODB3 pytz skip-fake-eggs = ---- <http://n2.nabble.com/-tp1462235p4432611.html> reminds me that earlier today I edited an outdated line in my buildout .cfg and <http://pastebin.ca/1760656> suggests that the first appearance in a ZEO client event.log was this morning, 2010-01-21T09:11:01 For the record, here's a list of my recently modified eggs: omnium:zeocluster centrimadmin$ ls -lt ../buildout-cache/eggs/ total 0 drwxr-xr-x 4 root wheel 136 Jan 21 14:58 zope.component-3.8.0-py2.4.egg drwxr-xr-x 4 root wheel 136 Jan 21 14:45 collective.uploadify-0.9-py2.4.egg drwxr-xr-x 4 root wheel 136 Jan 21 01:03 collective.js.showmore-1.0a3-py2.4.egg drwxr-xr-x 4 root wheel 136 Jan 21 00:58 hachoir_parser-1.3-py2.4.egg drwxr-xr-x 4 root wheel 136 Jan 21 00:58 hachoir_metadata-1.3-py2.4.egg drwxr-xr-x 4 root wheel 136 Jan 21 00:58 hachoir_core-1.3.1-py2.4.egg drwxr-xr-x 4 root wheel 136 Jan 21 00:58 plone.reload-1.3-py2.4.egg drwxr-xr-x 4 root wheel 136 Jan 21 00:57 plone.recipe.varnish-1.0.2-py2.4.egg drwxr-xr-x 4 root wheel 136 Jan 21 00:57 py-1.2.0-py2.4.egg drwxr-xr-x 16 root wheel 544 Jan 21 00:34 PILwoTk-1.1.6.4-py2.4-macosx-10.3-ppc.egg … -- 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-tp4433852p4436393.html Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com. _______________________________________________ Setup mailing list [email protected] http://lists.plone.org/mailman/listinfo/setup
