[Zope] Newbie product question

Marie Robichon robichon@esrf.fr
Wed, 21 Aug 2002 09:48:46 +0200


--=====================_4977147==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

Hi,

Thanks for your help, however when I move the manage_add method to the 
class level I get the following error when I try to instantiate my object:

Error Type: RuntimeError
Error Value: maximum recursion depth exceeded

Traceback (innermost last):
   File C:\Program Files\ZopeAug2002\lib\python\ZPublisher\Publish.py, line 
150, in publish_module
   File C:\Program Files\ZopeAug2002\lib\python\ZPublisher\Publish.py, line 
114, in publish
   File C:\Program Files\ZopeAug2002\lib\python\Zope\__init__.py, line 159, 
in zpublisher_exception_hook
   File C:\Program Files\ZopeAug2002\lib\python\ZPublisher\Publish.py, line 
98, in publish
   File C:\Program Files\ZopeAug2002\lib\python\ZPublisher\mapply.py, line 
88, in mapply
     (Object: manage_addAction)
   File C:\Program Files\ZopeAug2002\lib\python\ZPublisher\Publish.py, line 
39, in call_object
     (Object: manage_addAction)
   File C:\ZopeAug2002\Products\ESRFFolder\ESRFFolder.py, line 43, in 
manage_addAction
   File C:\ZopeAug2002\lib\python\mxm\mxmSimpleItem.py, line 124, in addClass
   File C:\Program Files\ZopeAug2002\lib\python\OFS\ObjectManager.py, line 
267, in _setObject
     (Object: Zope)
   File C:\ZopeAug2002\Products\ESRFFolder\ESRFFolder.py, line 23, in 
manage_afterAdd
     (Object: test6)
   File C:\ZopeAug2002\Products\ESRFFolder\ESRFFolder.py, line 23, in 
manage_afterAdd
     (Object: test6)
etc, etc, etc.....

TIA

Marie



--=====================_4977147==_.ALT
Content-Type: text/html; charset="us-ascii"

<html>
Hi,<br>
<br>
Thanks for your help, however when I move the manage_add method to the
class level I get the following error when I try to instantiate my
object:<br>
<br>
<b>Error Type: RuntimeError<br>
<table border=0>
<tr><th width=702>Error Value: maximum recursion depth
exceeded</b></th></tr>
</table>
<br>
<font face="Courier New, Courier">Traceback (innermost last):<br>
&nbsp; File C:\Program
Files\ZopeAug2002\lib\python\ZPublisher\Publish.py, line 150, in
publish_module<br>
&nbsp; File C:\Program
Files\ZopeAug2002\lib\python\ZPublisher\Publish.py, line 114, in
publish<br>
&nbsp; File C:\Program Files\ZopeAug2002\lib\python\Zope\__init__.py,
line 159, in zpublisher_exception_hook<br>
&nbsp; File C:\Program
Files\ZopeAug2002\lib\python\ZPublisher\Publish.py, line 98, in
publish<br>
&nbsp; File C:\Program Files\ZopeAug2002\lib\python\ZPublisher\mapply.py,
line 88, in mapply<br>
&nbsp;&nbsp;&nbsp; (Object: manage_addAction)<br>
&nbsp; File C:\Program
Files\ZopeAug2002\lib\python\ZPublisher\Publish.py, line 39, in
call_object<br>
&nbsp;&nbsp;&nbsp; (Object: manage_addAction)<br>
&nbsp; File C:\ZopeAug2002\Products\ESRFFolder\ESRFFolder.py, line 43, in
manage_addAction<br>
&nbsp; File C:\ZopeAug2002\lib\python\mxm\mxmSimpleItem.py, line 124, in
addClass<br>
&nbsp; File C:\Program Files\ZopeAug2002\lib\python\OFS\ObjectManager.py,
line 267, in _setObject<br>
&nbsp;&nbsp;&nbsp; (Object: Zope)<br>
&nbsp; File C:\ZopeAug2002\Products\ESRFFolder\ESRFFolder.py, line 23, in
manage_afterAdd<br>
&nbsp;&nbsp;&nbsp; (Object: test6)<br>
&nbsp; File C:\ZopeAug2002\Products\ESRFFolder\ESRFFolder.py, line 23, in
manage_afterAdd<br>
&nbsp;&nbsp;&nbsp; (Object: test6)<br>
etc, etc, etc.....<br>
<br>
TIA<br>
<br>
Marie<br>
<br>
<br>
</font></html>

--=====================_4977147==_.ALT--