[Boa Constr] Re: [wxPython] Boa Status?
Status: Beta
Brought to you by:
riaan
From: Riaan B. <riaan@e.co.za> - 2000-12-02 16:16:55
|
Hi Gordon Gordon Williams wrote: > > Hi Riaan, > > I crashed Boa again and got the trace file. See the notes below. > > A few other small problems. > > 1) Using Editor Explorer to open files. I tried to open the file using Open > on the pop-up menu (right click on file name). Nothing happens. Double click is open, open from the menu still does nothing. > > 2) When you open a file from a certain directory I expected that this > should become the default directory for further opens or saves. It does > not; it defaults back to the boa source directory. Is there a way to change > this or set a default working directory. Actually it always starts on the app's current directory. Unlike the wxPython wxFileDialog it doesn't change it. Technically you can currently change Boa's file dialog by typing: >>> import os >>> os.chdir('subdir') in Boa's shell if you want it to start in 'subdir'. I've changed the FileDialog to now remember the directory it last sucessfully opened a file from if started with '.' as the default directory. It does not change the application's current directory. > > 3) Same problem as 1) but when trying to open a module from the Application > tab. Right-click and Open does not work. Double click on file name does > though - a nice feature. Works for me. On the Application view, right click Open and Toolbar->Open(2) and Editor->Edit->Open opens the file. > > 4) Not a bug but you cant edit source code when the designer is open. It > is not obvious why the file cant be edited if the designer is hidden by > other windows. Maybe a message box should be shown to tell the user to > first close the designer. Such message boxes quickly get in the way. A visual clue like a grayed out source control might be better. I've added this. This is something you only have to learn once. > > 5) There should also be a dialog that asks if you want to post the results > before closing the designer so the work is not lost inadvertently. The work will never be lost inadvertently. The only way to discard changes is to click the Cancel button on the Editor or Inspector's toolbar. > > 6) In the Tutorial I am at the point where the status bar has been created > and I want to add the menu. I open the designer and then close it again (x > system menu). The status bar lines now repeated in the wxFrame1.py. > Another status bar has been created. I cant repeat this one so I'm not sure > what went wrong. Tell me how when you can repeat it. > > > 3) After making the menus and trying to save the changes using > > > the Post button on the Editor, Boa crashes with > > > > > > PYTHON executed an invalid instruction in > > > module <unknown> at 0000:0180aef8. > > > > I can't reproduce this, but Boa now has a crash tracing facility for > > these trying moments. Run Boa with command line option -T and make > > it crash. Start it up again, open Boa.py and select > > > > Edit->View trace log as Traceback > > > > After crunching through the log file a traceback frame should open. > > A file named Boa.trace.stack will also be saved in the Boa directory, > > please mail or post me this file. > > > > I got the Boa.trace file (not Boa.trace.stack). It is 23+ megs. I could not > find the "Edit->View trace log as Traceback" as above. Please send attachments of any significant size only to me, I've rejected this message from the Mailman admin web page. But this answer includes the message so it's ok. I checked, this feature definitely in CVS. If you have an App module open (Boa.py) on the Application view (1st view tab) On the Editor->Edit menu and the right click menu (3rd from bottom) you'll see "View trace log as Traceback" This is the file that gets generated if I run it on the file you sent: ('Core dump stack', 'trace file size: 5224') [File "E:\PROGRA~1\CVS\MYCVS\BOA\Inspector.py", line 453 , File "E:\PROGRA~1\CVS\MYCVS\BOA\Inspector.py", line 533 , File "E:\PROGRA~1\CVS\MYCVS\BOA\PropEdit\PropertyEditors.py", line 127 , File "E:\PROGRA~1\CVS\MYCVS\BOA\PropEdit\PropertyEditors.py", line 164 , File "E:\PROGRA~1\CVS\MYCVS\BOA\RTTI.py", line 64 , File "e:\program files\python\wxPython\frames.py", line 73 , File "E:\PROGRA~1\CVS\MYCVS\BOA\Views\Designer.py", line 1184 , File "E:\PROGRA~1\CVS\MYCVS\BOA\Views\SelectionTags.py", line 334 , File "E:\PROGRA~1\CVS\MYCVS\BOA\Inspector.py", line 136 , File "E:\PROGRA~1\CVS\MYCVS\BOA\Inspector.py", line 768 , File "E:\PROGRA~1\CVS\MYCVS\BOA\Inspector.py", line 453 , File "E:\PROGRA~1\CVS\MYCVS\BOA\Inspector.py", line 533 , File "e:\program files\python\wxPython\controls.py", line 335 ] I will look into this crash asap. > Im sending you the last part of the Boa.trace file. I hope that it is > enough for you to figure it out. > Yes, the last part is the most important. -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |