<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<META content="MSHTML 6.00.2800.1528" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=155430421-07032006><FONT size=2>I am trying to do a 
manage_cutObjects in one script and then a manage_pasteObjects. When I execute 
this line from my pasteObjects python script:</FONT></SPAN></DIV>
<DIV><SPAN class=155430421-07032006><FONT 
size=2>context.manage_pasteObjects(cb_copy_data=context.cb_dataItems(),REQUEST=req['__cp'])</FONT></SPAN></DIV>
<DIV><SPAN class=155430421-07032006><FONT size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=155430421-07032006><FONT size=2>I get a message back: 
</FONT></SPAN></DIV>
<DIV><SPAN class=155430421-07032006><FONT size=2>"</FONT><FONT size=2>The data 
in the clipboard could not be read, possibly due to cookie data being truncated 
by your web browser. Try copying fewer objects.<SPAN 
class=155430421-07032006>"</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=155430421-07032006><FONT size=2><SPAN 
class=155430421-07032006></SPAN></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=155430421-07032006><FONT size=2><SPAN 
class=155430421-07032006>I'm not sure why this happens. This doesn't happen from 
the ZMI so it's something to do with how I'm calling context.manage_pasteObjects 
in the above snippet. I also had my pasteObjects script return the clipboard 
data:</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=155430421-07032006><FONT size=2><SPAN 
class=155430421-07032006>&nbsp; print context.cb_dataItems()<BR>&nbsp; return 
printed</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=155430421-07032006><FONT size=2><SPAN 
class=155430421-07032006></SPAN></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=155430421-07032006><FONT size=2><SPAN 
class=155430421-07032006>which returns:</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=155430421-07032006><FONT size=2><SPAN 
class=155430421-07032006></SPAN></FONT></SPAN><SPAN 
class=155430421-07032006><FONT size=2><SPAN 
class=155430421-07032006>[&lt;cmsPage at 
/cmstest/tomspage3.shtml&gt;]</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=155430421-07032006><FONT size=2><SPAN 
class=155430421-07032006></SPAN></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=155430421-07032006><FONT size=2><SPAN 
class=155430421-07032006>So, I know I've got clipboard data but for some reason, 
manage_pasteObjects thinks I don't and raises eInvalid on line 143 of 
OFS.CopySupport.py. Any ideas?</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=155430421-07032006><FONT size=2><SPAN 
class=155430421-07032006></SPAN></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=155430421-07032006><FONT size=2><SPAN 
class=155430421-07032006>Thanks,</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=155430421-07032006><FONT size=2><SPAN 
class=155430421-07032006>Tom Palermo</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=155430421-07032006><FONT size=2><SPAN 
class=155430421-07032006>Senior Web Developer</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=155430421-07032006><FONT size=2><SPAN 
class=155430421-07032006>Constella Group, 
LLC</DIV></SPAN></FONT></SPAN></BODY></HTML>