No Module named ZamlBase (editing ZSQL)
I have a Zope site .. its' been upgraded over the years from 2.2 (perhaps older) and now is at 2.6.0 When I try to view the "advanced" tab of ZSQL objects, I get the following exception. I have no idea what Zamlbase is .. Perhaps a product I had tried ages ago. In any case, even if I create new ZSQL objects I still get the same exception trying to view the advanced tab. Any ideas how I can fix this? I recall a hack at some point .. something in Zclass, I can't remember. 2002-12-12T15:18:37 ERROR(200) ZODB Couldn't load state for '\x00\x00\x00\x00\x00\x00\x1e\x19' Traceback (innermost last): Module ZODB.Connection, line 533, in setstate ImportError: No module named ZamlBase ------ 2002-12-12T15:18:37 ERROR(200) SiteError http://strader.murkworks.com:7180/Strader/P/xSQLPackage/manage_advancedForm Traceback (innermost last): Module ZPublisher.Publish, line 98, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 39, in call_object Module Shared.DC.Scripts.Bindings, line 252, in __call__ Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec Module App.special_dtml, line 174, in _exec Module Shared.DC.ZRDB.DA, line 476, in manage_product_zclass_info Module ZODB.Connection, line 533, in setstate ImportError: No module named ZamlBase Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements
Brad Clements writes:
I have a Zope site .. its' been upgraded over the years from 2.2 (perhaps older) and now is at 2.6.0
When I try to view the "advanced" tab of ZSQL objects, I get the following exception.
I have no idea what Zamlbase is ... Module Shared.DC.ZRDB.DA, line 476, in manage_product_zclass_info Module ZODB.Connection, line 533, in setstate ImportError: No module named ZamlBase Your "ProductRegistry" contains a stale reference to "ZamlBase".
A workaround will be to catch the "ImportError" exception in "Shared.DC.ZRDB.DA:476", analyse the context leading to the exception and clean up the product registry. Dieter
participants (2)
-
Brad Clements -
Dieter Maurer