Garito wrote:
Hi!
I try to use Photo Folder 1.3.1 on a Zope 2.9.6 but when I try to upload
a photo Zope raise's this error:
Traceback (innermost last):
Module ZPublisher.Publish, line 115, in publish
Module
ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 41, in call_object
Module Products.Photo.Photo, line 754, in manage_addPhoto
Module OFS.ObjectManager, line 333, in _setObject
Module
zope.event, line 23, in notify
Module zope.app.event.dispatching, line 66, in dispatch
Module zope.component, line 181, in subscribers
Module zope.component.site, line 89, in subscribers
Module zope.interface.adapter
, line 481, in subscribers
Module zope.app.event.objectevent, line 192, in objectEventNotify
Module zope.component, line 181, in subscribers
Module zope.component.site, line 89, in subscribers
Module zope.interface.adapter
, line 481, in subscribers
Module OFS.subscribers, line 114, in dispatchObjectMovedEvent
Module OFS.subscribers, line 137, in callManageAfterAdd
Module Products.Photo.Photo, line 697, in manage_afterAdd
Module Products.Photo.Photo, line 375, in imagecomment
AttributeError: _get_filename
Any one could help me, please?
Check your versions against the supported ones, specifically Zope. It
looks to me like the Photo class stores a PhotoImage in its '_original'
attributes, and the PhotoImage is supposed to inherit the
'_get_filename' method from the base Zope Image object.
It may be that this changed between versions, though I don't see it in
any of my versions of Zope. And I have a lot.
You may have to contact the author/maintainer to see how this is
supposed to work. Perhaps it is simply a bug.
--jcc
--
Connexions
http://cnx.org
"Building Websites with Plone"
http://plonebook.packtpub.com
_______________________________________________
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )