[Zope] Errro instantiating new Zclasses
JimOliver@Dessica.com
JimOliver@Dessica.com
Fri, 14 Dec 2001 13:07:21 -0700
This is a multi-part message in MIME format.
------=_NextPart_000_0001_01C184A0.48D384E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
I am a zope newbie, and I'm having trouble instanting a Zclass. The
Zclass is named "test3b", and it is the example out of the zopebook.
The add form is displayed, but when I call createInObjectManager I get
this error:
Site Error
An error was encountered while publishing this resource.
NameError
Sorry, a site error occurred.
Traceback (innermost last):
File D:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 223, in
publish_module
File D:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 187, in
publish
File D:\PROGRA~1\Zope\lib\python\Zope\__init__.py, line 226, in
zpublisher_exception_hook
(Object: test3b_factory)
File D:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 171, in
publish
File D:\PROGRA~1\Zope\lib\python\ZPublisher\mapply.py, line 160, in
mapply
(Object: test3b_add)
File D:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 112, in
call_object
(Object: test3b_add)
File D:\PROGRA~1\Zope\lib\python\OFS\DTMLMethod.py, line 199, in
__call__
(Object: test3b_add)
File D:\PROGRA~1\Zope\lib\python\DocumentTemplate\DT_String.py, line
546, in __call__
(Object: test3b_add)
File D:\PROGRA~1\Zope\lib\python\DocumentTemplate\DT_With.py, line
133, in render
(Object: test3b.createInObjectManager(REQUEST['id'], REQUEST))
File D:\PROGRA~1\Zope\lib\python\DocumentTemplate\DT_Util.py, line
231, in eval
(Object: test3b.createInObjectManager(REQUEST['id'], REQUEST))
(Info: REQUEST)
File <string>, line 2, in f
(Object: guarded_getitem)
NameError: global name 'test3b' is not defined
I had installed the POPmail product, which seemed to create this
problem. I have since completely uninstalled and re-installed zope,
with no effect. Any info would be appreciated.
-Jim Oliver
------=_NextPart_000_0001_01C184A0.48D384E0
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 HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>Message</TITLE>
<META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D039310120-14122001>I am a =
zope newbie,=20
and I'm having trouble instanting a Zclass. The Zclass is named =
"test3b",=20
and it is the example out of the zopebook. The add form is =
displayed, but=20
when I call createInObjectManager I get this error:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D039310120-14122001></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D039310120-14122001></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D039310120-14122001></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D039310120-14122001></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D039310120-14122001>
<TABLE border=3D0 width=3D"100%">
<TBODY>
<TR vAlign=3Dtop>
<TD align=3Dmiddle width=3D"10%"></TD>
<TD width=3D"90%">
<H2>Site Error</H2>
<P>An error was encountered while publishing this resource. </P>
<P><STRONG>NameError</STRONG></P>Sorry, a site error occurred.=20
<P><PRE>Traceback (innermost last):
File D:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 223, in =
publish_module
File D:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 187, in =
publish
File D:\PROGRA~1\Zope\lib\python\Zope\__init__.py, line 226, in =
zpublisher_exception_hook
(Object: test3b_factory)
File D:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 171, in =
publish
File D:\PROGRA~1\Zope\lib\python\ZPublisher\mapply.py, line 160, in =
mapply
(Object: test3b_add)
File D:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 112, in =
call_object
(Object: test3b_add)
File D:\PROGRA~1\Zope\lib\python\OFS\DTMLMethod.py, line 199, in =
__call__
(Object: test3b_add)
File D:\PROGRA~1\Zope\lib\python\DocumentTemplate\DT_String.py, line =
546, in __call__
(Object: test3b_add)
File D:\PROGRA~1\Zope\lib\python\DocumentTemplate\DT_With.py, line =
133, in render
(Object: test3b.createInObjectManager(REQUEST['id'], REQUEST))
File D:\PROGRA~1\Zope\lib\python\DocumentTemplate\DT_Util.py, line =
231, in eval
(Object: test3b.createInObjectManager(REQUEST['id'], REQUEST))
(Info: REQUEST)
File <string>, line 2, in f
(Object: guarded_getitem)
NameError: global name 'test3b' is not =
defined</PRE><PRE> </PRE><PRE>I had installed the POPmail product, =
which seemed to create this problem. I have since completely =
uninstalled and re-installed zope, with no effect. Any info would be =
appreciated.</PRE><PRE>-Jim =
Oliver</PRE><PRE> </PRE></TD></TR></TBODY></TABLE></SPAN></FONT></DI=
V></BODY></HTML>
------=_NextPart_000_0001_01C184A0.48D384E0--