[Zope-dev] ghosts of removed products haunting ZSQL Methods?
John Ziniti
jziniti@speakeasy.org
Mon, 07 Jan 2002 17:15:01 -0500
I used to have the Product TrackerBase installed
and have removed it. Now, however, attempts to
access the "Advanced" tab of ZSQL Methods is
broken because a chain of events attempt to get
info about a the non-existent Product:
lib/python/Shared/DC/ZRDB/dtml/advanced.dtml calls
manage_product_zclass_info
../ZRDB/DA.py.manage_product_zclass_info (line 546)
calls self.aq_acquire('_getProductRegistryData')('zclasses')
One of these items is the dict:
"{'id': 'Tracker', 'meta_type': 'Tracker',
'product': 'Tracker', 'meta_class': <ZClass instance at d55af0>}
Then, line 548 calls "if hasattr(z._zclass_,'_p_deactivate')".
The attempt to access z._zclass_ fails because this
product doesn't exist.
1) the call to z._zclass_ doesn't actuallt do anything
except: ## Eek, persistent
2) Is this schizophrenic state my fault?
3) How to rectify the problem (Make *all* of Zope
know that TrackerBase is gone)?
Thanks in advance, traceback follows,
Ziniti
Error Type: ImportError
Error Value: No module named TrackerBase
Troubleshooting Suggestions
* The URL may be incorrect.
* The parameters passed to this resource may be incorrect.
* A resource that this resource relies on may be encountering an err=
or.
For more detailed information about the error, please refer to the HTML=20
source for this page.
If the error persists please contact the site maintainer. Thank you for=20
your patience.
User is Last modified 2002/01/07 16:37:34.6452 GMT+0
=A9 Copyright 2000 Channing Lab Questions or comments about this site? Al=
l=20
Rights Reserved.
Traceback (innermost last):
File /u05/ilocal/opt/Zope-2.4.0-src/lib/python/ZPublisher/Publish.py,=20
line 223, in publish_module
File /u05/ilocal/opt/Zope-2.4.0-src/lib/python/ZPublisher/Publish.py,=20
line 187, in publish
File /u05/ilocal/opt/Zope-2.4.0-src/lib/python/Zope/__init__.py, line=20
226, in zpublisher_exception_hook
(Object: new_sql_2)
File /u05/ilocal/opt/Zope-2.4.0-src/lib/python/ZPublisher/Publish.py,=20
line 171, in publish
File /u05/ilocal/opt/Zope-2.4.0-src/lib/python/ZPublisher/mapply.py,=20
line 160, in mapply
(Object: manage_advancedForm)
File /u05/ilocal/opt/Zope-2.4.0-src/lib/python/ZPublisher/Publish.py,=20
line 112, in call_object
(Object: manage_advancedForm)
File=20
/u05/ilocal/opt/Zope-2.4.0-src/lib/python/Shared/DC/Scripts/Bindings.py,=20
line 324, in __call__
(Object: manage_advancedForm)
File=20
/u05/ilocal/opt/Zope-2.4.0-src/lib/python/Shared/DC/Scripts/Bindings.py,=20
line 354, in _bindAndExec
(Object: manage_advancedForm)
File /u05/ilocal/opt/Zope-2.4.0-src/lib/python/App/special_dtml.py,=20
line 241, in _exec
(Object: manage_advancedForm)
File /ilocal/opt/Zope-2.4.0-src/lib/python/Shared/DC/ZRDB/DA.py, line=20
549, in manage_product_zclass_info
(Object: new_sql_2)
File /u05/ilocal/opt/Zope-2.4.0-src/lib/python/ZODB/Connection.py,=20
line 544, in setstate
ImportError: (see above)