From: Riaan B. <riaan@e.co.za> - 2001-09-06 01:28:29
|
Hi Sherlock, sherlock costello wrote: > > Thanx for the advice. I've just installed and run 0.0.13 and now i get a > different > thing. I can create a new Zope in the Zope folder (under Transport in your > explorer tree), but when i click on the new Zope i've just made, i get a > pop-up dialog that says: ZOA not found in the Zope root. Install the ZOA > Python Method. So far so good... > > but when i click "Yes" it errors and doesn't install the ZOA stuff. Also, > previously, (in 0.0.12) i was able to right click on the Zope object I > create and choose "inspect" from the pop up menu and edit attributes (like > username/password). I can no longer see how to do this. So that's a > possible source of errors (the fact that it's not using the correct > username/pass for my zope site). Your zope user account has to have the Manager role to install the ZOA Python script. Also make sure your username and password is correct. Some Zope features still work with an incorrect username/password. (Those that only require read access) > > Thanx again for any attention, and let me know if there's something i can > do. > > Here's the trace from the ZOA install error: > > E:\usr\boa>python Boa.py > Starting Boa Constructor v0.0.13 > Setting user preferences > creating Palette > importing Palette > importing extra wxPython libraries > importing PropertyEditors > importing Companions > ZopeLib\DateTime\DateTime.py:90: DeprecationWarning: the regex module is > deprecated; please use the re module > import sys, os, math, regex, ts_regex, DateTimeZone > c:\python21\lib\regsub.py:15: DeprecationWarning: the regsub module is > deprecated; please use re.sub() > DeprecationWarning) > creating Inspector > importing Inspector > creating Editor > importing Editor > importing Models > importing Explorers > importing Views > importing Controllers > importing Designer > attaching wxPython doc strings > showing main frames > Traceback (most recent call last): > File "Explorers\Explorer.py", line 238, in OnOpen > lst = data.openList() > File "Explorers\ZopeExplorer.py", line 195, in openList > self.properties['passwd'], id = 'ZOA') > File "ZopeLib\Client.py", line 345, in call > return apply(Function(cp__url,username=cp__username, > password=cp__password), (), kw) > File "ZopeLib\Client.py", line 226, in __call__ > self.handleError(query, ec, em, headers, response) > File "ZopeLib\Client.py", line 241, in handleError > raise t, RemoteException(t,v,f,l,self.url,query,ec,em,response) > AttributeError: <HTML><HEAD><TITLE>Zope</TITLE></HEAD><BODY > BGCOLOR="#FFFFFF"> <TABLE BORDER="0" WIDTH="100%"> <TR VAL > IGN="TOP"> <TD WIDTH="10%" ALIGN="CENTER"> <IMG > SRC="http://localhost:8080/p_/ZButton" ALT="Zope"> </TD> <TD WIDTH="90 > %"> <H2>Zope Error</H2> <P> (File: > C:\PROGRA~1\Zale\lib\python\App\Product.py Line: 135) > 500 Internal Server Error for > http://localhost:8080///manage_addProduct/PythonScripts/manage_addPythonScri > pt > Traceback (most recent call last): > File "Explorers\Explorer.py", line 238, in OnOpen > lst = data.openList() > File "Explorers\ZopeExplorer.py", line 209, in openList > raise 'The ZOA component must be installed' > The ZOA component must be installed > > +-----Original Message----- > +From: Riaan Booysen [mailto:riaan@e.co.za] > +Sent: Tuesday, September 04, 2001 11:43 PM > +To: sherlock costello > +Cc: boa...@li... > +Subject: Re: [Boa Constr] zope problems > + > + > +Hi Sherlock, I think the problem is that the ZOA python method is not > +installed on your Zope. The 0.0.13 version available in CVS auto > +installs it. Try it out. > + > +sherlock costello wrote: > +> > +> I've got the latest boa from cvs and i'm running zope 2.4.0 -- when i > +> try to access my zope from boa, i get the following error: > +> > +> 13:35:48: Traceback (most recent call > +> last): > +> 13:35:48: File "Explorers/Explorer.py", line 365, in > +> OnSelect > +> 13:35:48: > +> self.selectTreeItem(item) > +> 13:35:48: File "Explorers/Explorer.py", line 343, in > +> selectTreeItem > +> 13:35:48: self.list.refreshItems(imgs, > +> data) > +> 13:35:48: File "Explorers/Explorer.py", line 231, in > +> refreshItems > +> 13:35:48: try: self.items = > +> explNode.openList() > +> 13:35:48: File "Explorers/ZopeExplorer.py", line 183, in > +> openList > +> 13:35:48: raise > +> Utils.html2txt(error.faultString) > +> 13:35:48: Unexpected Zope exception: cannot marshal > +> objects > +> > +> I thought perhaps this was related to my running wxPython 2.3.1, so i > +> made the effort to back down to 2.3.0 yet still received the same error. > + > +Well, 2.3.0 is still the required version (for now) > + > +> > +> ~c > +> > +> _______________________________________________ > +> Boa-constructor-users mailing list > +> Boa...@li... > +> https://lists.sourceforge.net/lists/listinfo/boa-constructor-users > + > +-- > +Riaan Booysen > +___________________________________________________ > +Boa Constructor - RAD GUI building IDE for wxPython > + http://boa-constructor.sourceforge.net > + -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |