[Zope] changing ownership

nuno nuno@fccn.pt
Thu, 26 Apr 2001 19:24:28 +0100


Hi guys !
does anyone knows how tho change / setting the ownership of an Object
with python or with DTML !!

I tried in python and it gave me the following error :

Zope Error
Zope has encountered an error while publishing this resource.

Error Type: TypeError
Error Value: cannot marshal objects



----------------------------------------------------------------------------
----

Troubleshooting Suggestions

The URL may be incorrect.
The parameters passed to this resource may be incorrect.
A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to the HTML
source for this page.

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




Traceback (innermost last):
  File
/usr/local/Zope/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
222, in publish_module
  File
/usr/local/Zope/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
187, in publish
  File /usr/local/Zope/Zope-2.3.0-linux2-x86/lib/python/Zope/__init__.py,
line 221, in zpublisher_exception_hook
    (Object: Traversable)
  File
/usr/local/Zope/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
171, in publish
  File
/usr/local/Zope/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/mapply.py, line
160, in mapply
    (Object: teste)
  File
/usr/local/Zope/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
112, in call_object
    (Object: teste)
  File /usr/local/Zope/Zope-2.3.0-linux2-x86/lib/python/OFS/DTMLDocument.py,
line 189, in __call__
    (Object: teste)
  File
/usr/local/Zope/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_String.
py, line 538, in __call__
    (Object: teste)
  File
/usr/local/Zope/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_In.py,
line 713, in renderwob
    (Object: acl_users.getUsers())
  File
/usr/local/Zope/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_Let.py,
line 147, in render
    (Object: user=sequence-item)
  File
/usr/local/Zope/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_Let.py,
line 147, in render
    (Object: usernam="user.getUserName()")
  File
/usr/local/Zope/Zope-2.3.0-linux2-x86/lib/python/DocumentTemplate/DT_Util.py
, line 337, in eval
    (Object: gtOwner(user))
    (Info: gtOwner)
  File <string>, line 0, in ?
  File
/usr/local/Zope/Zope-2.3.0-linux2-x86/lib/python/Products/ExternalMethod/Ext
ernalMethod.py, line 269, in __call__
    (Object: gtOwner)
    (Info: ((epires,), {}, None))
  File /usr/local/Zope/Zope-2.3.0-linux2-x86/Extensions/getowner.py, line 8,
in GetOwner
    (Object: Traversable)
  File /usr/local/Zope/Zope-2.3.0-linux2-x86/lib/python/xmlrpclib.py, line
547, in __call__
  File /usr/local/Zope/Zope-2.3.0-linux2-x86/lib/python/xmlrpclib.py, line
625, in __request
  File /usr/local/Zope/Zope-2.3.0-linux2-x86/lib/python/xmlrpclib.py, line
503, in dumps
  File /usr/local/Zope/Zope-2.3.0-linux2-x86/lib/python/xmlrpclib.py, line
278, in dumps
  File /usr/local/Zope/Zope-2.3.0-linux2-x86/lib/python/xmlrpclib.py, line
289, in __dump
TypeError: (see above)