[Zope-CMF] plone 1.0.3 to 2 final fails dry run migrate

Kelley, Sean SKelley at ci.santa-rosa.ca.us
Wed Mar 31 13:29:23 EST 2004


 
I got past the migrate error but after the migrate the site is broken with
the following traceback...any ideas? 

AttributeError

Sorry, a site error occurred.

Traceback (innermost last): 

Module ZPublisher.Publish, line 163, in publish_module_standard Module
Products.PlacelessTranslationService.PatchStringIO, line 45, in new_publish
Module ZPublisher.Publish, line 127, in publish Module Zope.App.startup,
line 203, in zpublisher_exception_hook Module ZPublisher.Publish, line 100,
in publish Module ZPublisher.mapply, line 88, in mapply Module
ZPublisher.Publish, line 40, in call_object Module
Products.CMFCore.PortalContent, line 116, in __call__ Module
Shared.DC.Scripts.Bindings, line 306, in __call__ Module
Shared.DC.Scripts.Bindings, line 343, in _bindAndExec Module
Products.CMFCore.FSPageTemplate, line 191, in _exec Module
Products.CMFCore.FSPageTemplate, line 124, in pt_render Module
Products.PageTemplates.PageTemplate, line 96, in pt_render <FSPageTemplate
at /utilities/document_view used for /utilities/index_html> Module
TAL.TALInterpreter, line 189, in __call__ Module TAL.TALInterpreter, line
233, in interpret Module TAL.TALInterpreter, line 663, in do_useMacro Module
TAL.TALInterpreter, line 233, in interpret Module TAL.TALInterpreter, line
408, in do_optTag_tal Module TAL.TALInterpreter, line 393, in do_optTag
Module TAL.TALInterpreter, line 388, in no_tag Module TAL.TALInterpreter,
line 233, in interpret Module TAL.TALInterpreter, line 663, in do_useMacro
Module TAL.TALInterpreter, line 233, in interpret Module TAL.TALInterpreter,
line 463, in do_setGlobal_tal Module Products.PageTemplates.TALES, line 220,
in evaluate Line 3, Column 0
Expression: <PythonExpr portal.portal_actions.listFilteredActionsFor(here)>
Names:
{'container': <PloneSite instance at 01C20500>,
 'context': <Document at /utilities/index_html>,
 'default': <Products.PageTemplates.TALES.Default instance at 0x01092EE0>,
 'here': <Document at /utilities/index_html>,
 'loop': <SafeMapping instance at 0293C6F0>,
 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x01088148>,
 'nothing': None,
 'options': {'args': ()},
 'repeat': <SafeMapping instance at 0293C6F0>,
 'request': <HTTPRequest, URL=http://localhost:8080/utilities/index_html>,
 'root': <Application instance at 01BD5C80>,
 'template': <FSPageTemplate at /utilities/document_view used for
/utilities/index_html>,
 'traverse_subpath': [],
 'user': zadmin}
Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
__traceback_info__: portal.portal_actions.listFilteredActionsFor(here)
Module Python expression
"portal.portal_actions.listFilteredActionsFor(here)", line 1, in
<expression> Module Products.CMFPlone.ActionsTool, line 64, in
listFilteredActionsFor Module Products.CMFCore.ActionsTool, line 250, in
_listActions
AttributeError: listActions (Also, an error occurred while attempting to
render the standard error message.) 



-----Original Message-----
From: Gmane Remailer [mailto:public at main.gmane.org] On Behalf Of Christian
Heimes
Sent: Friday, March 26, 2004 7:26 PM
To: Kelley, Sean
Subject: Re: plone 1.0.3 to 2 final fails dry run migrate


Kelley, Sean wrote:
> Anyone know what the issue is??

Yes!

> File "C:\Plone 2\Data\Products\CMFCore\ActionProviderBase.py", line 
> 122, in addAction , visible=int(visible)

Replace "visible=int(visible)" by "visible=not not visible" in the file. 
I fixed it in CMF but it won't make it in the stable until 1.5

Christian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-cmf/attachments/20040331/a73f1d3a/attachment.html


More information about the Zope-CMF mailing list