I try to convert images to photos (Photo product). Uploaded them via FTP
I found this on the zope site of the photo product:
      
       <dtml-in "objectItems('Image')">
         <dtml-with sequence-item>
           <dtml-call "PARENTS[0].manage_delObjects([id(),], REQUEST)">
           <dtml-call "PARENTS[0].manage_addProduct['Photo'].manage_addPhoto(PARENTS[0], id(), data, title, REQUEST)">
         </dtml-with>
       </dtml-in>
       Image to Photo Conversion Complete!
But i always get the error:

Zope Error

Zope has encountered an error while publishing this resource.

Error Type: KeyError
Error Value: __cmp__


Troubleshooting Suggestions

For more detailed information about the error, please refer to the HTML source for this page.

If the error persists please contact the site maintainer. Thank you for your patience.

What could be wrong?

Any suggestions?

Thank you

Jens