Perhaps not a valuable advice but I remember (years ago) that I couldn't import a ZClass because of something to do with the security even though I was logged in as root Manager. I ended up writing an External Method that in turn calls manage_importObject(file.zexp) and that worked.
I know nothing about Zope 2.9's support for ZClass but wouldn't be surprised to hear that it's changed a lot. On 2/16/06, Edward Huixquic <[EMAIL PROTECTED]> wrote: > Hi Zopistas: > > I am trying to import into a Zope 2.9.0 installation, a ZClass that lives > and runs fine in a Zope 2.8.1. I am getting an error which I attach below > (from my event.log): > > What I am getting is a "ZClassName" does not support this operation. Does > any of you have any idea what is going on and, in any case how can I make to > import that ZClass into the Zope 2.9.0 > > FYI, the Zope 2.8.1 runs in Fedora Core 4 with python 2.3.5, the Zope > 2.9.0 runs on the same machine with Fedora Core 4 but under Python 2.4.2 > > Thanks in advance for any help and/or suggestions. Best regards. > > Edward. > > > EVENT.LOG print out below: > ------ > 2006-02-15T14:21:53 ERROR Zope.SiteErrorLog > http://server:8080/Control_Panel/Products/manage_importObject > Traceback (most recent call last): > File > "/usr/local/Zope-2.9.0/lib/python/ZPublisher/Publish.py", > line 113, in publish > request, bind=1) > File > "/usr/local/Zope-2.9.0/lib/python/ZPublisher/mapply.py", > line 88, in mapply > if debug is not None: return debug(object,args,context) > File > "/usr/local/Zope-2.9.0/lib/python/ZPublisher/Publish.py", > line 40, in call_object > result=apply(object,args) # Type s<cr> to step into published object. > File > "/usr/local/Zope-2.9.0/lib/python/OFS/ObjectManager.py", > line 585, in manage_importObject > set_owner=set_owner) > File > "/usr/local/Zope-2.9.0/lib/python/OFS/ObjectManager.py", > line 604, in _importObjectFromFile > if verify: self._verifyObjectPaste(ob, validate_src=0) > File > "/usr/local/Zope-2.9.0/lib/python/OFS/CopySupport.py", line > 527, in _verifyObjectPaste > action = 'manage_main') > Copy Error: > <HTML> > <HEAD> > <TITLE>Not Supported</TITLE> > </HEAD> > <BODY BGCOLOR="#FFFFFF"> > <FORM ACTION="manage_main" METHOD="GET" > > <TABLE BORDER="0" WIDTH="100%" CELLPADDING="10"> > <TR> > <TD VALIGN="TOP"> > <BR> > <CENTER><B><FONT SIZE="+6" > COLOR="#77003B">!</FONT></B></CENTER> > </TD> > <TD VALIGN="TOP"> > <BR><BR> > <CENTER> > The object <em>Formas</em> does not support this operation. > </CENTER> > </TD> > </TR> > <TR> > <TD VALIGN="TOP"> > </TD> > <TD VALIGN="TOP"> > <CENTER> > <INPUT TYPE="SUBMIT" VALUE=" Ok "> > </CENTER> > </TD> > </TR> > </TABLE> > </FORM> > </BODY></HTML> > ------ > > > > _______________________________________________ > Zope maillist - Zope@zope.org > http://mail.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://mail.zope.org/mailman/listinfo/zope-announce > http://mail.zope.org/mailman/listinfo/zope-dev ) > > > -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )