<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">I'm sorry Andreas. But I still don't see any solution to this problem. Do you have a solution? or there is no solution at all?<BR><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Andreas Jung &lt;lists@zopyx.com&gt;<BR>To: Allen Huang &lt;swapp0@yahoo.com&gt;; Zope &lt;zope@zope.org&gt;<BR>Sent: Thursday, December 28, 2006 3:33:44 PM<BR>Subject: Re: [Zope] usering module problem on zope 2.8.8<BR><BR>
<DIV>-----BEGIN PGP SIGNED MESSAGE-----<BR>Hash: SHA1<BR><BR><BR><BR>- --On 27. Dezember 2006 16:12:23 -0800 Allen Huang &lt;swapp0@yahoo.com&gt; wrote:<BR><BR>&gt; I basicly copy what I have from 2.8 to 2.9<BR>&gt; its the same problem with the self generated python constructor and the<BR>&gt; self constructor that I made both worked in 2.8 but won't for 2.9<BR>&gt;<BR>&gt; my constructor look like this using<BR>&gt;<BR>&gt; &lt;dtml-with "shpTypeClass.createInObjectManager(REQUEST['id'], REQUEST)"&gt;<BR>&gt;&nbsp;&nbsp;&lt;dtml-call<BR>&gt; "propertysheets.shpTypePoint_desc.manage_editProperties(REQUEST)"&gt;<BR>&gt;&nbsp;&nbsp;&lt;dtml-if NoRedir&gt;<BR>&gt;&nbsp;&nbsp; &lt;dtml-return name="this"&gt;<BR>&gt;&nbsp;&nbsp;&lt;dtml-else&gt;<BR>&gt;&nbsp;&nbsp; &lt;dtml-if DestinationURL&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;dtml-call "RESPONSE.redirect(DestinationURL+'/manage_workspace')"&gt;<BR>&gt;&nbsp;&nbsp;
 &lt;dtml-else&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;dtml-call "RESPONSE.redirect(URL2+'/manage_workspace')"&gt;<BR>&gt;&nbsp;&nbsp; &lt;/dtml-if&gt;<BR>&gt;&nbsp;&nbsp;&lt;/dtml-if&gt;<BR>&gt; &lt;/dtml-with&gt;<BR>&gt;<BR>&gt; the error is<BR>&gt;<BR>&gt; Time2006/12/27 19:48:33.523 GMT+8<BR>&gt; User Name (User Id)admin (admin)<BR>&gt; Request<BR>&gt; URL<A href="http://localhost/test/manage_addProduct/shpProcessing/shpTypeClass_fac" target=_blank>http://localhost/test/manage_addProduct/shpProcessing/shpTypeClass_fac</A><BR>&gt; tory/shpTypeClass_add Exception TypeTypeError<BR>&gt; Exception Valuedefault __new__ takes no parameters<BR>&gt;<BR>&gt; Traceback (innermost last):<BR>&gt; Module ZPublisher.Publish, line 121, in publish<BR>&gt; Module Zope2.App.startup, line 240, in commit<BR>&gt; Module transaction._manager, line 96, in commit<BR>&gt; Module transaction._transaction, line 380, in commit<BR>&gt; Module transaction._transaction, line 378, in commit<BR>&gt;
 Module transaction._transaction, line 433, in _commitResources<BR>&gt; Module ZODB.Connection, line 484, in commit<BR>&gt; Module ZODB.Connection, line 526, in _commit<BR>&gt; Module ZODB.Connection, line 553, in _store_objects<BR>&gt; Module ZODB.serialize, line 407, in serialize<BR>&gt; Module ZODB.serialize, line 416, in _dump<BR>&gt; Module copy_reg, line 70, in _reduce_ex<BR>&gt; TypeError: default __new__ takes no parameters<BR>&gt;<BR>&gt; what is the problem??<BR><BR>&lt;<A href="http://www.zope.org/Collectors/Zope/2005" target=_blank>http://www.zope.org/Collectors/Zope/2005</A>&gt;<BR><BR>- -aj<BR>-----BEGIN PGP SIGNATURE-----<BR>Version: GnuPG v1.4.6 (Darwin)<BR><BR>iD8DBQFFk3NZCJIWIbr9KYwRAgXnAKDc609jQzO/7J1DFWVsAUAwruTSJgCgmJuO<BR>c00q/FmZLZlfb1wkpobNtuI=<BR>=75fR<BR>-----END PGP SIGNATURE-----</DIV></DIV><BR></DIV></div><br>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around
 <br>http://mail.yahoo.com </body></html>