[Zope] Script Errors
MarkM@Yogananda-SRF.org
MarkM@Yogananda-SRF.org
Thu, 24 Jan 2002 12:04:36 -0800
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_01C1A512.592B5150
Content-Type: text/plain;
charset=iso-8859-1
Content-Transfer-Encoding: 7bit
I'm trying out a website example from the beehive Zope book. I get 2 errors
when typing in the code:
1. "__version__" is an invalid variable name because it starts with "_"
2. import of "MessageDialog" from "Globals" is unauthorized
Why is the use of "_" an error? I can understand about the 'import error',
but I don't know where "Globals" is coming from. This is probably a beehive
py file?
Thanks,
Mark Micklich
------_=_NextPart_001_01C1A512.592B5150
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>Script Errors</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2 FACE=3D"Arial">I'm trying out a website example from =
the beehive Zope book. I get 2 errors when typing in the =
code:</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">1. "__version__" is an =
invalid variable name because it starts with "_"</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">2. import of =
"MessageDialog" from "Globals" is =
unauthorized</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Why is the use of "_" an =
error? I can understand about the 'import error', but I don't =
know where "Globals" is coming from. This is probably a =
beehive py file?</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks,</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Mark Micklich</FONT>
</P>
<BR>
</BODY>
</HTML>
------_=_NextPart_001_01C1A512.592B5150--