I have created a (so far very) simple Z Class that inherits from ZObject and ZObjectManager. The Subobjects tab lets me select any kind of object *except* a ReStructuredText Document, which is provided by the ZReST 1.0 Product. Richard Jones, the ZReST author, suggested that perhaps a mixin class was needed in ZReST for this to work. What is required here?
This is the response I get when attempting to add ReStructuredText Document to the Subobjects list of my Z Class: Status: 500 Internal Server Error X-Powered-By: Zope (www.zope.org), Python (www.python.org) Bobo-Exception-File: C:\PROGRA~1\Zope1\lib\python\ZODB\Connection.py Bobo-Exception-Type: UnpickleableError Content-Type: text/html Bobo-Exception-Value: bobo exception Content-Length: 1608 Bobo-Exception-Line: 345 <html><head><title>Course</title></head><body bgcolor="#FFFFFF"> <table border="0" width="100%"> <tr valign="TOP"> <td width="10%" align="center"> <img src="http://127.0.0.1/Zope/p_/ZButton" alt="Zope"> </td> <td width="90%"> <h2>Zope Error</h2> <p>Zope has encountered an error while publishing this resource.</p> <p> <strong>Error Type: UnpickleableError</strong><br> <strong>Error Value: Cannot pickle <type 'module'> objects</strong><br> </p> <hr noshade> <p>Troubleshooting Suggestions</p> <ul> <li>The URL may be incorrect.</li> <li>The parameters passed to this resource may be incorrect.</li> <li>A resource that this resource relies on may be encountering an error.</li> </ul> <p>For more detailed information about the error, please refer to the HTML source for this page. </p> <p>If the error persists please contact the site maintainer. Thank you for your patience. </p> </td></tr> </table> </body></html> <!-- Traceback (innermost last): File C:\PROGRA~1\Zope1\lib\python\ZPublisher\Test.py, line 191, in publish_module File C:\PROGRA~1\Zope1\lib\python\ZPublisher\Publish.py, line 114, in publish File C:\PROGRA~1\Zope1\lib\python\Zope\__init__.py, line 159, in zpublisher_exception_hook File C:\PROGRA~1\Zope1\lib\python\ZPublisher\Publish.py, line 102, in publish File C:\PROGRA~1\Zope1\lib\python\Zope\__init__.py, line 173, in commit File C:\PROGRA~1\Zope1\lib\python\ZODB\Transaction.py, line 234, in commit File C:\PROGRA~1\Zope1\lib\python\ZODB\Connection.py, line 345, in commit UnpickleableError: (see above) --> _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )