Now the problem is with a manager user too (yesterday this user works ok)<br>I try to inspect the process to see where it fails but seems to be ok<br>The error is raised when Zope try to commit the changes<br><br>This is the traceback:
<br><br><pre>Traceback (innermost last):<br>  Module ZPublisher.Publish, line 121, in publish<br>  Module Zope2.App.startup, line 240, in commit<br>  Module transaction._manager, line 96, in commit<br>  Module transaction._transaction, line 380, in commit
<br>  Module transaction._transaction, line 378, in commit<br>  Module transaction._transaction, line 433, in _commitResources<br>  Module ZODB.Connection, line 484, in commit<br>  Module ZODB.Connection, line 526, in _commit
<br>  Module ZODB.Connection, line 553, in _store_objects<br>  Module ZODB.serialize, line 407, in serialize<br>  Module ZODB.serialize, line 416, in _dump<br>  Module copy_reg, line 69, in _reduce_ex<br>TypeError: can&#39;t pickle instancemethod objects
<br></pre>
<br><br><div><span class="gmail_quote">2007/7/24, Jonathan &lt;<a href="mailto:dev101@magma.ca">dev101@magma.ca</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>----- Original Message -----<br>From: &quot;Garito&quot; &lt;<a href="mailto:garito@sistes.net">garito@sistes.net</a>&gt;<br>To: &lt;<a href="mailto:zope@zope.org">zope@zope.org</a>&gt;<br>Sent: Tuesday, July 24, 2007 10:44 AM
<br>Subject: Re: [Zope] Re: Declare constructor as public<br><br><br>&gt; Hi, J Cameron!<br>&gt; With constructor I mean the function I use to create the object. In this<br>&gt; case:<br>&gt; context.manage_addProduct[&#39;Yanged&#39;].CrearYanged(NuevaId)
<br>&gt;<br>&gt; CrearYanged<br>&gt;<br>&gt; How can I convert it to public?<br><br>Make sure that the folder and the script that contains the<br>&quot;context.manage_addProduct[&#39;Yanged&#39;].CrearYanged(NuevaId)&quot; code are
<br>accessible to the user.<br><br>Also, the folder where the new &#39;Yanged&#39; instance is being created must be<br>&#39;writeable&#39; by the user.<br><br>If it is not working, make sure that &#39;Unauthorized&#39; is not listed in the
<br>&#39;Ignored exception types&#39; list in your error_log, so you can track the<br>problem down.<br><br><br>Jonathan<br><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>Mis Cosas<br><a href="http://blogs.sistes.net/Garito">
http://blogs.sistes.net/Garito</a>