Wednesday, November 5, 2008

AttributeError: 'module' object has no attribute 'Surrogate'

My Zope 2.9.9 instance wouldn't start, and failed with the message in the title. The hint in http://www.zope.org/Products/Zope/2.9.6/Zope-2_9_6-released/talkback/1172016438/discussionitem_view proved to be useful: after removing the zope 3 interface egg-info and the entire zope directory from /usr/lib/python2.4/site-packages, things are back to normal.

My guess is that this was installed after my upgrade to Ubuntu 8.10. For some reason, i had a package called python-zopeinterface installed.

No comments: