#11 — Upgrade and installation fail under Plone 2.5.3 and Windows Server 2003
| State | Resolved |
|---|---|
| Version: | 1.2 |
| Area | Functionality |
| Issue type | Bug |
| Severity | Medium |
| Submitted by | Aleksandr Vladimirskiy |
| Submitted on | Sep 6, 2007 |
| Responsible | Wichert Akkerman |
| Target release: | 1.2 |
Last modified on
May 31, 2008
I attempted to upgrade from 1.1 to 1.2 and got Attribute Error runAllImportStepsFromProfile. I uninstalled and tried to install and got the same error. I commented out the following lines in Extensions/Install.py:
# if getFSVersionTuple()>=3:
# tool.runAllImportStepsFromProfile(
# "profile-Products.Reflecto:default",
# purge_old=False)
# else:
and installation was successful. It appears that getFSVersionTuple() doesn't return the expected value under Plone 2.5.3. In fact it returns (2, 5, 3, 'final', 0) which for some reason does evaluate as >= 3!
Hope you find this useful. Thank you for a great product.
# if getFSVersionTuple()>=3:
# tool.runAllImportStepsFromProfile(
# "profile-Products.Reflecto:default",
# purge_old=False)
# else:
and installation was successful. It appears that getFSVersionTuple() doesn't return the expected value under Plone 2.5.3. In fact it returns (2, 5, 3, 'final', 0) which for some reason does evaluate as >= 3!
Hope you find this useful. Thank you for a great product.
Added by
(anonymous)
on
September 6, 2007 - 23:45
I'll confirm that this also happens with Plone 2.5.3, Five 1.4.2, and Reflecto 1.2 on Fedora 7 Linux. Reflecto 1.1 works fine.
Added by
Nuno Maltez
on
September 12, 2007 - 13:54
I confirm that Attribute "Error runAllImportStepsFromProfile" occurs when installing Reflecto 1.2 on Plone 2.5.3 (unified installer) + Five 1.4.2 (Fedora Core 4)
Added by
Martijn Pieters
on
September 12, 2007 - 14:11
Issue state:
unconfirmed → open
Responsible manager:
(UNASSIGNED) → wichert
This is because the code attempts to test for Plone 3.0 or up, but the test is flawed. Could you try the following:
# if getFSVersionTuple()[:3] >= (3, 0, 0):
and let us know if that solves your issue?
# if getFSVersionTuple()[:3] >= (3, 0, 0):
and let us know if that solves your issue?
Added by
Wichert Akkerman
on
September 12, 2007 - 14:17
Issue state:
open → resolved
Target release:
None → 1.2
Fixed in changeset 49047
Added by
Nuno Maltez
on
September 14, 2007 - 01:50
Well, I checked out your changes from the SVN and it solved the problem for me. Thanks.
Added by
(anonymous)
on
January 16, 2008 - 16:11
same problem with Reflecto1.2 but not work for me
Plone 2.5.5, Zope 2.9.8-final, python 2.4.4, Five 1.4.2, Python 2.4.4, Debian 4.1.1-21
Plone 2.5.5, Zope 2.9.8-final, python 2.4.4, Five 1.4.2, Python 2.4.4, Debian 4.1.1-21
Added by
(anonymous)
on
May 31, 2008 - 13:17
I have a fresh install of Plone 2.5.5 with Zope 2.9.8-final, python 2.4.4 and cannot install Reflecto 1.2
Traceback is here
Traceback (most recent call last):
File "/opt/Plone-2.5.5/zeocluster/client1/Products/CMFQuickInstallerTool/QuickInstallerTool.py", line 333, in installProduct
res=install(portal)
File "/opt/Plone-2.5.5/lib/python/Products/ExternalMethod/ExternalMethod.py", line 225, in __call__
try: return f(*args, **kw)
File "/opt/Plone-2.5.5/zeocluster/client1/Products/Reflecto/Extensions/Install.py", line 13, in install
tool.runAllImportStepsFromProfile(
AttributeError: runAllImportStepsFromProfile
How can I fix this?
Traceback is here
Traceback (most recent call last):
File "/opt/Plone-2.5.5/zeocluster/client1/Products/CMFQuickInstallerTool/QuickInstallerTool.py", line 333, in installProduct
res=install(portal)
File "/opt/Plone-2.5.5/lib/python/Products/ExternalMethod/ExternalMethod.py", line 225, in __call__
try: return f(*args, **kw)
File "/opt/Plone-2.5.5/zeocluster/client1/Products/Reflecto/Extensions/Install.py", line 13, in install
tool.runAllImportStepsFromProfile(
AttributeError: runAllImportStepsFromProfile
How can I fix this?