[Setup] 2 of 5 sites don't work after upgrading Plone 3.2.3 instance to 4.0.7

Raphael Ritz r.ritz at biologie.hu-berlin.de
Mon Aug 1 11:45:29 UTC 2011


On 7/26/11 6:59 PM, dgroos wrote:
[..]

>         'request':<HTTPRequest,
> URL=http://10.99.1.16:8080/gcos/front-page/document_view>,
>         'root':<Application at>,
>         'template':<FSPageTemplate at /gcos/document_view used for
> /gcos/front-page>,
>         'traverse_subpath': [],
>         'user':<PropertiedUser 'ploneadmin'>}
>    Module zope.tales.expressions, line 217, in __call__
>    Module Products.PageTemplates.Expressions, line 149, in _eval
>    Module zope.tales.expressions, line 118, in _eval
> KeyError: 'language'

This reminds me of
http://dev.plone.org/plone/ticket/10676

Did you customize 'document_view'?

Try adding

   language context/@@plone_portal_state/default_language;

(or similar) to the template.
See 
http://plone.org/documentation/manual/upgrade-guide/version/upgrading-plone-3-x-to-4.0/updating-add-on-products-for-plone-4.0/no-more-global-definitions-in-templates
for some background info.

Does that help?


[..]

>    Module plone.portlets.manager, line 107, in _lazyLoadPortlets
>    Module plone.portlets.retriever, line 138, in getPortlets
> TypeError: ('Could not adapt',<persistent broken
> heddex.tranquility.portlets.personaltools.Assignment instance
> '\x00\x00\x00\x00\x00\t\xda\\'>,<InterfaceClass
> plone.portlets.interfaces.IPortletAssignmentSettings>)

What's heddex.tranquility..?

Maybe you are missing a custom product or it doesn't work
with current Plone?

Does you site start in debug mode?

Raphael


>
> While I read them and note the first 15 lines are the same, and do research
> on the web, I'm not sure how to continue trying to get these last 2 sites
> working.  Any ideas would be greatly appreciated!
>
> David G
>
> --
> View this message in context: http://plone.293351.n2.nabble.com/2-of-5-sites-don-t-work-after-upgrading-Plone-3-2-3-instance-to-4-0-7-tp6622957p6622957.html
> Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.




More information about the Setup mailing list