Re: [Boa Constr] correct version of wxPython to use with Boa CVS?
Status: Beta
Brought to you by:
riaan
From: Riaan B. <riaan@e.co.za> - 2002-09-25 16:22:19
|
Hi Steve, Steve Nicholson wrote: > > Hi Riaan > Boa looks like a great piece of software and reading in the list that you are using it professionally to do Zope Sites has encouraged me to keep trying to get it working. I'm very tied of using the browser based ZMI. Interesting typo! 'tired of' and/or 'tied to'? ;) My current commercial project is pure Python, but the previous one was a Zope project. Note that Boa does not completely replace the Browser, its main focus is on supporting the base Zope objects and Document/Source editing. > > What version of wxPython do you recommend to use with Boa CVS? I have wxPythonSrc-2.3.3.1 and starting to wonder if this is causing all my problems. Reading through all the Boa forums and lists I can't determine which is the definitive one to use with CVS version of Boa at the moment. I'm using Boa Constructor v0.1.3a from CVS, wxPythonSrc-2.3.3.1 (wxGTK that comes with wxPython) on Linux Debian 3.0, Zope 2.5.1, wxPython 2.3.2 still has fewer serious issues than 2.3.3 on linux :( On linux there is a serious CPU usage issue, please make sure this Preference is turned off (Preferences->Platform or prefs.gtk.rc.py): edUseCustomSTCPaintEvtHandler = false > I'm also using ION as my window manager and starting to wonder if this is causing some problems as windows don't appear to open correctly, I have to move the window to another frame to for it to refresh to use all the screen. Under the Editor menu Windows->All window dimensions-> there are options to save/load the current settings. Position your windows and save it. This positions windows absolutely, so it should avoid window manager issues (if that is the cause) (Note: I've now found Boa is not the cause for my Zope access problem, so the others I can put up with). > > Errors I'm getting at the moment: > 1. On start up; > 11:22:51: Explorers.DAVExplorer not installed: No module named xml.parsers It fails on this line: from xml.parsers import expat It seems that you don't have expat installed, this is part of standard Python... > 11:22:51: One or more transports could not be loaded, if the problem is not rectifiable, > 11:22:51: consider removing the transport from the "installedtransports" list in the Explorer config. Click "Details" > Not too worried about this as I'm not using WebDAV so can remove it from list. Copy/Pasting from the filesystem uses the DAV support (because of the automatic content handling you get with a DAV PUT) > 2. Connects to Zope fine, for some reason it wouldn't do the auto install of ZOA, kept gettting a permissions error so I imported the ZOA.zexp and can connect ok now. I can browse the objects on the ZODB and view object properties but can't edit them keep getting permssions errors. This (including the auto install problem) are all symptoms of specifying an incorrect password. Just like through the web, incorrect authentication still gives you browsing and some reading rights (the rights that the anonymous user has). There is a bug in Boa with wxPython 2.3.3 where pressing Enter in the Inspector does not post. So make sure you move up or down from the password field to post before tesing again. > 2.1 have investigated the above problem more and it's something to do with Zope not Boa because I can get it to work perfectly on a clean instance of Zope (should have test this earlier). It installed ZOA, can change documents and everything, fantastic this is just what I have been looking for, thank you very much Riaan for releasing it. As you can see from my excitement this is the first time I have got it working properly, it's taken a long time to get this far. Glad you're enjoying it ;) > So now I have to figure out why there is a permissioning problem on my original Zope instance or move everything across. Strange because I have manager roll and can do everything from the Browser ZMI. Luckily, just fix the password :) > 3. Using the Boa Help window; once I have done one search or find, I can't delete or change the text in the search or find box to do another search. Only way round it is to close the help window and open it again. I use wxPython's wxHTMLHelpController classes to display the help. I did not notice this behaviour last time I checked on Linux, will check again. >While I remember, there isn't a link for the Doc's on the http://boa-constructor.sourceforge.net/Download.html or anywhere else, the only way I found them was a URL in one of the messages on this list and that took some finding. The docs are on the Sourceforge downloads page. The Boa app help/tutorial is part of the source distro on the downloads page. > > 4. Clicking on the "test" icon in the Pallete opens a wxFrame.py in the editor, when closing this and not saving I get the following error. Don't know if this is important. I was also getting an error when opening a file from the local FS in the editor about no add module but can't recreate it now so can't get the exact error message. > 13:00:58: AttributeError: 'Editor' module has no attribute 'wxID_EDITORDESIGNER'Traceback (most recent call last): > 13:00:58: AttributeError: 'Editor' module has no attribute 'wxID_EDITORDESIGNER' File"/usr/local/boa/Palette.py", line 318, in OnTest > 13:00:58: Tests.test_wxFrame(self) > 13:00:58: File "/usr/local/boa/Tests.py", line 19, in test_wxFrame 13:00:58: Editor.wxID_EDITORDESIGNER) > 13:00:58: AttributeError: 'Editor' module has no attribute 'wxID_EDITORDESIGNER Yes, I fixed this some time ago, just haven't checked it in yet. The linux test always fails (even when it works ;) because the result it tests against was generated on windows :) > > Well now that I've partly solved my problem with accessing Zope and know it's not Boa sorting out the other errors aren't that important to me they where to let you know about them really. > > Thanks for a fantastic product you have really made my day today with this now I can see what it can do. I'm sure I will become even more impressed with it as I learn how to use it with Zope and Python. Enjoy! > > Steve. > Cheers, Riaan. |