This is feedback on how I resolved this issue: 1. Uninstall CacheSetup 2. Restart instance (critical step) 3. Install CacheSetup 4. In cache settings, enable CahceFu and add Accept-Language to Vary Heading
Mike On 19 January 2011 22:42, Mike Metcalfe <[email protected]> wrote: > The error below appears in instance.log when I try insert an image in kupu. > I do have LinguaPlone and PloneHelpCenter installed: > Module zope.tales.tales, line 696, in evaluate > - URL: > file:/var/zope/hexcode2/buildout-cache/eggs/Products.kupu-1.4.16-py2.4.egg/Products/kupu/plone/kupu_plone_layer/ > kupulibraries.xml.pt > - Line 13, Column 0 > - Expression: <PythonExpr kupu_tool.getCookedLibraries(context)> > - Names: > {'container': <PloneSite at /hex>, > 'context': <ATDocument at /hex/testpage2>, > 'default': <object object at 0xb7ee6528>, > 'here': <ATDocument at /hex/testpage2>, > 'loop': {}, > 'nothing': None, > 'options': {'args': ()}, > 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at > 0x13e96c0c>, > 'request': <HTTPRequest, URL= > http://localhost:8081/hex/testpage2/kupulibraries.xml>, > 'root': <Application at >, > 'template': <FSPageTemplate at /hex/kupulibraries.xml used for > /hex/testpage2>, > 'traverse_subpath': [], > 'user': <User 'admin'>} > Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__ > - __traceback_info__: kupu_tool.getCookedLibraries(context) > Module PythonExpr, line 1, in <expression> > Module Products.kupu.plone.plonelibrarytool, line 481, in > getCookedLibraries > Module Products.kupu.plone.librarytool, line 85, in getLibraries > Module Products.CMFCore.FSPythonScript, line 140, in __call__ > Module Shared.DC.Scripts.Bindings, line 313, in __call__ > Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec > Module Products.CMFCore.FSPythonScript, line 174, in _exec > - <FSPythonScript at /hex/translate used for /hex/kupu_library_tool> > RuntimeError: > /var/zope/hexcode2/buildout-cache/eggs/Plone-3.3.5-py2.4.egg/Products/CMFPlone/skins/plone_scripts/translate.py > has errors. > > > On 13 January 2011 08:43, Mike Metcalfe <[email protected]> wrote: > >> Hi, >> >> I just realised that the email I posted to the list previously was >> incomplete so let me try again: >> >> I upgraded a plone 2.5 site to plone 3 and all seemed to go well until I >> tried to edit a page. When I click on the internal link button I get get the >> following error: >> >> Error 500 loading http://www. >> .../kupulibraries.xml?resource_type=linkable >> >> So I copied the entire instance (that has been built with unified >> installer) on to a test server to debug the issue but I don't get the error >> 500 on the test server. The live site does not have a zeoserver so I am >> looking for ideas on how to debug kupu/js issues on a live server. >> >> Note that the live server is not behind squid. I have switched off >> cache-fu and I've enabled Debug in portal_javascripts. The weird thing is >> that it works for external links but not internal links (and images) >> >> >> On 24 December 2010 18:04, Mike Metcalfe <[email protected]> wrote: >> > >> > Hi, >> > I upgraded a plone 2.5 site to plone 3 and all seemed to go well until I >> tried to edit a page. When trying to add a link on a page I get the >> following error: >> > >> > >> > >> > >> > >> > So I copied the entire instance (built with unified installer) to a test >> server to debug the issue but I there I don't get the issue. >> > Any ideas? >> > Regards >> > Mike >> >> >> -- >> >> Mike Metcalfe >> 082 903 8268 >> [email protected] >> >> >> >
_______________________________________________ Product-Developers mailing list [email protected] https://lists.plone.org/mailman/listinfo/product-developers
