[Zope] Photo and ZPhotoAlbum

Rafael Amer amer@ruth.upc.es
Thu, 11 Oct 2001 10:34:04 +0200


I have upgraded Python 1.52 and Zope 2.2.2 to  Python 2.1 and  Zope
The Product Photo-0.4.3 and ZPhotoAlbum worked fine with python 1.52 and
zope 2.2.2, but now the ZPhotoAlbum ojects appears broken:

       This object is broken because the unknown product that created it
       no longer installed or is installed incorrectly. Please contact
the product
       maintainer for assistance.

Also, when I trie to add a ZPhotoAlbum in a folder, I get the following

Zope has encountered an error while publishing this resource.

           Error Type: TypeError
           Error Value: Catalog addIndex now requires the index type
           to be resolved prior to adding; create the proper index in
           the caller.

and the error at the end of the message.

Does anybody know if the Photo-0.4.3 works with Zope 2.4.1 or how I can
fix the problem?

I have seen that Photo-0.4.3 is no longer maintained and that there is a
new Photo-0.9.2
product. It is possible to upgrade to Photo-0.9.2 with existing photos
and zphotoalbums installed
with Photo-0.4.3?


Traceback (innermost last):
  File /ma2/zope/lib/python/ZPublisher/Publish.py, line 223, in
  File /ma2/zope/lib/python/ZPublisher/Publish.py, line 187, in publish
  File /ma2/zope/lib/python/Zope/__init__.py, line 226, in
    (Object: RoleManager)
  File /ma2/zope/lib/python/ZPublisher/Publish.py, line 171, in publish
  File /ma2/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: ZPhotoAlbum_add)
  File /ma2/zope/lib/python/ZPublisher/Publish.py, line 112, in
    (Object: ZPhotoAlbum_add)
  File /ma2/zope/lib/python/OFS/DTMLMethod.py, line 194, in __call__
    (Object: ZPhotoAlbum_add)
  File /ma2/zope/lib/python/DocumentTemplate/DT_String.py, line 546, in
    (Object: ZPhotoAlbum_add)
  File /ma2/zope/lib/python/DocumentTemplate/DT_With.py, line 133, in
    (Object: ZPhotoAlbum.createInObjectManager(REQUEST['id'], REQUEST))
  File /ma2/zope/lib/python/DocumentTemplate/DT_Util.py, line 231, in
    (Object: ZPhotoAlbum.createInObjectManager(REQUEST['id'], REQUEST))
    (Info: REQUEST)
  File <string>, line 2, in f
    (Object: guarded_getitem)
  File /ma2/zope/lib/python/ZClasses/ZClass.py, line 522, in
    (Object: LockableItem)
  File /ma2/zope/lib/python/ZPublisher/mapply.py, line 161, in mapply
    (Object: ZPhotoAlbum)
  File /ma2/zope/lib/python/Products/Photo/Photo.py, line 595, in
    (Object: LockableItem)
  File /ma2/zope/lib/python/Products/ZCatalog/Catalog.py, line 348, in
TypeError: (see above)