[Zope] Old ZPhotoAlbum ZClass hoses ZSQL methods

Tim Wilson wilson@visi.com
Mon, 20 May 2002 23:43:25 -0500


Hi everyone,

Clicking on the "Advanced" tab of a ZSQL method produces a traceback. It
appears to be triggered by an old installation of the pre-Ron Bickers
version of Photo. (That one used ZClasses, IIRC.) Any hints about how to
fix this?

Here's the traceback:

 Error Type: SystemError
Error Value: Failed to import class _ZClass_for_ZPhotoAlbum from module
Products.Photo

Traceback (innermost last):
  File /home/wilson/zope/2.5.1b1/lib/python/ZPublisher/Publish.py, line
150, in publish_module
  File /home/wilson/zope/2.5.1b1/lib/python/ZPublisher/Publish.py, line
114, in publish
  File /home/wilson/zope/2.5.1b1/lib/python/Zope/__init__.py, line 159,
in zpublisher_exception_hook
    (Object: qry_citylist)
  File /home/wilson/zope/2.5.1b1/lib/python/ZPublisher/Publish.py, line
98, in publish
  File /home/wilson/zope/2.5.1b1/lib/python/ZPublisher/mapply.py, line
88, in mapply
    (Object: manage_advancedForm)
  File /home/wilson/zope/2.5.1b1/lib/python/ZPublisher/Publish.py, line
39, in call_object
    (Object: manage_advancedForm)
  File
/home/wilson/zope/2.5.1b1/lib/python/Shared/DC/Scripts/Bindings.py, line
252, in __call__
    (Object: manage_advancedForm)
  File
/home/wilson/zope/2.5.1b1/lib/python/Shared/DC/Scripts/Bindings.py, line
283, in _bindAndExec
    (Object: manage_advancedForm)
  File /home/wilson/zope/2.5.1b1/lib/python/App/special_dtml.py, line
172, in _exec
    (Object: manage_advancedForm)
  File /home/wilson/zope/2.5.1b1/lib/python/Shared/DC/ZRDB/DA.py, line
476, in manage_product_zclass_info
    (Object: qry_citylist)
  File /home/wilson/zope/2.5.1b1/lib/python/ZODB/Connection.py, line
472, in setstate
SystemError: (see above)

-->

-Tim

-- 
Tim Wilson      |   Visit Sibley online:   | Check out:
Henry Sibley HS |  http://www.isd197.org   | http://www.zope.com
W. St. Paul, MN |                          | http://slashdot.org
wilson@visi.com |  <dtml-var pithy_quote>  | http://linux.com