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=""; alt="Zope">

<td width="90%">
  <h2>Zope Error</h2>
  <p>Zope has encountered an error while publishing this resource.</p>

  <strong>Error Type: UnpickleableError</strong><br>
  <strong>Error Value: Cannot pickle <type 'module'> objects</strong><br>

  <hr noshade>

  <p>Troubleshooting Suggestions</p>

    <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 

  <p>For more detailed information about the error, please
  refer to the HTML source for this page.

  <p>If the error persists please contact the site maintainer.
  Thank you for your patience.


Traceback (innermost last):
  File C:\PROGRA~1\Zope1\lib\python\ZPublisher\Test.py, line 191, in 
  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 
  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]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to