You are not logged in Log in Join
You are here: Home » Download Zope Products » Zope » Zope » 2.5 Updrade Workaround

Log in
Name

Password

 

2.5 Updrade Workaround

ZOPE 2.5.0B4 UPGRADE PROBLEM

Zope 2.5 betas 1 through 3 included a non-persistent object which was used as a before traversal hook to connect session data. Beta 4 made this object a separate persistent object. This breaks the upgrade process because of incompatibilities in the object database

WORKAROUND

  1. Stop Zope. You probably already did this, since Zope wont start with the incompatibility
  2. Edit lib/python/Products/Sessions/SessionDataManager.py and change line 237 to read "class SessionDataManagerTraverser:" rather than "class SessionDataManagerTraverser(Persistent):"
  3. Restart Zope
  4. From the Zope Management Interface, delete the session_data_manager object
  5. Stop Zope
  6. Edit lib/python/Products/Sessions/SessionDataManager.py and change line 237 to read "class SessionDataManagerTraverser(Persistent):" instead of "class SessionDataManager:"
  7. Restart Zope

ZEO WARNING

When using ZEO, all clients connected to the storage must be using the same version of Zope when attempting this fix, or incompatibilities will result.