<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
hi, every one<br>
    I'm a novice to zope. when I follow the example of zoopBook2.7
(<a class="moz-txt-link-freetext" href="http://www.plope.com/Books/2_7Edition/CustomZopeObjects.stx#2-47">http://www.plope.com/Books/2_7Edition/CustomZopeObjects.stx#2-47</a>), I
failed in adding ZClass instance. And the errlog is below.<br>
    Can someone tell me what's wrong or how sould I to fix it or where
to find the answer. Thanks.<br>
<br>
by nienfeng<br>
<br>
<br>
<table>
  <tbody>
    <tr>
      <th align="left" valign="top">Exception Value</th>
      <td>default __new__ takes no parameters</td>
    </tr>
  </tbody>
</table>
<p>Traceback (innermost last):
</p>
<ul>
  <li> Module ZPublisher.Publish, line 121, in publish</li>
  <li> Module Zope2.App.startup, line 240, in commit</li>
  <li> Module transaction._manager, line 96, in commit</li>
  <li> Module Products.CPSCompat.PatchZODBTransaction, line 175, in
commit</li>
  <li> Module transaction._transaction, line 433, in _commitResources</li>
  <li> Module ZODB.Connection, line 484, in commit</li>
  <li> Module ZODB.Connection, line 526, in _commit</li>
  <li> Module ZODB.Connection, line 553, in _store_objects</li>
  <li> Module ZODB.serialize, line 407, in serialize</li>
  <li> Module ZODB.serialize, line 416, in _dump</li>
  <li> Module copy_reg, line 70, in _reduce_ex</li>
</ul>
TypeError: default __new__ takes no parameters<br>
<br>
</body>
</html>