[Zope] ZEXP woes with INSTANCE_HOME'd sites
Etienne Labuschagne
ELabuschane@gmsonline.co.za
Wed, 20 Nov 2002 08:51:46 +0200
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C29061.4B1E0040
Content-Type: text/plain;
charset="iso-8859-1"
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 )
>
------_=_NextPart_001_01C29061.4B1E0040
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [Zope] ZEXP woes with INSTANCE_HOME'd sites</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>Here's the traceback as reported in the error =
log.</FONT>
</P>
<P><FONT SIZE=3D2>Traceback (innermost last):</FONT>
<BR><FONT SIZE=3D2> Module ZPublisher.Publish, line 98, in =
publish</FONT>
<BR><FONT SIZE=3D2> Module ZPublisher.mapply, line 88, in =
mapply</FONT>
<BR><FONT SIZE=3D2> Module ZPublisher.Publish, line 39, in =
call_object</FONT>
<BR><FONT SIZE=3D2> Module Shared.DC.Scripts.Bindings, line 252, =
in __call__</FONT>
<BR><FONT SIZE=3D2> Module Shared.DC.Scripts.Bindings, line 283, =
in _bindAndExec</FONT>
<BR><FONT SIZE=3D2> Module Products.PythonScripts.PythonScript, =
line 315, in _exec</FONT>
<BR><FONT SIZE=3D2> Module Script (Python), line 4, in =
index_html</FONT>
<BR><FONT SIZE=3D2> - <PythonScript at =
/Channel/index_html></FONT>
<BR><FONT SIZE=3D2> - Line 4</FONT>
<BR><FONT SIZE=3D2> Module Shared.DC.Scripts.Bindings, line 252, =
in __call__</FONT>
<BR><FONT SIZE=3D2> Module Shared.DC.Scripts.Bindings, line 283, =
in _bindAndExec</FONT>
<BR><FONT SIZE=3D2> Module =
Products.PageTemplates.ZopePageTemplate, line 228, in _exec</FONT>
<BR><FONT SIZE=3D2> Module Products.PageTemplates.PageTemplate, =
line 95, in pt_render</FONT>
<BR><FONT SIZE=3D2> - <ZopePageTemplate at =
/Channel/default></FONT>
<BR><FONT SIZE=3D2> Module TAL.TALInterpreter, line 186, in =
__call__</FONT>
<BR><FONT SIZE=3D2> Module TAL.TALInterpreter, line 230, in =
interpret</FONT>
<BR><FONT SIZE=3D2> Module TAL.TALInterpreter, line 689, in =
do_useMacro</FONT>
<BR><FONT SIZE=3D2> Module TAL.TALInterpreter, line 230, in =
interpret</FONT>
<BR><FONT SIZE=3D2> Module TAL.TALInterpreter, line 655, in =
do_condition</FONT>
<BR><FONT SIZE=3D2> Module TAL.TALInterpreter, line 230, in =
interpret</FONT>
<BR><FONT SIZE=3D2> Module TAL.TALInterpreter, line 655, in =
do_condition</FONT>
<BR><FONT SIZE=3D2> Module TAL.TALInterpreter, line 230, in =
interpret</FONT>
<BR><FONT SIZE=3D2> Module TAL.TALInterpreter, line 578, in =
do_insertStructure_tal</FONT>
<BR><FONT SIZE=3D2> Module Products.PageTemplates.TALES, line =
217, in evaluate</FONT>
<BR><FONT SIZE=3D2> - URL: /Channel/main_template</FONT>
<BR><FONT SIZE=3D2> - Line 72, Column 64</FONT>
<BR><FONT SIZE=3D2> - Expression: =
standard:'here/actionsBox|default'</FONT>
<BR><FONT SIZE=3D2> - Names:</FONT>
<BR><FONT SIZE=3D2> {'container': =
<CMFSite instance at 0207CDE8>,</FONT>
<BR><FONT SIZE=3D2> 'default': =
<Products.PageTemplates.TALES.Default instance at =
012C4394>,</FONT>
<BR><FONT SIZE=3D2> 'here': =
<CMFSite instance at 0207CDE8>,</FONT>
<BR><FONT SIZE=3D2> 'loop': =
<SafeMapping instance at 0341AA18>,</FONT>
<BR><FONT SIZE=3D2> 'modules': =
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance =
at 012C101C>,</FONT>
<BR><FONT SIZE=3D2> 'nothing': =
None,</FONT>
<BR><FONT SIZE=3D2> 'options': =
{'args': ()},</FONT>
<BR><FONT SIZE=3D2> 'repeat': =
<SafeMapping instance at 0341AA18>,</FONT>
<BR><FONT SIZE=3D2> 'request': =
<HTTPRequest, URL=3D<A HREF=3D"http://coreserver/Channel/index_html" =
TARGET=3D"_blank">http://coreserver/Channel/index_html</A>>,</FONT>
<BR><FONT SIZE=3D2> 'root': =
<Application instance at 0205EE88>,</FONT>
<BR><FONT SIZE=3D2> 'template': =
<ZopePageTemplate at /Channel/default>,</FONT>
<BR><FONT SIZE=3D2> =
'traverse_subpath': [],</FONT>
<BR><FONT SIZE=3D2> 'user': =
Administrator}</FONT>
<BR><FONT SIZE=3D2> Module Products.PageTemplates.Expressions, =
line 206, in __call__</FONT>
<BR><FONT SIZE=3D2> Module Products.PageTemplates.Expressions, =
line 201, in _eval</FONT>
<BR><FONT SIZE=3D2> Module Products.PageTemplates.Expressions, =
line 100, in render</FONT>
<BR><FONT SIZE=3D2> Module Products.PageTemplates.ZRPythonExpr, =
line 74, in call_with_ns</FONT>
<BR><FONT SIZE=3D2> Module Shared.DC.Scripts.Bindings, line 266, =
in __render_with_namespace__</FONT>
<BR><FONT SIZE=3D2> Module Shared.DC.Scripts.Bindings, line 283, =
in _bindAndExec</FONT>
<BR><FONT SIZE=3D2> Module =
Products.PageTemplates.ZopePageTemplate, line 228, in _exec</FONT>
<BR><FONT SIZE=3D2> Module Products.PageTemplates.PageTemplate, =
line 95, in pt_render</FONT>
<BR><FONT SIZE=3D2> - <ZopePageTemplate at =
/Channel/actionsBox></FONT>
<BR><FONT SIZE=3D2> Module TAL.TALInterpreter, line 186, in =
__call__</FONT>
<BR><FONT SIZE=3D2> Module TAL.TALInterpreter, line 230, in =
interpret</FONT>
<BR><FONT SIZE=3D2> Module TAL.TALInterpreter, line 459, in =
do_setLocal_tal</FONT>
<BR><FONT SIZE=3D2> Module Products.PageTemplates.TALES, line =
217, in evaluate</FONT>
<BR><FONT SIZE=3D2> - URL: /Channel/actionsBox</FONT>
<BR><FONT SIZE=3D2> - Line 25, Column 4</FONT>
<BR><FONT SIZE=3D2> - Expression: <PythonExpr =
here.truncID( here.getId(), size=3D15 )></FONT>
<BR><FONT SIZE=3D2> - Names:</FONT>
<BR><FONT SIZE=3D2> {'container': =
<CMFSite instance at 0207CDE8>,</FONT>
<BR><FONT SIZE=3D2> 'default': =
<Products.PageTemplates.TALES.Default instance at =
012C4394>,</FONT>
<BR><FONT SIZE=3D2> 'here': =
<CMFSite instance at 0207CDE8>,</FONT>
<BR><FONT SIZE=3D2> 'loop': =
<SafeMapping instance at 021DC4E0>,</FONT>
<BR><FONT SIZE=3D2> 'modules': =
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance =
at 012C101C>,</FONT>
<BR><FONT SIZE=3D2> 'nothing': =
None,</FONT>
<BR><FONT SIZE=3D2> 'options': =
{'args': ()},</FONT>
<BR><FONT SIZE=3D2> 'repeat': =
<SafeMapping instance at 021DC4E0>,</FONT>
<BR><FONT SIZE=3D2> 'request': =
<HTTPRequest, URL=3D<A HREF=3D"http://coreserver/Channel/index_html" =
TARGET=3D"_blank">http://coreserver/Channel/index_html</A>>,</FONT>
<BR><FONT SIZE=3D2> 'root': =
<Application instance at 0205EE88>,</FONT>
<BR><FONT SIZE=3D2> 'template': =
<ZopePageTemplate at /Channel/actionsBox>,</FONT>
<BR><FONT SIZE=3D2> =
'traverse_subpath': [],</FONT>
<BR><FONT SIZE=3D2> 'user': =
Administrator}</FONT>
<BR><FONT SIZE=3D2> Module Products.PageTemplates.ZRPythonExpr, =
line 48, in __call__</FONT>
<BR><FONT SIZE=3D2> - __traceback_info__: here.truncID( =
here.getId(), size=3D15 )</FONT>
<BR><FONT SIZE=3D2> Module Python expression "here.truncID( =
here.getId(), size=3D15 )", line 2, in f</FONT>
<BR><FONT SIZE=3D2>AttributeError: truncID</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Ausum Studio [<A =
HREF=3D"mailto:ausum_studio@hotmail.com">mailto:ausum_studio@hotmail.com=
</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Friday, November 15, 2002 7:24 PM</FONT>
<BR><FONT SIZE=3D2>To: GimsMail</FONT>
<BR><FONT SIZE=3D2>Subject: Re: [Zope] ZEXP woes with INSTANCE_HOME'd =
sites</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>Post the whole traceback</FONT>
</P>
<P><FONT SIZE=3D2>Ausum</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>----- Original Message -----</FONT>
<BR><FONT SIZE=3D2>From: "GimsMail" =
<elabuschagne@gims.com></FONT>
<BR><FONT SIZE=3D2>To: <zope@zope.org></FONT>
<BR><FONT SIZE=3D2>Sent: Friday, November 15, 2002 8:47 AM</FONT>
<BR><FONT SIZE=3D2>Subject: [Zope] ZEXP woes with INSTANCE_HOME'd =
sites</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>> Hi all,</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> I have two Zope 2.6 sites (this happens with =
2.5 too) both running EXACTLY</FONT>
<BR><FONT SIZE=3D2>> the same products and CMF 1.3 the only =
difference being the one Zope is an</FONT>
<BR><FONT SIZE=3D2>> INSTANCE_HOME installation and the other a =
standard Zope installation</FONT>
<BR><FONT SIZE=3D2>(both</FONT>
<BR><FONT SIZE=3D2>> in Win2K). I have tested this with fresh =
installs too, just to make sure,</FONT>
<BR><FONT SIZE=3D2>> so I guess it will be repeatable by anyone =
else.</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> When I export a CMF Site from the one and try =
to import it to the other I</FONT>
<BR><FONT SIZE=3D2>> get broken Portal Folder icons and the site =
does not work (gives a</FONT>
<BR><FONT SIZE=3D2>> tuncUnitID attribute error somewhere in the =
actions box). This happens</FONT>
<BR><FONT SIZE=3D2>> consitently and with Zopes on the same machine =
and different machines, the</FONT>
<BR><FONT SIZE=3D2>> only differentiator being INSTANCE_HOME or =
non-INSTANCE_HOME. This</FONT>
<BR><FONT SIZE=3D2>happens</FONT>
<BR><FONT SIZE=3D2>> both ways (INSTANCE_HOME to normal and other =
way round). I am not sure if</FONT>
<BR><FONT SIZE=3D2>> this is only a problem with CMF Sites, but have =
not found this problem</FONT>
<BR><FONT SIZE=3D2>with</FONT>
<BR><FONT SIZE=3D2>> other products.</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> Am I doing something wrong, is this a bug and =
should it be put in some</FONT>
<BR><FONT SIZE=3D2>> collector. Is there a known =
workaround?</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> Thanks</FONT>
<BR><FONT SIZE=3D2>> Etienne</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> =
_______________________________________________</FONT>
<BR><FONT SIZE=3D2>> Zope maillist - =
Zope@zope.org</FONT>
<BR><FONT SIZE=3D2>> <A =
HREF=3D"http://lists.zope.org/mailman/listinfo/zope" =
TARGET=3D"_blank">http://lists.zope.org/mailman/listinfo/zope</A></FONT>=
<BR><FONT SIZE=3D2>> ** No cross posts or HTML =
encoding! **</FONT>
<BR><FONT SIZE=3D2>> (Related lists -</FONT>
<BR><FONT SIZE=3D2>> <A =
HREF=3D"http://lists.zope.org/mailman/listinfo/zope-announce" =
TARGET=3D"_blank">http://lists.zope.org/mailman/listinfo/zope-announce</=
A></FONT>
<BR><FONT SIZE=3D2>> <A =
HREF=3D"http://lists.zope.org/mailman/listinfo/zope-dev" =
TARGET=3D"_blank">http://lists.zope.org/mailman/listinfo/zope-dev</A> =
)</FONT>
<BR><FONT SIZE=3D2>></FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C29061.4B1E0040--