21 Mar
2002
21 Mar
'02
3:09 p.m.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Joachim Schmitz
I have a bunch of images in the ZODB, which I want to convert to Photos in the Photo product.
Error Type: AttributeError Error Value: read
There is a problem with Photo 1.2.3 that breaks what you're doing. Apply the following changes to fix it: In Photo.py, manage_addPhoto(), replace the following line: photo._data = file.read() with this: try: photo._data = file.read() except AttributeError: photo._data = file _______________________ Ron Bickers Logic Etc, Inc.