[Zope-CMF] CMF-Topic, need help or I start weeping

Robert Rottermann robert@rocad.ch
Sun, 20 May 2001 10:50:25 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0027_01C0E11A.AD398080
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi there,
For a coupple of days now I try to use topics.
Up to know only to my utter frustration. (which of course comes from my =
incompetece)

Here is what I have done.

1. When I use Zope 2.3.2 final, binary edition windows 2000=20
    and CMF-1.0 everything works fine.

2. As soon as I use the version I download from CVS I get a traceback.=20
    The traceback happens when accessing the ZMI.=20
    The traceback happens when Zope tries to access the topics skins

    Here is part of the traceback

 Products\PythonScripts\PythonScript.py", linee 283, in _makeFunction
    raise "Python Script Error", ('<pre>%s</pre>' %
   =20
    Python Script Error: <pre>  File "<string>", line 2
    context.addCriteria(field=3Dfield, criteria_type=3Dcriteria_type)
                                                                         =
             ^
 SyntaxError: invalid syntax

 The file zope tries to access is=20
 CMFTopic\skins\topic\topic_addCriterion.py
=20
Zope dies in Products.Pythonscripts.   Do I have to get a newer than the =
one installed by zope 2.3.2 final.
Or do I have to install a newer Zope?

Help will be greatly appreciated
Robert

------=_NextPart_000_0027_01C0E11A.AD398080
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#c8e0d8>
<DIV><FONT face=3DArial size=3D2>Hi there,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>For a coupple of days now I try to use=20
topics.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Up to know only to my utter =
frustration. (which of=20
course comes from my incompetece)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Here is what I have done.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>1. When I use Zope 2.3.2 final, binary =
edition=20
windows 2000 </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; and CMF-1.0 =
everything works=20
fine.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>2. As soon as I use the version I =
download from CVS=20
I get a traceback. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; The traceback =
happens when=20
accessing the ZMI. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; The traceback =
happens when Zope=20
tries to access the topics skins</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; Here is part of the=20
traceback</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>&nbsp;Products\PythonScripts\PythonScript.py",=20
linee 283, in _makeFunction<BR>&nbsp;&nbsp;&nbsp; raise "Python Script =
Error",=20
('&lt;pre&gt;%s&lt;/pre&gt;' %<BR>&nbsp;&nbsp;&nbsp; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; Python Script Error: =

&lt;pre&gt;&nbsp; File "&lt;string&gt;", line 2</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; =
context.addCriteria(field=3Dfield,=20
criteria_type=3Dcriteria_type)</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;=20
^</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;SyntaxError: invalid =
syntax</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;The file zope tries to access=20
is&nbsp;</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>&nbsp;CMFTopic\skins\topic\topic_addCriterion.py</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Zope dies in =
Products.Pythonscripts.&nbsp;&nbsp; Do=20
I have to get a newer than the one installed by zope 2.3.2 =
final.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Or do I have to install a newer =
Zope?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Help will be greatly =
appreciated</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Robert</FONT></DIV></BODY></HTML>

------=_NextPart_000_0027_01C0E11A.AD398080--