[Setup] Error while adding images with captions

Hernã Saldanha hgsaldanha at gmail.com
Mon May 6 17:58:20 UTC 2013


Friends,


   - Plone 4.1.5 (4114)


   - CMF 2.2.6


   - Zope 2.13.13


   - Python 2.6.8 (unknown, Jun 29 2012, 16:19:52) [GCC 4.1.2 20070115
   (SUSE Linux)]


   - PIL unknown


using TinyMCE Editor, select the caption box and saving the document, I get:

Traceback (innermost last):
  Module ZPublisher.Publish, line 126, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 46, in call_object
  Module Products.CMFFormController.FSControllerPageTemplate, line 91,
in __call__
  Module Products.CMFFormController.BaseControllerPageTemplate, line
28, in _call
  Module Products.CMFFormController.ControllerBase, line 231, in getNext
  Module Products.CMFFormController.Actions.TraverseTo, line 38, in __call__
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 46, in call_object
  Module Products.CMFFormController.FSControllerPythonScript, line
107, in __call__
  Module Products.CMFFormController.ControllerBase, line 231, in getNext
  Module Products.CMFFormController.Actions.TraverseTo, line 38, in __call__
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 46, in call_object
  Module Products.CMFFormController.FSControllerPythonScript, line
105, in __call__
  Module Products.CMFFormController.Script, line 145, in __call__
  Module Products.CMFCore.FSPythonScript, line 127, in __call__
  Module Shared.DC.Scripts.Bindings, line 322, in __call__
  Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 1, in content_edit
   - <FSControllerPythonScript at /internet2013/content_edit used for
/internet2013/teste>
   - Line 1
  Module Products.CMFCore.FSPythonScript, line 127, in __call__
  Module Shared.DC.Scripts.Bindings, line 322, in __call__
  Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 13, in content_edit_impl
   - <FSPythonScript at /internet2013/content_edit_impl used for
/internet2013/teste>
   - Line 13
  Module Products.Archetypes.BaseObject, line 668, in processForm
  Module zope.event, line 31, in notify
  Module zope.component.event, line 24, in dispatch
  Module zope.component._api, line 136, in subscribers
  Module zope.component.registry, line 321, in subscribers
  Module zope.interface.adapter, line 585, in subscribers
  Module zope.component.event, line 32, in objectEventNotify
  Module zope.component._api, line 136, in subscribers
  Module zope.component.registry, line 321, in subscribers
  Module zope.interface.adapter, line 585, in subscribers
  Module plone.app.linkintegrity.handlers, line 118, in modifiedArchetype
  Module Products.Archetypes.ClassGen, line 56, in generatedAccessor
  Module wicked.fieldevent, line 29, in render
  Module zope.event, line 31, in notify
  Module zope.component.event, line 24, in dispatch
  Module zope.component._api, line 136, in subscribers
  Module zope.component.registry, line 321, in subscribers
  Module zope.interface.adapter, line 585, in subscribers
  Module wicked.fieldevent, line 16, in notifyFieldEvent
  Module zope.component._api, line 107, in getMultiAdapter
  Module zope.component._api, line 120, in queryMultiAdapter
  Module zope.component.registry, line 238, in queryMultiAdapter
  Module zope.interface.adapter, line 532, in queryMultiAdapter
  Module wicked.fieldevent.meta, line 78, in field_value
  Module Products.Archetypes.Field, line 1407, in get
  Module Products.Archetypes.BaseUnit, line 103, in transform
  Module Products.PortalTransforms.TransformEngine, line 173, in convertTo
  Module Products.PortalTransforms.chain, line 54, in convert
  Module Products.PortalTransforms.Transform, line 198, in convert
  Module plone.outputfilters.transforms.html_to_plone_outputfilters_html,
line 47, in convert
  Module plone.outputfilters, line 6, in apply_filters
  Module plone.outputfilters.filters.resolveuid_and_caption, line 101,
in __call__
  Module sgmllib, line 104, in feed
  Module sgmllib, line 138, in goahead
  Module sgmllib, line 296, in parse_starttag
  Module sgmllib, line 338, in finish_starttag
  Module plone.outputfilters.filters.resolveuid_and_caption, line 330,
in unknown_starttag
  Module plone.outputfilters.filters.resolveuid_and_caption, line 252,
in handle_captioned_image
  Module plone.app.imaging.scaling, line 201, in getImageSize
AttributeError: getSize


Suggestions?

Hernã G. Saldanha

“Mostre-me um absurdo: na Bahia há precedentes."
- Dr .Otávio Mangabeira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-setup/attachments/20130506/39aea35c/attachment.html>


More information about the Setup mailing list