[Zope] newbie question
Kathy Hester
k_hester@bellsouth.net
Mon, 23 Oct 2000 17:08:52 -0500
This is a multi-part message in MIME format.
------=_NextPart_000_0033_01C03D13.EB30F0E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Hello and thanks for your patience!
I am beginning to learn zope. I am going through the tutorials in "the
book". I have run into a problem creating an external method.
I know I must be doing something stupid!
I have my addEntry.py saved in the Extension folder in the Zope folder as it
installed it (i'm in win 2k). I have the dtml method to call addEntry.
When I try to add an external method id/function name/file name are all
addEntry. (Supposedly to keep me from messing up...).
I get this error message-
"Zope has encountered an error while publishing this resource.
Error Type: SyntaxError
Error Value: invalid syntax
Troubleshooting Suggestions
The URL may be incorrect.
The parameters passed to this resource may be incorrect.
A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to the HTML
source for this page.
If the error persists please contact the site maintainer. Thank you for your
patience. "
There must be a simple solution. I have looked at the o'reilly book/on-line
docs/how tos and I am still not seeing my error. Please feel free to e-mail
me directly at k_hester@bellsouth.net
<http://us.f22.mail.yahoo.com/ym/Compose?To=k_hester@bellsouth.net&YY=88217&
order=down&sort=date&pos=0> .
I thought I had found a work around by installing python method – but I am
not sure what I need to put in the parameter list…. Any help would be
greatly appreciated!
=====
Kathy Hester
to feel powerful often
to act powerful sometimes
to overpower others seldom
to share power whenever possible
- unknown
------=_NextPart_000_0033_01C03D13.EB30F0E0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 9">
<meta name=3DOriginator content=3D"Microsoft Word 9">
<link rel=3DFile-List href=3D"cid:filelist.xml@01C03D13.E83C6900">
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Arial Unicode MS";
panose-1:2 11 6 4 2 2 2 2 2 4;
mso-font-charset:128;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:-1 -369098753 63 0 4129023 0;}
@font-face
{font-family:"\@Arial Unicode MS";
mso-font-charset:128;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:-1 -369098753 63 0 4129023 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
{margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
pre
{margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Arial Unicode MS";}
span.EmailStyle15
{mso-style-type:personal-compose;
mso-ansi-font-size:10.0pt;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:black;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple =
style=3D'tab-interval:.5in'>
<div class=3DSection1><pre><font size=3D2 color=3Dblack face=3D"Arial =
Unicode MS"><span
style=3D'font-size:10.0pt;color:black'>Hello and thanks for your =
patience!</span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'><![if =
!supportEmptyParas]> <![endif]></span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'>I am beginning to learn zope. I am going through the =
tutorials in "the book". I have run into a problem creating an =
external method.</span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'><![if =
!supportEmptyParas]> <![endif]></span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'>I know I must be doing something stupid!</span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'><![if =
!supportEmptyParas]> <![endif]></span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'>I have my addEntry.py saved in the Extension folder in the =
Zope folder as it installed it (i'm in win 2k). I have the dtml method =
to call addEntry.</span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'><![if =
!supportEmptyParas]> <![endif]></span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'>When I try to add an external method id/function name/file =
name are all addEntry. (Supposedly to keep me from messing up...). =
</span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'><![if =
!supportEmptyParas]> <![endif]></span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'>I get this error message- </span></font><font =
color=3Dblack><span
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'><![if =
!supportEmptyParas]> <![endif]></span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'>"Zope has encountered an error while publishing this =
resource. </span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'><![if =
!supportEmptyParas]> <![endif]></span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'>Error Type: SyntaxError</span></font><font =
color=3Dblack><span
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre>
<div style=3D'border:none;border-bottom:solid windowtext =
.75pt;padding:0in 0in 1.0pt 0in'><pre
style=3D'border:none;mso-border-bottom-alt:solid windowtext =
.75pt;padding:0in;
mso-padding-alt:0in 0in 1.0pt 0in'><font size=3D2 color=3Dblack
face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;color:black'>Error Value: invalid =
syntax</span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre></div>
<pre><font size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:
10.0pt;color:black'>Troubleshooting Suggestions</span></font><font =
color=3Dblack><span
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'><![if =
!supportEmptyParas]> <![endif]></span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'>The URL may be incorrect. </span></font><font =
color=3Dblack><span
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'>The parameters passed to this resource may be incorrect. =
</span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'>A resource that this resource relies on may be encountering =
an error. </span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'>For more detailed information about the error, please refer =
to the HTML source for this page. </span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'><![if =
!supportEmptyParas]> <![endif]></span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'>If the error persists please contact the site maintainer. =
Thank you for your patience. "</span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'><![if =
!supportEmptyParas]> <![endif]></span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'>There must be a simple solution. I have looked at the =
o'reilly book/on-line docs/how tos and I am still not seeing my error. =
Please feel free to e-mail me directly at <a
href=3D"http://us.f22.mail.yahoo.com/ym/Compose?To=3Dk_hester@bellsouth.n=
et&YY=3D88217&order=3Ddown&sort=3Ddate&pos=3D0">k_hester@=
bellsouth.net</a>.</span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'><![if =
!supportEmptyParas]> <![endif]></span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'>I thought I had found a work around by installing python =
method – but I am not sure what I need to put in the parameter =
list…. Any help would be greatly appreciated!</span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'><![if =
!supportEmptyParas]> <![endif]></span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'><![if =
!supportEmptyParas]> <![endif]></span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'>=3D=3D=3D=3D=3D</span></font><font color=3Dblack><span =
style=3D'color:black;
mso-color-alt:windowtext'><o:p></o:p></span></font></pre><pre><font =
size=3D2
color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;color:black'>Kathy Hester</span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'><![if =
!supportEmptyParas]> <![endif]></span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'>to feel powerful often</span></font><font =
color=3Dblack><span
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'>to act powerful sometimes</span></font><font =
color=3Dblack><span
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'>to overpower others seldom</span></font><font =
color=3Dblack><span
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'>to share power whenever possible</span></font><font =
color=3Dblack><span
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre><pre><font
size=3D2 color=3Dblack face=3D"Arial Unicode MS"><span =
style=3D'font-size:10.0pt;
color:black'>-<span style=3D"mso-spacerun: yes"> =
</span>unknown</span></font><font
color=3Dblack><span =
style=3D'color:black;mso-color-alt:windowtext'><o:p></o:p></span></font><=
/pre>
<p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:
Arial'><![if =
!supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>
</div>
</body>
</html>
------=_NextPart_000_0033_01C03D13.EB30F0E0--