boa-constructor-users Mailing List for Boa Constructor - wxPython GUI Builder (Page 153)
Status: Beta
Brought to you by:
riaan
You can subscribe to this list here.
2000 |
Jan
|
Feb
(1) |
Mar
(18) |
Apr
(4) |
May
(17) |
Jun
(14) |
Jul
(18) |
Aug
(3) |
Sep
(30) |
Oct
(16) |
Nov
(11) |
Dec
(9) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(19) |
Feb
(10) |
Mar
(4) |
Apr
(6) |
May
(27) |
Jun
(37) |
Jul
(44) |
Aug
(44) |
Sep
(49) |
Oct
(4) |
Nov
(6) |
Dec
(12) |
2002 |
Jan
(27) |
Feb
(22) |
Mar
(48) |
Apr
(21) |
May
(20) |
Jun
(6) |
Jul
(33) |
Aug
(34) |
Sep
(9) |
Oct
(41) |
Nov
(14) |
Dec
(35) |
2003 |
Jan
(75) |
Feb
(75) |
Mar
(59) |
Apr
(22) |
May
(18) |
Jun
(36) |
Jul
(50) |
Aug
(106) |
Sep
(71) |
Oct
(63) |
Nov
(81) |
Dec
(58) |
2004 |
Jan
(48) |
Feb
(42) |
Mar
(57) |
Apr
(64) |
May
(81) |
Jun
(30) |
Jul
(15) |
Aug
(39) |
Sep
(56) |
Oct
(61) |
Nov
(27) |
Dec
(20) |
2005 |
Jan
(74) |
Feb
(62) |
Mar
(237) |
Apr
(83) |
May
(138) |
Jun
(132) |
Jul
(61) |
Aug
(51) |
Sep
(17) |
Oct
(22) |
Nov
(59) |
Dec
(32) |
2006 |
Jan
(7) |
Feb
(7) |
Mar
(24) |
Apr
(15) |
May
(19) |
Jun
(46) |
Jul
(26) |
Aug
(51) |
Sep
(35) |
Oct
(90) |
Nov
(27) |
Dec
(23) |
2007 |
Jan
(22) |
Feb
(17) |
Mar
(14) |
Apr
(28) |
May
(38) |
Jun
(44) |
Jul
(34) |
Aug
(40) |
Sep
(29) |
Oct
(44) |
Nov
(16) |
Dec
(15) |
2008 |
Jan
(12) |
Feb
(37) |
Mar
(48) |
Apr
(35) |
May
(37) |
Jun
(32) |
Jul
(30) |
Aug
(28) |
Sep
(33) |
Oct
(19) |
Nov
(44) |
Dec
(45) |
2009 |
Jan
(30) |
Feb
(16) |
Mar
(48) |
Apr
(56) |
May
(100) |
Jun
(4) |
Jul
(1) |
Aug
|
Sep
|
Oct
(7) |
Nov
|
Dec
(3) |
2010 |
Jan
(8) |
Feb
(3) |
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(6) |
Nov
(22) |
Dec
|
2011 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(2) |
Dec
(1) |
2012 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
(5) |
Feb
(1) |
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Riaan B. <riaan@e.co.za> - 2000-12-25 08:10:24
|
Jared Eckersley wrote: > > Thanks for the reply, I actually did check out the docs before posting, but > still am a little confused on how to set a menu. When I try to set a menu, > it tells me the component must be created in data. I am not sure what this > means. The white window called 'Data' that opens in the Editor when you open a frame is the Data View, drop the menu on it. > Can you give a little more specific detail as to how to create a > menu please. > - Jared The Tutorial (especially Docs/Guide/node24.html) is very specific and has loads of detail, please work through that. > At 06:03 AM 12/24/2000 +0200, Riaan Booysen wrote: > >Hi Jared, > > > >Jared Eckersley wrote: > > > > > > Hello, I am new to Boa and was wondering how to add menu bars to the app? > > > - Jared > > > >In the CVS version of Boa under Docs/Guide you'll find an excellent > >Getting Started Guide and Tutorial (by Kevin Gill) that explains this > >and a lot more. > > > >-- > >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 |
From: Jared E. <ja...@vo...> - 2000-12-25 00:17:29
|
Thanks for the reply, I actually did check out the docs before posting, but still am a little confused on how to set a menu. When I try to set a menu, it tells me the component must be created in data. I am not sure what this means. Can you give a little more specific detail as to how to create a menu please. - Jared At 06:03 AM 12/24/2000 +0200, Riaan Booysen wrote: >Hi Jared, > >Jared Eckersley wrote: > > > > Hello, I am new to Boa and was wondering how to add menu bars to the app? > > - Jared > >In the CVS version of Boa under Docs/Guide you'll find an excellent >Getting Started Guide and Tutorial (by Kevin Gill) that explains this >and a lot more. > >-- >Riaan Booysen >___________________________________________________ >Boa Constructor - RAD GUI building IDE for wxPython > http://boa-constructor.sourceforge.net |
From: Riaan B. <riaan@e.co.za> - 2000-12-24 04:00:39
|
Hi Jared, Jared Eckersley wrote: > > Hello, I am new to Boa and was wondering how to add menu bars to the app? > - Jared In the CVS version of Boa under Docs/Guide you'll find an excellent Getting Started Guide and Tutorial (by Kevin Gill) that explains this and a lot more. -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Jared E. <ja...@vo...> - 2000-12-23 20:43:11
|
Hello, I am new to Boa and was wondering how to add menu bars to the app? - Jared |
From: Riaan B. <riaan@e.co.za> - 2000-12-16 11:54:19
|
Hi Steve, same goes for windows, You seem to be using wxPython 2.2.2 which introduced changes to Scintilla's interface. Boa 0.0.4 is not compatible with it. If you really need 2.2.2, you can check out the version in CVS. Else switch back to 2.2.1 until Boa 0.0.5 is released. "Steve A." wrote: > > Unfortunately, I'm having the same problem as the fellow how posted back on > 11-3. > Any help on getting Boa up and running (on Linux) would be *highly* > appreciated. thanks! > (BTW, I'm using RedHat 6.2, Python1.5.2, and the latest version of > wxPython for Python 1.5.2) > > See Below: > > Python 1.5.2 (#1, Feb 1 2000, 16:32:16) [GCC egcs-2.91.66 19990314/Linux > (egcs- on linux-i386 > Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam > >>> import Boa > importing wxPython... > imported wxPython > imported Prefs > imported PaletteMapping > imported Editor > imported Inspector > imported Palette > imported Editor > Traceback (innermost last): > File "<stdin>", line 1, in ? > File "Boa.py", line 119, in ? > File "Boa.py", line 112, in main > File "Boa.py", line 49, in __init__ > class BoaApp(wxApp): > File "/usr/lib/python1.5/site-packages/wxPython/wx.py", line 1640, in > __init__ > _wxStart(self.OnInit) > File "Boa.py", line 58, in OnInit > # EVT_ACTIVATE_APP(self, self.OnActivate) > File "Palette.py", line 157, in __init__ > wxMenu(), self.componentSB, app)#palettePage.menu > File "Editor.py", line 135, in __init__ > self.addShellPage() > File "Editor.py", line 310, in addShellPage > self.tabs.AddPage(ShellEditor.ShellEditor(self.tabs, -1), 'Shell') > File "ShellEditor.py", line 26, in __init__ > PythonStyledTextCtrlMix.__init__(self, wId, -1) > File "Views/StyledTextCtrls.py", line 137, in __init__ > self.SetKeywords(0, > AttributeError: SetKeywords > > Script done on Fri Dec 15 01:46:07 2000 > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > http://lists.sourceforge.net/mailman/listinfo/boa-constructor-users -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Steve A. <ai...@mi...> - 2000-12-16 05:50:41
|
Unfortunately, I'm having the same problem as the fellow how posted back on 11-3. Any help on getting Boa up and running (on Linux) would be *highly* appreciated. thanks! (BTW, I'm using RedHat 6.2, Python1.5.2, and the latest version of wxPython for Python 1.5.2) See Below: Python 1.5.2 (#1, Feb 1 2000, 16:32:16) [GCC egcs-2.91.66 19990314/Linux (egcs- on linux-i386 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>> import Boa importing wxPython... imported wxPython imported Prefs imported PaletteMapping imported Editor imported Inspector imported Palette imported Editor Traceback (innermost last): File "<stdin>", line 1, in ? File "Boa.py", line 119, in ? File "Boa.py", line 112, in main File "Boa.py", line 49, in __init__ class BoaApp(wxApp): File "/usr/lib/python1.5/site-packages/wxPython/wx.py", line 1640, in __init__ _wxStart(self.OnInit) File "Boa.py", line 58, in OnInit # EVT_ACTIVATE_APP(self, self.OnActivate) File "Palette.py", line 157, in __init__ wxMenu(), self.componentSB, app)#palettePage.menu File "Editor.py", line 135, in __init__ self.addShellPage() File "Editor.py", line 310, in addShellPage self.tabs.AddPage(ShellEditor.ShellEditor(self.tabs, -1), 'Shell') File "ShellEditor.py", line 26, in __init__ PythonStyledTextCtrlMix.__init__(self, wId, -1) File "Views/StyledTextCtrls.py", line 137, in __init__ self.SetKeywords(0, AttributeError: SetKeywords Script done on Fri Dec 15 01:46:07 2000 |
From: Riaan B. <riaan@e.co.za> - 2000-12-02 16:17:24
|
Hi Steven, thanks for helping out, This is quite and old bug. I've isolated the problem before. It seems you cannot call modal dialogs while in the click event of a GenericButton. I've now implemented a work around for this by posting an event in the on click event and then popping up the save as dialog after the on click has finished. Works now. "Steven D. Arnold" wrote: > > Hi, > > I am playing with Boa Constructor, picking minor problems and trying to fix > them. The issue I'm dealing with now is this: when you click the "Package" > button, you get a save dialog; however, if you click "Cancel," the dialog > does not necessarily go away. Often I have to click cancel a dozen times > or more before the dialog disappears. > > I isolated the problem to the following function: > > def saveAsDlg(self, filename, filter = '*.py'): > dir, name = path.split(filename) > dlg = wxFileDialog(self, 'Save as...', dir, name, filter, > wxSAVE | wxOVERWRITE_PROMPT) > > try: > print "getting ready to execute showmodal" > if dlg.ShowModal() == wxID_OK: > print "showmodal returned wxID_OK" > return dlg.GetPath(), true > else: > print "showmodal did not return wxID_OK" > return '', false > finally: > dlg.Destroy() > > It looks like wxFileDialog and ShowModal are being called > correctly. However, the console prints the following: > > 6 > C:\boa > getting ready to execute showmodal > 6 > C:\boa > getting ready to execute showmodal > 6 > C:\boa > getting ready to execute showmodal > 6 > C:\boa > getting ready to execute showmodal > 6 > C:\boa > getting ready to execute showmodal > 6 > C:\boa > getting ready to execute showmodal > 6 > C:\boa > getting ready to execute showmodal > 6 > C:\boa > getting ready to execute showmodal > 6 > C:\boa > getting ready to execute showmodal > 6 > C:\boa > getting ready to execute showmodal > 6 > C:\boa > getting ready to execute showmodal > 6 > C:\boa > getting ready to execute showmodal > showmodal did not return wxID_OK > showmodal did not return wxID_OK > showmodal did not return wxID_OK > showmodal did not return wxID_OK > showmodal did not return wxID_OK > showmodal did not return wxID_OK > showmodal did not return wxID_OK > showmodal did not return wxID_OK > showmodal did not return wxID_OK > showmodal did not return wxID_OK > showmodal did not return wxID_OK > showmodal did not return wxID_OK > > In short, it looks like we never got out of the ShowModal call; each time I > clicked on the cancel button, it's as if a new thread were started calling > the SaveAsDlg function. Anyone have any idea what's going on here? > > -- > Steven D. Arnold Que quiero sera st...@ne... > "He was part of my dream, of course -- but then I was part of his dream > too." -- Lewis Carroll > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > http://lists.sourceforge.net/mailman/listinfo/boa-constructor-users -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
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 |
From: Steven D. A. <st...@ne...> - 2000-12-01 05:01:48
|
Hi, I am playing with Boa Constructor, picking minor problems and trying to fix them. The issue I'm dealing with now is this: when you click the "Package" button, you get a save dialog; however, if you click "Cancel," the dialog does not necessarily go away. Often I have to click cancel a dozen times or more before the dialog disappears. I isolated the problem to the following function: def saveAsDlg(self, filename, filter = '*.py'): dir, name = path.split(filename) dlg = wxFileDialog(self, 'Save as...', dir, name, filter, wxSAVE | wxOVERWRITE_PROMPT) try: print "getting ready to execute showmodal" if dlg.ShowModal() == wxID_OK: print "showmodal returned wxID_OK" return dlg.GetPath(), true else: print "showmodal did not return wxID_OK" return '', false finally: dlg.Destroy() It looks like wxFileDialog and ShowModal are being called correctly. However, the console prints the following: 6 C:\boa getting ready to execute showmodal 6 C:\boa getting ready to execute showmodal 6 C:\boa getting ready to execute showmodal 6 C:\boa getting ready to execute showmodal 6 C:\boa getting ready to execute showmodal 6 C:\boa getting ready to execute showmodal 6 C:\boa getting ready to execute showmodal 6 C:\boa getting ready to execute showmodal 6 C:\boa getting ready to execute showmodal 6 C:\boa getting ready to execute showmodal 6 C:\boa getting ready to execute showmodal 6 C:\boa getting ready to execute showmodal showmodal did not return wxID_OK showmodal did not return wxID_OK showmodal did not return wxID_OK showmodal did not return wxID_OK showmodal did not return wxID_OK showmodal did not return wxID_OK showmodal did not return wxID_OK showmodal did not return wxID_OK showmodal did not return wxID_OK showmodal did not return wxID_OK showmodal did not return wxID_OK showmodal did not return wxID_OK In short, it looks like we never got out of the ShowModal call; each time I clicked on the cancel button, it's as if a new thread were started calling the SaveAsDlg function. Anyone have any idea what's going on here? -- Steven D. Arnold Que quiero sera st...@ne... "He was part of my dream, of course -- but then I was part of his dream too." -- Lewis Carroll |
From: Riaan B. <riaan@e.co.za> - 2000-11-30 21:19:22
|
Hi Gordon, Gordon Williams wrote: > > I was wondering when the next release of Boa was going to be. There appears > to be things added to the CVS every couple of weeks. The functionality for the next release is basically complete, there are just a few issues/bugs left and things like updating the Docs. You tripped over one of the issues, I use popen3 to run external programs but there are some problems. I hope to switch to wxProcess asap. > I tried the latest CVS version and it looks really great with a lot of new > features from what I remember from looking at it before. This is going to > be a nice tool for creating applications using wxPython in a logical and > consistent way. > > I had a few problems though, and was prevented from finishing the tutorial > by a crash. I hope the notes below are of help. > > Regards, > > Gordon Williams > > Boa Bugs > > When going through the tutorial. > CVS 2000/11/29 > W95, wxPython 2.2.2, python 2.0 > > 0) The font in the editor source window is very large and I don't see an > easy way to change it. Some clarification is needed in the .cfg > preferences to make it easier. It currently looks like a 16 pt. font with > only 16 lines shown. You can now edit this at the bottom of PrefsMSW.py (or PrefsGTK for Linux) Change the 'size' entry in the faces dictionary. I hoped to add an interface to configure the fonts and colour but have not yet gotten round to it. > > 1) After wxApp and wxFrame created. Unable to run. Computer freezes. > You can run the wxApp file outside Boa and the frame comes up OK. I strongly suspect popen3 on Win95. > > 2) Creating Menu. "Edit the name of the first wxMenu to call it mnuFile." > This shows an error dialog with "Invalid name for Python object". Ouch, thanks for catching this one. Fixed now, change PropEdit.PropertyEditors.NameConstrPropEdit.getValue line 578 from: for c in value: to: for c in value[1:-1]: > 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 tried this twice and got the same crash both times. > > 4) One small thing that would be nice is to change the naming convention > from "OnMnuhelpitems0Menu" to "OnMnuhelpAboutMenu" for the "About" menu > item. That way we don'ts have to remember that item0 is really About. Remember that you can safely rename event names to whatever you want by manually changing it in the code (EVT_* binding and On* method name). Nicer event names are now on the todo list. It not completely straightforward tho, menu captions != python identifiers. -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Charlie D. <ch...@we...> - 2000-11-29 23:08:16
|
Forwarded to the boa list. ~ -----Original Message----- ~ From: wxp...@li... ~ [mailto:wxp...@li...]On Behalf Of Gordon ~ Williams ~ Sent: Wednesday, November 29, 2000 3:55 PM ~ To: wxPython List ~ Subject: [wxPython] Boa Status? ~ ~ ~ I was wondering when the next release of Boa was going to be. ~ There appears ~ to be things added to the CVS every couple of weeks. ~ ~ I tried the latest CVS version and it looks really great with a lot of new ~ features from what I remember from looking at it before. This is going to ~ be a nice tool for creating applications using wxPython in a logical and ~ consistent way. ~ ~ I had a few problems though, and was prevented from finishing the tutorial ~ by a crash. I hope the notes below are of help. ~ ~ Regards, ~ ~ Gordon Williams ~ ~ ~ Boa Bugs ~ ~ When going through the tutorial. ~ CVS 2000/11/29 ~ W95, wxPython 2.2.2, python 2.0 ~ ~ 0) The font in the editor source window is very large and I don't see an ~ easy way to change it. Some clarification is needed in the .cfg ~ preferences to make it easier. It currently looks like a 16 pt. font with ~ only 16 lines shown. ~ ~ 1) After wxApp and wxFrame created. Unable to run. Computer freezes. ~ You can run the wxApp file outside Boa and the frame comes up OK. ~ ~ 2) Creating Menu. "Edit the name of the first wxMenu to call it mnuFile." ~ This shows an error dialog with "Invalid name for Python object". ~ ~ 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 tried this twice and got the same crash both times. ~ ~ 4) One small thing that would be nice is to change the naming convention ~ from "OnMnuhelpitems0Menu" to "OnMnuhelpAboutMenu" for the "About" menu ~ item. That way we don'ts have to remember that item0 is really About. ~ ~ _______________________________________________ ~ wxPython-users mailing list ~ wxP...@li... ~ http://lists.sourceforge.net/mailman/listinfo/wxpython-users |
From: Shane H. <sh...@di...> - 2000-11-13 21:36:13
|
James Johnson wrote: > > >0.0.4 is designed to work with wxPython 2.2.1. The pre-0.0.5 version > >already has fixes that allow it to work with 2.2.2 and Python 2.0. > > >Shane > > Am I to understand that the current 2.2.2 version of Zope runs with > Python 2.0? Or is it just the CVS version 2.2.3? No. Here's what works (CPython being the main Python distribution): wxPython 2.2.1 + Boa 0.0.4 + CPython 1.52 or 2.0 wxPython 2.2.2 + Boa 0.0.5 (soon to come) + CPython 1.52 or 2.0 Zope 2.2.2 + CPython 1.52 Note that wxPython is not Zope, even though the version number is the same. :-) Shane |
From: James J. <ji...@ta...> - 2000-11-13 20:43:37
|
>0.0.4 is designed to work with wxPython 2.2.1. The pre-0.0.5 version >already has fixes that allow it to work with 2.2.2 and Python 2.0. >Shane Am I to understand that the current 2.2.2 version of Zope runs with Python 2.0? Or is it just the CVS version 2.2.3? Thanks, -Jimbo Get your Free E-mail at http://tacoma.zzn.com ____________________________________________________________ Get your own Web-Based E-mail Service at http://www.zzn.com |
From: Shane H. <sh...@di...> - 2000-11-08 14:53:29
|
Erki Kaldjärv wrote: > > Hei. > > I downloaded Boa-0.0.4.zip from sourceforge.net. > I extracted it to my desktop and ran Boa.py. 0.0.4 is designed to work with wxPython 2.2.1. The pre-0.0.5 version already has fixes that allow it to work with 2.2.2 and Python 2.0. Shane > This was the output i got: > > imported wxPython > imported Prefs > imported PaletteMapping > imported Editor > imported Inspector > imported Palette > imported Editor > Traceback (innermost last): > File "C:\WINDOWS\Desktop\Boa\Boa.py", line 113, in main > app = BoaApp(0) > File "C:\WINDOWS\Desktop\Boa\Boa.py", line 49, in __init__ > wxApp.__init__(self, redirect) > File "C:\Program Files\Python\wxPython\wx.py", line 1646, in __init__ > _wxStart(self.OnInit) > File "C:\WINDOWS\Desktop\Boa\Boa.py", line 58, in OnInit > self.main = Palette.BoaFrame(None, -1, self) > File "C:\WINDOWS\DESKTOP\BOA\Palette.py", line 157, in __init__ > wxMenu(), self.componentSB, app)#palettePage.menu > File "C:\WINDOWS\DESKTOP\BOA\Editor.py", line 135, in __init__ > self.addShellPage() > File "C:\WINDOWS\DESKTOP\BOA\Editor.py", line 310, in addShellPage > self.tabs.AddPage(ShellEditor.ShellEditor(self.tabs, -1), 'Shell') > File "C:\WINDOWS\DESKTOP\BOA\ShellEditor.py", line 26, in __init__ > PythonStyledTextCtrlMix.__init__(self, wId, -1) > File "C:\WINDOWS\DESKTOP\BOA\Views\StyledTextCtrls.py", line 137, in > __init__ > self.SetKeywords(0, > AttributeError: SetKeywords > > After that i tried to grep out "def SetKeywords" from any Boa package > py-file but i did not find it anywhere. > > Have anybody tried to run it under win32???!!! > > What might be wrong? > > (I have installed wxPython-2.2.2 and Python 1.5.2 and they run perfectly > well) > > // > Erki Kaldjärv > er...@it... > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > http://lists.sourceforge.net/mailman/listinfo/boa-constructor-users |
From: Erki <er...@it...> - 2000-11-08 10:19:58
|
Hei. I downloaded Boa-0.0.4.zip from sourceforge.net. I extracted it to my desktop and ran Boa.py. This was the output i got: imported wxPython imported Prefs imported PaletteMapping imported Editor imported Inspector imported Palette imported Editor Traceback (innermost last): File "C:\WINDOWS\Desktop\Boa\Boa.py", line 113, in main app = BoaApp(0) File "C:\WINDOWS\Desktop\Boa\Boa.py", line 49, in __init__ wxApp.__init__(self, redirect) File "C:\Program Files\Python\wxPython\wx.py", line 1646, in __init__ _wxStart(self.OnInit) File "C:\WINDOWS\Desktop\Boa\Boa.py", line 58, in OnInit self.main = Palette.BoaFrame(None, -1, self) File "C:\WINDOWS\DESKTOP\BOA\Palette.py", line 157, in __init__ wxMenu(), self.componentSB, app)#palettePage.menu File "C:\WINDOWS\DESKTOP\BOA\Editor.py", line 135, in __init__ self.addShellPage() File "C:\WINDOWS\DESKTOP\BOA\Editor.py", line 310, in addShellPage self.tabs.AddPage(ShellEditor.ShellEditor(self.tabs, -1), 'Shell') File "C:\WINDOWS\DESKTOP\BOA\ShellEditor.py", line 26, in __init__ PythonStyledTextCtrlMix.__init__(self, wId, -1) File "C:\WINDOWS\DESKTOP\BOA\Views\StyledTextCtrls.py", line 137, in __init__ self.SetKeywords(0, AttributeError: SetKeywords After that i tried to grep out "def SetKeywords" from any Boa package py-file but i did not find it anywhere. Have anybody tried to run it under win32???!!! What might be wrong? (I have installed wxPython-2.2.2 and Python 1.5.2 and they run perfectly well) // Erki Kaldjärv er...@it... |
From: Riaan B. <riaan@e.co.za> - 2000-11-05 17:54:37
|
Hi Joachim, Joachim Schmitz wrote: > > I checked out the cvs and got the following: > > $ python Boa.py > importing wxPython... > imported Prefs > Traceback (innermost last): > File "Boa.py", line 22, in ? > import Palette > File "Palette.py", line 14, in ? > import PaletteMapping > File "PaletteMapping.py", line 33, in ? > from Companions.ZopeCompanions import * > File "Companions/ZopeCompanions.py", line 2, in ? > from ZopeLib import Client, ExtMethDlg > File "ZopeLib/Client.py", line 112, in ? > from random import random > File "/usr/local/lib/python1.5/random.py", line 84, in ? > verify('NV_MAGICCONST', 1.71552776992141) > File "/usr/local/lib/python1.5/random.py", line 77, in verify ^^^^^^^^^ I doubt whether this error has anything to do with Boa. This is a standard python module. What you could try is to change Client.py line 112 from: from random import random to: from whrandom import random Maybe this will work for you, but there seems to be something wrong with your Python. > raise ValueError, \ > ValueError: computed value for NV_MAGICCONST deviates too much (computed 2,82843, expected 1) > -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Joachim S. <js...@ai...> - 2000-11-04 14:34:42
|
I checked out the cvs and got the following: $ python Boa.py importing wxPython... imported Prefs Traceback (innermost last): File "Boa.py", line 22, in ? import Palette File "Palette.py", line 14, in ? import PaletteMapping File "PaletteMapping.py", line 33, in ? from Companions.ZopeCompanions import * File "Companions/ZopeCompanions.py", line 2, in ? from ZopeLib import Client, ExtMethDlg File "ZopeLib/Client.py", line 112, in ? from random import random File "/usr/local/lib/python1.5/random.py", line 84, in ? verify('NV_MAGICCONST', 1.71552776992141) File "/usr/local/lib/python1.5/random.py", line 77, in verify raise ValueError, \ ValueError: computed value for NV_MAGICCONST deviates too much (computed 2,82843, expected 1) On Fri, 3 Nov 2000, Shane Hathaway wrote: > Riaan Booysen wrote: > > > > Hi Joachim, same goes for windows, > > > > You seem to be using wxPython 2.2.2 which introduced changes to > > Scintilla's interface. > > Boa 0.0.4 is not compatible with it. If you really need 2.2.2, you > > can check out the version in CVS. Else switch back to 2.2.1 until > > Boa 0.0.5 is released (soon hopefully). > > Actually I found that sometimes wxGTK misreports the version number and > have added to the CVS a try/except handler that detects and corrects > this condition. It's in StyledTextCtrls.py. > > Shane Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 |
From: Shane H. <sh...@di...> - 2000-11-03 16:11:20
|
Riaan Booysen wrote: > > Hi Joachim, same goes for windows, > > You seem to be using wxPython 2.2.2 which introduced changes to > Scintilla's interface. > Boa 0.0.4 is not compatible with it. If you really need 2.2.2, you > can check out the version in CVS. Else switch back to 2.2.1 until > Boa 0.0.5 is released (soon hopefully). Actually I found that sometimes wxGTK misreports the version number and have added to the CVS a try/except handler that detects and corrects this condition. It's in StyledTextCtrls.py. Shane > Joachim Schmitz wrote: > > > > Hi, > > > > when I try to run > > > > python Boa.py on my SuSE 7.0 linux box I get: > > > > importing wxPython... > > imported wxPython > > imported Prefs > > imported PaletteMapping > > imported Editor > > imported Inspector > > imported Palette > > imported Editor > > Traceback (innermost last): > > File "Boa.py", line 119, in ? > > > > File "Boa.py", line 112, in main > > > > File "Boa.py", line 49, in __init__ > > class BoaApp(wxApp): > > File "/usr/lib/python1.5/site-packages/wxPython/wx.py", line 1640, in __init__ > > _wxStart(self.OnInit) > > File "Boa.py", line 58, in OnInit > > # EVT_ACTIVATE_APP(self, self.OnActivate) > > File "Palette.py", line 157, in __init__ > > wxMenu(), self.componentSB, app)#palettePage.menu > > File "Editor.py", line 135, in __init__ > > self.addShellPage() > > File "Editor.py", line 310, in addShellPage > > self.tabs.AddPage(ShellEditor.ShellEditor(self.tabs, -1), 'Shell') > > File "ShellEditor.py", line 26, in __init__ > > PythonStyledTextCtrlMix.__init__(self, wId, -1) > > File "Views/StyledTextCtrls.py", line 137, in __init__ > > self.SetKeywords(0, > > AttributeError: SetKeywords > > Exception exceptions.TypeError: 'call of non-function (type None)' in <method wxSizePtr.__del__ of wxSize instance at 82924d8> ignored > > Exception exceptions.TypeError: 'call of non-function (type None)' in <method wxSizePtr.__del__ of wxSize instance at 845bd80> ignored > > > > The wxPython demo runs fine. > > > > Mit freundlichen Grüßen > > > > Joachim Schmitz > > > > > > AixtraWare, Ing. Büro für Internetanwendungen > > Hüsgenstr. 33a, D-52457 Aldenhoven > > Telefon: +49-2464-8851, FAX: +49-2464-905163 > > > > _______________________________________________ > > Boa-constructor-users mailing list > > Boa...@li... > > http://lists.sourceforge.net/mailman/listinfo/boa-constructor-users > > -- > Riaan Booysen > ___________________________________________________ > Boa Constructor - RAD GUI building IDE for wxPython > http://boa-constructor.sourceforge.net > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > http://lists.sourceforge.net/mailman/listinfo/boa-constructor-users |
From: Riaan B. <riaan@e.co.za> - 2000-11-03 13:56:15
|
Hi Joachim, same goes for windows, You seem to be using wxPython 2.2.2 which introduced changes to Scintilla's interface. Boa 0.0.4 is not compatible with it. If you really need 2.2.2, you can check out the version in CVS. Else switch back to 2.2.1 until Boa 0.0.5 is released (soon hopefully). Joachim Schmitz wrote: > > Hi, > > when I try to run > > python Boa.py on my SuSE 7.0 linux box I get: > > importing wxPython... > imported wxPython > imported Prefs > imported PaletteMapping > imported Editor > imported Inspector > imported Palette > imported Editor > Traceback (innermost last): > File "Boa.py", line 119, in ? > > File "Boa.py", line 112, in main > > File "Boa.py", line 49, in __init__ > class BoaApp(wxApp): > File "/usr/lib/python1.5/site-packages/wxPython/wx.py", line 1640, in __init__ > _wxStart(self.OnInit) > File "Boa.py", line 58, in OnInit > # EVT_ACTIVATE_APP(self, self.OnActivate) > File "Palette.py", line 157, in __init__ > wxMenu(), self.componentSB, app)#palettePage.menu > File "Editor.py", line 135, in __init__ > self.addShellPage() > File "Editor.py", line 310, in addShellPage > self.tabs.AddPage(ShellEditor.ShellEditor(self.tabs, -1), 'Shell') > File "ShellEditor.py", line 26, in __init__ > PythonStyledTextCtrlMix.__init__(self, wId, -1) > File "Views/StyledTextCtrls.py", line 137, in __init__ > self.SetKeywords(0, > AttributeError: SetKeywords > Exception exceptions.TypeError: 'call of non-function (type None)' in <method wxSizePtr.__del__ of wxSize instance at 82924d8> ignored > Exception exceptions.TypeError: 'call of non-function (type None)' in <method wxSizePtr.__del__ of wxSize instance at 845bd80> ignored > > The wxPython demo runs fine. > > Mit freundlichen Grüßen > > Joachim Schmitz > > > AixtraWare, Ing. Büro für Internetanwendungen > Hüsgenstr. 33a, D-52457 Aldenhoven > Telefon: +49-2464-8851, FAX: +49-2464-905163 > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > http://lists.sourceforge.net/mailman/listinfo/boa-constructor-users -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Joachim S. <js...@ai...> - 2000-11-03 09:12:33
|
Hi, when I try to run python Boa.py on my SuSE 7.0 linux box I get: importing wxPython... imported wxPython imported Prefs imported PaletteMapping imported Editor imported Inspector imported Palette imported Editor Traceback (innermost last): File "Boa.py", line 119, in ? File "Boa.py", line 112, in main File "Boa.py", line 49, in __init__ class BoaApp(wxApp): File "/usr/lib/python1.5/site-packages/wxPython/wx.py", line 1640, in __init__ _wxStart(self.OnInit) File "Boa.py", line 58, in OnInit # EVT_ACTIVATE_APP(self, self.OnActivate) File "Palette.py", line 157, in __init__ wxMenu(), self.componentSB, app)#palettePage.menu File "Editor.py", line 135, in __init__ self.addShellPage() File "Editor.py", line 310, in addShellPage self.tabs.AddPage(ShellEditor.ShellEditor(self.tabs, -1), 'Shell') File "ShellEditor.py", line 26, in __init__ PythonStyledTextCtrlMix.__init__(self, wId, -1) File "Views/StyledTextCtrls.py", line 137, in __init__ self.SetKeywords(0, AttributeError: SetKeywords Exception exceptions.TypeError: 'call of non-function (type None)' in <method wxSizePtr.__del__ of wxSize instance at 82924d8> ignored Exception exceptions.TypeError: 'call of non-function (type None)' in <method wxSizePtr.__del__ of wxSize instance at 845bd80> ignored The wxPython demo runs fine. Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 |
From: Riaan B. <riaan@e.co.za> - 2000-10-26 19:42:56
|
Hi Antoni, "Aloy, Antoni" wrote: > > Hi! > > I'm trying to execute boa with Python 2.0 & wx (for the 20b1 version that is > supposed to work with Python 2). I get the following error: > --------------------------------------------------- > Traceback (most recent call last): > File "boa.py", line 18, in ? > import Preferences > File "Preferences.py", line 86, in ? > import FileDlg > SyntaxError: duplicate argument in function definition (FileDlg.py, line 52) The 'wildcard' argument occurs twice, remove the first one. Boa's help will not work on Python 2.0 or different versions of wxWindows help. You can rebuild the help index with the Scripts\HelpScrpt.py script. You'll have to manually look for and set some files in the script, see the file for instructions. I'd like to automate this. I intend making sure everything works on Python 2.0 this weekend. -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Aloy, A. <ant...@gr...> - 2000-10-26 10:30:26
|
[>] Hi! No it doesn't solve them. I have the same message. Regards, Toni > I'm not sure if this may solve your problems, but you need to change the > key values to all lowercase in the file : Explorer.msw.cfg > > Regards, > Marius. > > On Thu, 26 Oct 2000 10:09:40 +0200, you wrote: > > >Hi! > > > >I'm trying to execute boa with Python 2.0 & wx (for the 20b1 version that > is > >supposed to work with Python 2). I get the following error: > >--------------------------------------------------- > >Traceback (most recent call last): > > File "boa.py", line 18, in ? > > import Preferences > > File "Preferences.py", line 86, in ? > > import FileDlg > >SyntaxError: duplicate argument in function definition (FileDlg.py, line > 52) > >----------------------------------------------------- > > > >I can't find any wrong in FileDlg arguments. Any ideas? > > > >Regards, > > > >Antoni Aloy > |
From: Marius v. W. <marius@e.co.za> - 2000-10-26 08:56:38
|
I'm not sure if this may solve your problems, but you need to change the key values to all lowercase in the file : Explorer.msw.cfg Regards, Marius. On Thu, 26 Oct 2000 10:09:40 +0200, you wrote: >Hi! > >I'm trying to execute boa with Python 2.0 & wx (for the 20b1 version that is >supposed to work with Python 2). I get the following error: >--------------------------------------------------- >Traceback (most recent call last): > File "boa.py", line 18, in ? > import Preferences > File "Preferences.py", line 86, in ? > import FileDlg >SyntaxError: duplicate argument in function definition (FileDlg.py, line 52) >----------------------------------------------------- > >I can't find any wrong in FileDlg arguments. Any ideas? > >Regards, > >Antoni Aloy -- Was I before Chuang Tzu who dreamt about being a butterfly, or am I now a butterfly who dreams about being Chuang Tzu? - Chuang Tzu |
From: Aloy, A. <ant...@gr...> - 2000-10-26 08:38:04
|
Hi! I'm trying to execute boa with Python 2.0 & wx (for the 20b1 version that is supposed to work with Python 2). I get the following error: --------------------------------------------------- Traceback (most recent call last): File "boa.py", line 18, in ? import Preferences File "Preferences.py", line 86, in ? import FileDlg SyntaxError: duplicate argument in function definition (FileDlg.py, line 52) ----------------------------------------------------- I can't find any wrong in FileDlg arguments. Any ideas? Regards, Antoni Aloy |
From: Charlie D. <ch...@we...> - 2000-10-25 22:22:46
|
~ ~ Can I install boa_constructor on Linux_Mandrake7.1 and how ? It's not too hard. If we assume nothing is installed by default that's correct on your system (I don't have Mandrake, but it was relatively painless (and a good learning experience) to install on redhat which i think is pretty similar), then start by getting gtk+ and wxGTK from ftp://wesley.informatik.uni-freiburg.de/pub/linux/wxxt/source/ or one of the mirrors mentioned on the wxWindows site. It looks like there is an rpm for wxGTK, but not for gtk+, that means to install gtk+, you'll need to do tar xzvf gtk+<version-number>.tar.gz and then cd into the directory created and look for a README file or INSTALL file that tells you exactly what to do The wxGTK should be a lot easier to install, simply do rpm -i wxGTK<version-number>.rpm After that works, you can go to http://wxpython.org/download.php and get the wxPython rpm and install that as you did wxGTK. Read the info under the "An RPM for Linux and wxGTK*." heading across from the file you need to get. If Mandrake has python installed somewhere other than /usr/lib/python1.5, then you'll need to read and follow the instructions in the second paragraph there. Now you should be ready to get boa from http://boa-constructor.sourceforge.net/Download You'll need to do unzip -a Boa-0.0.4.zip (actually, the "-a" may be unnecessary, but it probably won't hurt) then you can start gnome, cd into the directory you created by unzipping Boa and when you can see the file Boa.py with an "ls" command, try python Boa.py You may have better luck if you copy that unzipped Boa directory into /usr/lib/python1.5/site-packages (or the equivalent path depending on where Mandrake installs python) Good luck, and post with any specific problems you run into, ~c An RPM for Linux and wxGTK ~ _______________________________________________ ~ Boa-constructor-users mailing list ~ Boa...@li... ~ http://lists.sourceforge.net/mailman/listinfo/boa-constructor-users |