[Zope] copy/paste python product not working

Tom Cameron tom@cameron.to
Mon, 24 Sep 2001 12:47:35 +1000


Dieter,
there was no error value - all I got was

"The object xxxx does not support this operation"

and the trace below. I created the object the same way as I did 4 other
objects and this is the only one that cant be copied/pasted or renamed.

I could send you all my code but I did not want you to have go through all
the code for me. I just want hints as to what affects the ability to
copy/paste an object.

Tom

=> -----Original Message-----
=> From: Dieter Maurer [mailto:dieter@handshake.de]
=> Sent: Monday, 24 September 2001 3:28 AM
=> To: Tom Cameron
=> Cc: zope@zope.org
=> Subject: Re: [Zope] copy/paste python product not working
=>
=>
=> Tom Cameron writes:
=>  > I am building several python products.
=>  >
=>  > They are all subclassed off:
=>  > Implicit,Persistent,RoleManager,Item,PropertyManager
=>  >
=>  > I find that some products can be cut and pasted with no
=> problem, and some
=>  > products return the error:
=>  >
=>  > Traceback (innermost last):
=>  >   File C:\ZopeSite\lib\python\ZPublisher\Publish.py, line 223, in
=>  > publish_module
=>  > ...
=>  > Copy Error: (see above)
=>  >
=>  > I cant yet work out what the reason is. The products are all
=> very similar,
=>  > so it is not obvious to me what the difference is.
=> It is even more difficult for us as we do not know your products
=> *AND* you have hidden an essential piece of information:
=>
=>   the error value (refered to in the "see above").
=>
=>
=> Dieter
=>