impossible to remove S&D from a Zope instance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Singing & Dancing |
New
|
Undecided
|
Unassigned |
Bug Description
Trying to remove S&D from a Plone instance does not work, and causes severe damage to a Plone 4.x site:
1. Add S&D to your buildout, run buildout, add S&D to a Plone site (eg. via the PMI).
2. Deinstall S&D from the PMI, or from the ZMI using the portal_
3. Remove S&D from the buildout and run buildout again.
4. Fire up the instance to see error messages like this (I'm not sure that this is exhaustive, but have only seen this error message in my latest attempt):
2010-11-27 17:39:34 ERROR Zope.SiteErrorLog 1290875974.
Traceback (innermost last):
Module ZPublisher.Publish, line 116, in publish
Module ZPublisher.
Module ZPublisher.
Module Products.
Module zope.event, line 23, in notify
Module zope.component.
Module zope.component.
Module zope.component.
Module zope.interface.
Module zope.component.
Module zope.component.
Module zope.component.
Module zope.interface.
Module plone.browserla
Module zope.component.
Module zope.component.
Module ZODB.Connection, line 838, in setstate
Module ZODB.Connection, line 906, in _setstate
Module ZODB.serialize, line 629, in setGhostState
Module ZODB.serialize, line 622, in getState
Module copy_reg, line 48, in _reconstructor
TypeError: ('object.
2010-11-27 17:39:34 ERROR ZODB.Connection Couldn't load state for 0x02e1
Traceback (most recent call last):
File "/home/
self.
File "/home/
self.
File "/home/
state = self.getState(
File "/home/
return unpickler.load()
File "/home/
obj = object.__new__(cls)
TypeError: ('object.
In effect, this prevents me from accessing the Plone site ("Site Error"), and it even prevents me from removing the Plone site via the ZMI.
I tried with Plone 4.0.1 and 4.0.2, and with S&D 0.9.0 and 0.9.2. Because of the impact of this problem, I'd say that the bug deserved a state of "important" or higher (don't know what's available exactly with LP).
Hi, i just ran into the same problem and found a quick'n'dirty workaround for this:
1. add "collective. dancing" and "wildcard. fixpersistentut ilities" to your buildout eggs your/plone/ @@fix-persisten t-utilities" in your browser
2. run buildout and start instance
3. go to "http://
4. remove everything with "ISalt" interfaces via the small dash at the end of the line
5. remove both eggs, re-run buildout and start your instance
your instance now runs properly without s&d
please note, that with "wildcard. fixpersistentut ilities" you can really screw up your instance. read more on http:// blog.fourdigits .nl/removing- a-persistent- local-utility- part-ii and http:// pypi.python. org/pypi/ wildcard. fixpersistentut ilities
good luck