From: Jon E. <jo...@pc...> - 2001-12-07 16:53:21
|
Thanks for the help Patrick, The traceback was - ____________________________________________________________________________ ____ Traceback (most recent call last): File "boa.py", line 455, in ? main() File "boa.py", line 438, in main app = BoaApp() File "boa.py", line 294, in __init__ wxApp.__init__(self, false) File "c:\python21\wxPython\wx.py", line 1573, in __init__ _wxStart(self.OnInit) File "boa.py", line 313, in OnInit inspector = Inspector.InspectorFrame(self.main) File "C:\Boacvs\boa\Inspector.py", line 107, in __init__ self._init_ctrls(parent) File "C:\Boacvs\boa\Inspector.py", line 85, in _init_ctrls self.statusBar = wxStatusBar(id = wxID_INSPECTORFRAMESTATUSBAR, name = 'stat usBar', parent = self, pos = wxPoint(0, 430), size = wxSize(282, 20), style = wx ST_SIZEGRIP) File "c:\python21\wxPython\stattool.py", line 55, in __init__ self.this = apply(stattoolc.new_wxStatusBar,_args,_kwargs) TypeError: size is an invalid keyword argument for this function ____________________________________________________________________________ ________ So I removed "size = wzSize(282, 20)" from _init_ctrls in Inspector.py I then got a similar Traceback saying "pos is an invalid argument..." So I removed "pos = wxPoint(0, 430)" Then I got "No drives defined, attempt autodetect?" - when I said "Yes" it crashed with a Traceback so long, my DOS Window scrolled past it and I couldn't get it back! So I tried again and said "No". This time I got an error in ErrorStackFrm.py -line 45 - the Size and Pos arguments again. Removed them. This time it opened! :-) But there was an error "can't open file 'C:\BOACVS\BOA\Docs/tips.txt' (error 3: the system cannot find the path specified)" ...not a big deal, but it would be nice to fix it if that's possible? Note : I found out the "No drives defined" error was cos I'd accidentally downloaded everything as read-only from CVS! Oooops! Once i fixed that, it was able to auto-detect the drives Sorry for the long message, hoping it might help others in a similar situation! I now seem to have a working Boa... unless I missed something? But when I click on Zope in the Transports, nothing happens. Is there a config/preference I have to set somewhere to specify my Zope location, username, password? Cheers, Jon > -----Original Message----- > From: Patrick K. O'Brien [mailto:po...@or...] > Sent: 07 December 2001 15:16 > To: Jon Edwards; boa...@li... > Subject: RE: [Boa Constr] Newbie help please! > > > I posted another message about this, but you might not have seen it. In a > nutshell, a status bar method signature (ie, what parameters are expected) > changed in the wxPython beta. The boa code has not been updated > yet. Again, > it is easy to fix. There are two spots in the boa code that call > this status > bar method. The Python error message will give you the line > number and file > name. Start boa from a dos window to see the complete error message. (C:\> > python boa.py) Simply remove the extra parameters from the method calls. > > Hope that helps. (Wish I had documented this when I did it for > myself.) Feel > free to write back if it didn't work or if you have further problems. > > --- > Patrick K. O'Brien > Orbtech.com - Your Source For Python Development Services |