Comment
Comment
python-2.4.4 vs zope-2.9.6: no attribute 'Surrogate'
Posted by: wien1900 at 2007-02-20Last night I updated python on my system from 2.4.3 to 2.4.4 and it broke my zope-2.9.4 running plone. I figured it was something I did so upgraded to zope-2.9.6, creaded a zope instance, ran it, and it bombed with the same error:
File "/usr/local/Zope/Zope-2.9.6/lib/python/zope/app/component/site.py", line 35, in ?
from zope.app.component import adapter
File "/usr/local/Zope/Zope-2.9.6/lib/python/zope/app/component/adapter.py", line 28, in ?
class LocalSurrogate(zope.interface.adapter.Surrogate):
AttributeError: module
object has no attribute Surrogate
Comment
1186060609
Posted by: x at 2007-08-02On my system the above error was caused by Zope 3.3 interface module installed in my python24 site-packages directory, which was apparently being loaded before the version bundled with zope29. Removing the zope 3.3 interface "egg" (which i think some other egg may have installed on me) solved the zope29 problem.... not sure what else it broke yet.