<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">
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">I basicly copy what I have from 2.8 to 2.9</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">its the same problem&nbsp;with the self generated python constructor and the self constructor that I made</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">both worked in 2.8 but won't for 2.9</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">my constructor look like this using </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&lt;dtml-with "shpTypeClass.createInObjectManager(REQUEST['id'], REQUEST)"&gt;<BR>&nbsp;&lt;dtml-call "propertysheets.shpTypePoint_desc.manage_editProperties(REQUEST)"&gt;<BR>&nbsp;&lt;dtml-if NoRedir&gt;<BR>&nbsp;&nbsp;&lt;dtml-return name="this"&gt;<BR>&nbsp;&lt;dtml-else&gt;<BR>&nbsp;&nbsp;&lt;dtml-if DestinationURL&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;dtml-call "RESPONSE.redirect(DestinationURL+'/manage_workspace')"&gt;<BR>&nbsp;&nbsp;&lt;dtml-else&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;dtml-call "RESPONSE.redirect(URL2+'/manage_workspace')"&gt;<BR>&nbsp;&nbsp;&lt;/dtml-if&gt;<BR>&nbsp;&lt;/dtml-if&gt;<BR>&lt;/dtml-with&gt;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">the error is</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<TABLE>
<TBODY>
<TR>
<TH vAlign=top align=left>Time</TH>
<TD>2006/12/27 19:48:33.523 GMT+8</TD></TR>
<TR>
<TH vAlign=top align=left>User Name (User Id)</TH>
<TD>admin (admin)</TD></TR>
<TR>
<TH vAlign=top align=left>Request URL</TH>
<TD>http://localhost/test/manage_addProduct/shpProcessing/shpTypeClass_factory/shpTypeClass_add</TD></TR>
<TR>
<TH vAlign=top align=left>Exception Type</TH>
<TD>TypeError</TD></TR>
<TR>
<TH vAlign=top align=left>Exception Value</TH>
<TD>default __new__ takes no parameters</TD></TR></TBODY></TABLE>
<DIV>
<P>Traceback (innermost last): 
<UL>
<LI>Module ZPublisher.Publish, line 121, in publish 
<LI>Module Zope2.App.startup, line 240, in commit 
<LI>Module transaction._manager, line 96, in commit 
<LI>Module transaction._transaction, line 380, in commit 
<LI>Module transaction._transaction, line 378, in commit 
<LI>Module transaction._transaction, line 433, in _commitResources 
<LI>Module ZODB.Connection, line 484, in commit 
<LI>Module ZODB.Connection, line 526, in _commit 
<LI>Module ZODB.Connection, line 553, in _store_objects 
<LI>Module ZODB.serialize, line 407, in serialize 
<LI>Module ZODB.serialize, line 416, in _dump 
<LI>Module copy_reg, line 70, in _reduce_ex </LI></UL>TypeError: default __new__ takes no parameters </DIV>
<DIV>&nbsp;</DIV>
<DIV>what is the problem??</DIV></DIV><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: Wednesday, December 27, 2006 7:35:42 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 03:26:28 -0800 Allen Huang &lt;swapp0@yahoo.com&gt; wrote:<BR><BR>&gt; I couldn't make a Z Class like I<BR>&gt; use to do when I'm was using Zope 2.8.<BR>&gt;<BR><BR>Why not? Where is your error description?<BR><BR>- -aj<BR>-----BEGIN PGP SIGNATURE-----<BR>Version: GnuPG v1.4.6 (Darwin)<BR><BR>iD8DBQFFklqOCJIWIbr9KYwRAhK1AKCaei70217Ma7gMn/1bdCUBNl5ciQCff99b<BR>KAMazCP5qofY2mIhe/OIetc=<BR>=2Vxi<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>