Tuesday, September 2, 2008

archgenxml + i18ndude + Plone 2.5: AttributeError: 'GlobalAdapterRegistry' object has no attribute '_null'

A small addition to the last post, intended for use with Plone 2.5:

When i run archgenxml on a Plone 2.5 project (i set PYTHONPATH to my Zope 2.9.9's lib/python),
i got this error: AttributeError: 'GlobalAdapterRegistry' object has no attribute '_null'
(see http://paste.plone.org/23497)

I am running archgenxml + i18ndude from a virtualenv, to prevent corrupting my Zope libraries
with i18ndude's eggs. Before easy_installing i18ndude, it worked fine. For Zope 2.10.6, it still
works fine.

Removing from my virtualenv the extra eggs that i18ndude pulled in (zope.testing-3.6.0-py2.4.egg,
zope.interface-3.4.1-py2.4-linux-x86_64.egg, zope.tal-3.5.0-py2.4.egg) made it work.

(googling yields http://zope3.pov.lt/irclogs/%23zope3-dev.2006-09-22.log.html, not sure if it's
related)

No comments: