[Zope] Re: [python] python (fwd)

Oleg Broytmann phd@sun.med.ru
Tue, 21 Dec 1999 17:55:52 +0300 (MSK)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

------=_NextPart_000_001A_01BF4BDB.C3A11CA0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.GSO.4.21.9912211753412.9670@sun>

> >    A friend of me has a problem. He tries to add programmatically the
> > instance of Boring product to a folder, but without success. 
> 
> How is it not succeeding?  Is there a traceback?
> 
> -Michel

   Traceback attached. It can't find manage_addBoring...

------=_NextPart_000_001A_01BF4BDB.C3A11CA0
Content-Type: TEXT/PLAIN; NAME="vvv.txt"
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-ID: <Pine.GSO.4.21.9912211753413.9670@sun>
Content-Description: 
Content-Disposition: ATTACHMENT; FILENAME="vvv.txt"

<HTML><HEAD><TITLE>test_index</TITLE></HEAD><BODY BGCOLOR=3D"#FFFFFF">


<TABLE BORDER=3D"0" WIDTH=3D"100%">
<TR VALIGN=3D"TOP">

<TD WIDTH=3D"10%" ALIGN=3D"CENTER">
<IMG SRC=3D"http://localhost:8080/p_/ZButton" ALT=3D"Zope">
</TD>

<TD WIDTH=3D"90%">
  <H2>Zope Error</H2>
  <P>Zope has encountered an error while publishing this resource.
  </P>
 =20
  <P>
  <STRONG>Error Type: NameError</STRONG><BR>
  <STRONG>Error Value: manage_addBoring</STRONG><BR>=20
  </P>
=20
  <HR NOSHADE>
=20
  <P>Troubleshooting Suggestions</P>

  <UL>
    <LI>This resource may be trying to reference a
  nonexistent object or variable <STRONG>manage_addBoring</STRONG>.</LI>
    <LI>The URL may be incorrect.</LI>
  <LI>The parameters passed to this resource may be incorrect.</LI>
  <LI>A resource that this resource relies on may be encountering an =
error.</LI>
  </UL>

  <P>For more detailed information about the error, please
  refer to the HTML source for this page.
  </P>

  <P>If the error persists please contact the site maintainer.
  Thank you for your patience.
  </P>
</TD></TR>
</TABLE>


<p><a href=3D"http://www.zope.org/Credits"><img =
src=3D"http://localhost:8080/p_/ZopeButton" width=3D"115" height=3D"50" =
border=3D"0" alt=3D"Powered by Zope"></a></p>
</BODY></HTML>
<!--
Traceback (innermost last):
  File C:\WebSite\lib\python\ZPublisher\Publish.py, line 214, in =
publish_module
  File C:\WebSite\lib\python\ZPublisher\Publish.py, line 179, in publish
  File C:\WebSite\lib\python\Zope\__init__.py, line 202, in =
zpublisher_exception_hook
    (Object: ElementWithAttributes)
  File C:\WebSite\lib\python\ZPublisher\Publish.py, line 165, in publish
  File C:\WebSite\lib\python\ZPublisher\mapply.py, line 160, in mapply
    (Object: vvv)
  File C:\WebSite\lib\python\ZPublisher\Publish.py, line 102, in =
call_object
    (Object: vvv)
  File C:\WebSite\lib\python\OFS\DTMLMethod.py, line 145, in __call__
    (Object: vvv)
  File C:\WebSite\lib\python\DocumentTemplate\DT_String.py, line 502, in =
__call__
    (Object: vvv)
  File C:\WebSite\lib\python\DocumentTemplate\DT_Util.py, line 335, in =
eval
    (Object: manage_addBoring(id=3D'rr', title=3D's'))
    (Info: manage_addBoring)
  File &lt;string&gt;, line 0, in ?
NameError: (see above)

-->
------=_NextPart_000_001A_01BF4BDB.C3A11CA0
Content-Type: APPLICATION/OCTET-STREAM; NAME="vvv.zexp"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.GSO.4.21.9912211753414.9670@sun>
Content-Description: 
Content-Disposition: ATTACHMENT; FILENAME="vvv.zexp"

WkVYUAAAAAAAAA+XAAAAAAAAAWMoKFUOT0ZTLkRUTUxNZXRob2RxAVUKRFRNTE1ldGhvZHECdHED
TnQufXEEKFUFdGl0bGVxBVUAVQNyYXdxBlW+PGR0bWwtdmFyIHN0YW5kYXJkX2h0bWxfaGVhZGVy
PgoKPGR0bWwtY2FsbCAiUkVRVUVTVC5zZXQoJ2RpcicsUEFSRU5UU1swXSkiPgoKPGR0bWwtY2Fs
bCAibWFuYWdlX2FkZEJvcmluZyhpZD0ncnInLCB0aXRsZT0ncycpIj4KPGR0bWwtY2FsbCAiZGly
Lm1hbmFnZV9hZGREVE1MRG9jdW1lbnQoaWQ9J2trJywgdGl0bGU9J3MnKSI+CnEHVRJfX2FjX2xv
Y2FsX3JvbGVzX19xCH1xCVUJc3VwZXJ1c2VycQpdcQtVBU93bmVycQxhc1UHZ2xvYmFsc3ENfXEO
VQhfX25hbWVfX3EPVQN2dnZxEFUFX3ZhcnNxEX1xEnUu/////////////////////w==

------=_NextPart_000_001A_01BF4BDB.C3A11CA0--