[Zope] Photo clashing with ZSQL method

Dieter Maurer dieter@handshake.de
Fri, 9 Nov 2001 21:41:42 +0100


Timothy Wilson writes:
 > 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:
 > ....
 > _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?
Looks as if you had a custom class for your ZSQL method
which was build from a ZClass.

I would install ZPhotoAlbum and see whether the problem disappears.


Dieter