[Zope] Photo clashing with ZSQL method

Timothy Wilson wilson@visi.com
Thu, 8 Nov 2001 23:03:43 -0600 (CST)


Hi everyone,

Here's an odd error:

I'm working with the ZPsycopgDA, a PosgreSQL database and a couple ZSQL
methods. When I click on the "Advanced" tab inside my ZSQL methods I get the
following:

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

With the traceback:

<!--
Traceback (innermost last):
  File /home/wilson/zope/2.3.3/lib/python/ZPublisher/Publish.py, line 223,
in publish_module
  File /home/wilson/zope/2.3.3/lib/python/ZPublisher/Publish.py, line 187,
in publish
  File /home/wilson/zope/2.3.3/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
    (Object: dwelling_info)
  File /home/wilson/zope/2.3.3/lib/python/ZPublisher/Publish.py, line 171,
in publish
  File /home/wilson/zope/2.3.3/lib/python/ZPublisher/mapply.py, line 160, in
mapply
    (Object: manage_advancedForm)
  File /home/wilson/zope/2.3.3/lib/python/ZPublisher/Publish.py, line 112,
in call_object
    (Object: manage_advancedForm)
  File /home/wilson/zope/2.3.3/lib/python/Shared/DC/Scripts/Bindings.py,
line 324, in __call__
    (Object: manage_advancedForm)
  File /home/wilson/zope/2.3.3/lib/python/Shared/DC/Scripts/Bindings.py,
line 354, in _bindAndExec
    (Object: manage_advancedForm)
  File /home/wilson/zope/2.3.3/lib/python/App/special_dtml.py, line 236, in
_exec
    (Object: manage_advancedForm)
  File /home/wilson/zope/2.3.3/lib/python/Shared/DC/ZRDB/DA.py, line 544, in
manage_product_zclass_info
    (Object: dwelling_info)
  File /home/wilson/zope/2.3.3/lib/python/ZODB/Connection.py, line 533, in
setstate
SystemError: (see above)

-->

Odd. Anyone have any thoughts on this?

-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