TinyMCE resolve UID problem
Espen Moe-Nilssen <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <[email protected]> |
Hi
Since it took me some time to figure out what had happened, I am sending this email in case it could be of any use for someone someday….
————
Earlier today, some of the pages were giving errors like this (see below)
As I had just upgraded TinyMCE I was pretty sure that it had something to do with that, but
It turned out that someone had deleted an Image Scale (in the Imaging Control Panel)…
————————————
Luckily, I had a snapshot of the image scales in portal_setup ( propertiestool.xml ) (thank you MatthewWilkes)
Espen
———————————
Anonymous User ()
Be om URL
http://www.bergenmaritime.no/front-page/document_view
Unntakstype
AttributeError
Unntaksverdi
'NoneType' object has no attribute 'absolute_url' - Expression: "provider:plone.belowcontenttitle" - Filename: main_template - Location: (132:56) - Expression: "python: view.render_slide(slide)" - Filename: ... tive.easyslider/collective/easyslider/browser/viewlet.pt - Location: (8:51) - Source: ... ntent="structure python: view.render_slide(slide)" /> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Arguments: default: <object - at 0xb75ed7f8L> repeat: {...} (0) uid: 004dcbee-837b-4878-8b7f-f6f892644c6e views: <ViewMapper - at 0x1558264c> modules: <instance - at 0x9ac686c> args: <tuple - at 0xb75ce02cL> here: <ImplicitAcquisitionWrapper front-page at 0x15d522d4> slides: <list - at 0x13b4ad8c> user: <ImplicitAcquisitionWrapper - at 0x15d527fc> nothing: <NoneType - at 0x818e5c0> template: <ViewPageTemplateFile - at 0x13cadfcc> container: <ImplicitAcquisitionWrapper front-page at 0x15d522d4> navtype: navigation-bullets request: <instance - at 0x14eb340c> wrapped_repeat: <SafeMapping - at 0x159ca70c> traverse_subpath: <list - at 0x15aba9cc> slide: <p><img class="image-left" src="resolveuid/8b068c2... loop: {...} (1) context: <ImplicitAcquisitionWrapper front-page at 0x15d522d4> view: <SimpleViewletClass from /home/espen/instance8081/zeocluster/src/collective.easyslider/collective/easyslider/browser/viewlet.pt collective.easyslider at 0x1558286c> translate: <function translate at 0x15ee3ae4> root: <ImplicitAcquisitionWrapper Zope at 0x15da05cc> options: {...} (0) target_language: <NoneType - at 0x818e5c0>
Traceback (innermost last):
Module ZPublisher.Publish, line 60, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 46, in call_object
Module Shared.DC.Scripts.Bindings, line 322, in __call__
Module Products.PloneHotfix20130618.spamProtect, line 35, in _patched_bindAndExec
Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
Module Products.CMFCore.FSPageTemplate, line 237, in _exec
Module Products.CMFCore.FSPageTemplate, line 177, in pt_render
Module Products.PageTemplates.PageTemplate, line 79, in pt_render
Module zope.pagetemplate.pagetemplate, line 132, in pt_render
Module five.pt.engine, line 93, in __call__
Module z3c.pt.pagetemplate, line 149, in render
Module chameleon.zpt.template, line 257, in render
Module chameleon.template, line 172, in render
Module 3a1504e72f508de49e57878b6ff7b309f37d1dd0.py, line 183, in render
Module 07077678f8fa65d307bd4b1aeca5896dba5dec47.py, line 1620, in render_master
Module 07077678f8fa65d307bd4b1aeca5896dba5dec47.py, line 282, in render_content
Module 07077678f8fa65d307bd4b1aeca5896dba5dec47.py, line 511, in render_main
Module z3c.pt.expressions, line 61, in render_content_provider
Module plone.app.viewletmanager.manager, line 155, in render
Module plone.app.viewletmanager.manager, line 86, in render
Module plone.app.layout.viewlets.common, line 50, in render
Module Products.Five.browser.pagetemplatefile, line 125, in __call__
Module Products.Five.browser.pagetemplatefile, line 59, in __call__
Module zope.pagetemplate.pagetemplate, line 132, in pt_render
Module five.pt.engine, line 93, in __call__
Module z3c.pt.pagetemplate, line 149, in render
Module chameleon.zpt.template, line 257, in render
Module chameleon.template, line 190, in render
Module chameleon.template, line 172, in render
Module e66a51b70f3fce9c723ca82dd0b1fdbd1a3cf7d8.py, line 241, in render
Module collective.easyslider.browser.viewlet, line 94, in render_slide
Module collective.easyslider.browser.viewlet, line 77, 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 103, 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 245, in resolve_image
AttributeError: 'NoneType' object has no attribute 'absolute_url' - Expression: "provider:plone.belowcontenttitle" - Filename: main_template - Location: (132:56) - Expression: "python: view.render_slide(slide)" - Filename: ... tive.easyslider/collective/easyslider/browser/viewlet.pt - Location: (8:51) - Source: ... ntent="structure python: view.render_slide(slide)" /> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Arguments: default: <object - at 0xb75ed7f8L> repeat: {...} (0) uid: 004dcbee-837b-4878-8b7f-f6f892644c6e views: <ViewMapper - at 0x1558264c> modules: <instance - at 0x9ac686c> args: <tuple - at 0xb75ce02cL> here: <ImplicitAcquisitionWrapper front-page at 0x15d522d4> slides: <list - at 0x13b4ad8c> user: <ImplicitAcquisitionWrapper - at 0x15d527fc> nothing: <NoneType - at 0x818e5c0> template: <ViewPageTemplateFile - at 0x13cadfcc> container: <ImplicitAcquisitionWrapper front-page at 0x15d522d4> navtype: navigation-bullets request: <instance - at 0x14eb340c> wrapped_repeat: <SafeMapping - at 0x159ca70c> traverse_subpath: <list - at 0x15aba9cc> slide: <p><img class="image-left" src="resolveuid/8b068c2... loop: {...} (1) context: <ImplicitAcquisitionWrapper front-page at 0x15d522d4> view: <SimpleViewletClass from /home/espen/instance8081/zeocluster/src/collective.easyslider/collective/easyslider/browser/viewlet.pt collective.easyslider at 0x1558286c> translate: <function translate at 0x15ee3ae4> root: <ImplicitAcquisitionWrapper Zope at 0x15da05cc> options: {...} (0) target_language: <NoneType - at 0x818e5c0>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Plone-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-users