Here's the traceback as reported in the error log. Traceback (innermost last): Module ZPublisher.Publish, line 98, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 39, in call_object Module Shared.DC.Scripts.Bindings, line 252, in __call__ Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec Module Products.PythonScripts.PythonScript, line 315, in _exec Module Script (Python), line 4, in index_html - <PythonScript at /Channel/index_html> - Line 4 Module Shared.DC.Scripts.Bindings, line 252, in __call__ Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec Module Products.PageTemplates.ZopePageTemplate, line 228, in _exec Module Products.PageTemplates.PageTemplate, line 95, in pt_render - <ZopePageTemplate at /Channel/default> Module TAL.TALInterpreter, line 186, in __call__ Module TAL.TALInterpreter, line 230, in interpret Module TAL.TALInterpreter, line 689, in do_useMacro Module TAL.TALInterpreter, line 230, in interpret Module TAL.TALInterpreter, line 655, in do_condition Module TAL.TALInterpreter, line 230, in interpret Module TAL.TALInterpreter, line 655, in do_condition Module TAL.TALInterpreter, line 230, in interpret Module TAL.TALInterpreter, line 578, in do_insertStructure_tal Module Products.PageTemplates.TALES, line 217, in evaluate - URL: /Channel/main_template - Line 72, Column 64 - Expression: standard:'here/actionsBox|default' - Names: {'container': <CMFSite instance at 0207CDE8>, 'default': <Products.PageTemplates.TALES.Default instance at 012C4394>, 'here': <CMFSite instance at 0207CDE8>, 'loop': <SafeMapping instance at 0341AA18>, 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 012C101C>, 'nothing': None, 'options': {'args': ()}, 'repeat': <SafeMapping instance at 0341AA18>, 'request': <HTTPRequest, URL=http://coreserver/Channel/index_html>, 'root': <Application instance at 0205EE88>, 'template': <ZopePageTemplate at /Channel/default>, 'traverse_subpath': [], 'user': Administrator} Module Products.PageTemplates.Expressions, line 206, in __call__ Module Products.PageTemplates.Expressions, line 201, in _eval Module Products.PageTemplates.Expressions, line 100, in render Module Products.PageTemplates.ZRPythonExpr, line 74, in call_with_ns Module Shared.DC.Scripts.Bindings, line 266, in __render_with_namespace__ Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec Module Products.PageTemplates.ZopePageTemplate, line 228, in _exec Module Products.PageTemplates.PageTemplate, line 95, in pt_render - <ZopePageTemplate at /Channel/actionsBox> Module TAL.TALInterpreter, line 186, in __call__ Module TAL.TALInterpreter, line 230, in interpret Module TAL.TALInterpreter, line 459, in do_setLocal_tal Module Products.PageTemplates.TALES, line 217, in evaluate - URL: /Channel/actionsBox - Line 25, Column 4 - Expression: <PythonExpr here.truncID( here.getId(), size=15 )> - Names: {'container': <CMFSite instance at 0207CDE8>, 'default': <Products.PageTemplates.TALES.Default instance at 012C4394>, 'here': <CMFSite instance at 0207CDE8>, 'loop': <SafeMapping instance at 021DC4E0>, 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 012C101C>, 'nothing': None, 'options': {'args': ()}, 'repeat': <SafeMapping instance at 021DC4E0>, 'request': <HTTPRequest, URL=http://coreserver/Channel/index_html>, 'root': <Application instance at 0205EE88>, 'template': <ZopePageTemplate at /Channel/actionsBox>, 'traverse_subpath': [], 'user': Administrator} Module Products.PageTemplates.ZRPythonExpr, line 48, in __call__ - __traceback_info__: here.truncID( here.getId(), size=15 ) Module Python expression "here.truncID( here.getId(), size=15 )", line 2, in f AttributeError: truncID -----Original Message----- From: Ausum Studio [mailto:ausum_studio@hotmail.com] Sent: Friday, November 15, 2002 7:24 PM To: GimsMail Subject: Re: [Zope] ZEXP woes with INSTANCE_HOME'd sites Post the whole traceback Ausum ----- Original Message ----- From: "GimsMail" <elabuschagne@gims.com> To: <zope@zope.org> Sent: Friday, November 15, 2002 8:47 AM Subject: [Zope] ZEXP woes with INSTANCE_HOME'd sites
Hi all,
I have two Zope 2.6 sites (this happens with 2.5 too) both running EXACTLY the same products and CMF 1.3 the only difference being the one Zope is an INSTANCE_HOME installation and the other a standard Zope installation (both in Win2K). I have tested this with fresh installs too, just to make sure, so I guess it will be repeatable by anyone else.
When I export a CMF Site from the one and try to import it to the other I get broken Portal Folder icons and the site does not work (gives a tuncUnitID attribute error somewhere in the actions box). This happens consitently and with Zopes on the same machine and different machines, the only differentiator being INSTANCE_HOME or non-INSTANCE_HOME. This happens both ways (INSTANCE_HOME to normal and other way round). I am not sure if this is only a problem with CMF Sites, but have not found this problem with other products.
Am I doing something wrong, is this a bug and should it be put in some collector. Is there a known workaround?
Thanks Etienne
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )