boa-constructor-users Mailing List for Boa Constructor - wxPython GUI Builder (Page 141)
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: alienoid <ali...@is...> - 2002-02-06 21:22:55
|
Hello everyone. I'm a newbie in boa. I use v0.1.0-alpha under Win 2K and when I try to put wxMenu to Data View I get: TypeError: unbound method properties() must be called with CollectionDTC instance as first argument(got MenuDTC instance instead) Can anybody help me to understand what it means. |
From: Riaan B. <riaan@e.co.za> - 2002-02-05 17:30:29
|
Hello Lieven, Lieven Van Acker wrote: > > Hi, > > I successfully installed boa 0.1.0 Alpha, and I'm quite impressed. This > tools allready has a lot of potential. > > A small question though: > > I'd like to include custom help files (plain html) in the help-system. Is > that possible? Yes, the way you tried only adds a shortcut (an extra gray help button on the Palette's toolbar) to already defined help files. Because the Help uses wxHtmlHelpController, there must be hhp, hhc and hhk file for your help. I've now defined these files. Unzip the attached zip file in the Docs directory. Also edit the 'books' entry in the [help] section of Explorer.*.cfg and add 'custom/custom.hhp' to the list. Now run the Help system and follow the instructions you get when you select 'Custom help files' in the Contents. Note that the Help system can be run stand alone by just running Help.py. > If it is, then, what should be included in the customhelp > dictionary? I tried setting it like this > > customhelp = {'MySQLdb': '/usr/local/src/MySQL-python-0.9.1/MySQLdb.html'} > > but this doesn't seem to do the trick. > > Any hints? > > Thanks, > > Lieven > > _______________________________________________ > 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 |
From: Riaan B. <riaan@e.co.za> - 2002-02-05 17:30:25
|
Hello Hans-Peter, Hans-Peter Jansen wrote: > > Hi wxPythonics, > > I'm currently working on an inhouse project, involving ui for different > forms/grids working on sql databases. On a former project, I chose > notebooks for the different forms, but found that concept too limiting > (scrolling notebooks is awfull). > > Now that I dicovered boa (again), I consider the "outlook" way as a nice > alternative: Using a wxTreeCtrl on the left, main screen right, and > a log frame (wxTextCtrl) below (based on two spitter windows): > > +------------+----------------------------------------+ > | Task1 | Main | > | Subtask1 | | > | Task2 | | > | Subtask2 | | > | | | > | | | > | |----------------------------------------+ > | | Log | > | | | > +------------+----------------------------------------+ > > I think wxPanel would be the right container for Main, is it? > > What I want to archieve, is creating the different main forms separately > in external wxFrames or the like. I tried in wxFrame1: > > def __init__(self, parent): > self._init_ctrls(parent) > > import wxFrame2 > self.dblogin = wxFrame2.create(self.mainWin) > > self.mainWin is the wxPanel mentioned above. > > Doesn't work :-( I also tried wxScrolledWindow as a container. > > How can I layout different forms externally and overlay them > in my mainWin with Boa? Any hints? As Robin explained, wxFrames are top level windows. Boa offers no direct support for this at the moment, although it's an often requested feature. It will be one of the things I will be looking into next. See Docs/boa/apphelp/MixingSource.html for ideas about what is possible. > > For your confidence, I've attached this example. > > Thanks for listening, > Hans-Peter > > ------------------------------------------------------------------------ > Name: wxFrame2.py > wxFrame2.py Type: Plain Text (text/plain) > Encoding: base64 > > Name: wxFrame1.py > wxFrame1.py Type: Plain Text (text/plain) > Encoding: base64 > > Name: wxApp1.py > wxApp1.py Type: Plain Text (text/plain) > Encoding: base64 -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Riaan B. <riaan@e.co.za> - 2002-02-05 17:29:51
|
Hi Hans-Peter, Hans-Peter Jansen wrote: > Hi Riaan et al., > > my first tiny modification to Boa is limiting the size of Palette to not > waste valuable screen space, but it's uniformity/ergonomic tradeoff. Sorry, I don't really like it ;) Because you are not the first person to be unsatisfied with the window layout, I've now added options to Boa so that you can save/load or restore default top level window dimensions. This aught to keep everyone happy. > Thus I would vote to just include the patchfile under Contributions. > If nobody objects, I will also upload it in the sf patch section. > > Cheers, > Hans-Peter > > ------------------------------------------------------------------------ > Name: Palette.diff > Palette.diff Type: text/x-diff > Encoding: 8bit -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Riaan B. <riaan@e.co.za> - 2002-02-05 17:29:34
|
Hello Hans-Peter, Hans-Peter Jansen wrote: > > [I'm not subscribed to wx-dev, please CC me from there] > > Hi Riaan, > > first thing, I wanna say: Incredible, Riaan! Thanks! > > Last time, I checked Boa a year ago, it was too flaky, but the current > version is a great leap towards a tool for getting real work done. > > I'm running it with python 2.1/wxGTK 2.3.2/wxPython 2.3.2.1 on linux > 2.4.18-pre4, SuSE 7.3 based diskless workstation. > > For the record: > I had to manually fiddle with > > export CFLAGS="-D_FILE_OFFSET_BITS=64 -DHAVE_LARGEFILE_SUPPORT $CFLAGS" > export CXXFLAGS=$CFLAGS > > to get wxGTK and wxPython successfully build (wxGTK configure flaw, AFAICS). > > Now I was able to run boa. > > Next, I configured boa to my needs. I discovered, that boa uses DOS > linebreaks :-( Fortunately I found the autoReindent option, which fixed > this for me :-) I plan to address this with the next release. > To fulfil my basic basic code form needs, I would like to see an option > to use tabs for indention. I found some corresponding STC options, but > they don't affect code generation and lead to indention errors, when > activated :-( I'll look into this. > > Some random findings: > - X clipboard doesn't work in the editor (at least). :-((( I use wxPython's wxClipboard, it works for me. Did you try from the right-click menu in the Designer, or did you try some special keystroke? > - when editing a string in Designer->Inspector, <Return> doesn't stop that, > and posting will loose it's modified content. I need to select another prop > to get the former prop modified. <Return> is supposed to post, but I'm still having problems with wxAcceleratorTable under wxGTK :( > - Setting font properties in Designer works as expected, but font face gets > lost on runtime. Does the generated source dissapear, or does it not have an effect at runtime? > - posting buttons doesn't allways work. Closing frame helps. How do you post a button? Only the whole session is posted or canceled. > - grayout (aka. blueout) results in ramdom char coloring (looks very strange) This should be off by default on wxGTK. > - Modifying MajorDimension in RadioBoxes results in crash on post. I'll look into it. > - Setting wxRA_SPECIFY_ROWS on them is ignored. Remember when setting constructor properties, the control (or the Frame) have to be recreated before the changes take effect (as constructors are only called at creation) > > Some future thoughts: > - STC background coloring of 'danger' and 'good' zones (It took me a couple > of times to find the proper place where self.timer1.Start(500) didn't get > lost after designer sessions) This is noted in a few place in the help files, please read thru them. Quick rule: Leave _init_* methods alone! > - Real i18n support Yip, I am planning some, for now see Examples/il8n.py > - Some grid helpers (generic database interface) > > Last thing points you in the direction, I have to go now for my next project, > and I'm willing to give boa a try for that. > > I would love to see the boa CVS activity rising. Don't worry it's usually not this quiet, hopefully I'll get round to updating CVS this week, after that fixes and changes should go in regularly. > > Cheers, > Hans-Peter > > _______________________________________________ > 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 |
From: Lieven V. A. <li...@el...> - 2002-02-04 12:45:51
|
Hi, I successfully installed boa 0.1.0 Alpha, and I'm quite impressed. This tools allready has a lot of potential. A small question though: I'd like to include custom help files (plain html) in the help-system. Is that possible? If it is, then, what should be included in the customhelp dictionary? I tried setting it like this customhelp = {'MySQLdb': '/usr/local/src/MySQL-python-0.9.1/MySQLdb.html'} but this doesn't seem to do the trick. Any hints? Thanks, Lieven |
From: Bell J. <jbe...@ya...> - 2002-02-03 22:46:33
|
Frederic, You'll see four book-like icons on the pallette the second through fourth give on-line help for Boa, wxPython and Python respectively. You will have to have installed the separate docs zip file from the download site though. These are all HTML documents so you could produce versions in any language you like :-) John --- fg <bf...@ti...> wrote: > I have found. It is OK. > Thank you > Frédéric > Hi Rian, > > I do not know to write in English, but I know to > read it. I use a translator! > I congratulate you for Boa. > Can you tell me to be it is possible to call the > file of help of wxPython from Boa? > Do you speak French? > Thank you advance, > > Frédéric > __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com |
From: Hans-Peter J. <hp...@ur...> - 2002-02-03 16:47:54
|
Hi wxPythonics, I'm currently working on an inhouse project, involving ui for different forms/grids working on sql databases. On a former project, I chose notebooks for the different forms, but found that concept too limiting (scrolling notebooks is awfull). Now that I dicovered boa (again), I consider the "outlook" way as a nice alternative: Using a wxTreeCtrl on the left, main screen right, and a log frame (wxTextCtrl) below (based on two spitter windows): +------------+----------------------------------------+ | Task1 | Main | | Subtask1 | | | Task2 | | | Subtask2 | | | | | | | | | |----------------------------------------+ | | Log | | | | +------------+----------------------------------------+ I think wxPanel would be the right container for Main, is it? What I want to archieve, is creating the different main forms separately in external wxFrames or the like. I tried in wxFrame1: def __init__(self, parent): self._init_ctrls(parent) import wxFrame2 self.dblogin = wxFrame2.create(self.mainWin) self.mainWin is the wxPanel mentioned above. Doesn't work :-( I also tried wxScrolledWindow as a container. How can I layout different forms externally and overlay them in my mainWin with Boa? Any hints? For your confidence, I've attached this example. Thanks for listening, Hans-Peter |
From: fg <bf...@ti...> - 2002-02-03 14:05:23
|
I have found. It is OK. Thank you Fr=E9d=E9ric Hi Rian, I do not know to write in English, but I know to read it. I use a = translator! I congratulate you for Boa. Can you tell me to be it is possible to call the file of help of = wxPython from Boa? Do you speak French? Thank you advance, Fr=E9d=E9ric |
From: Hans-Peter J. <hp...@ur...> - 2002-02-02 16:57:23
|
[To the sourceforge staff: This is also a test with boa-constructor-users list (where I'm subscribed since 16 hrs), because my former message, sent 3 hrs ago, seem not to hit the list nor sf mail archive, but geocrawler's! sourceforge overload or misconfiguration? Also, download performance degradation in the last days are noticable...] Hi Riaan et al., my first tiny modification to Boa is limiting the size of Palette to not waste valuable screen space, but it's uniformity/ergonomic tradeoff. Thus I would vote to just include the patchfile under Contributions. If nobody objects, I will also upload it in the sf patch section. Cheers, Hans-Peter |
From: Hans-Peter J. <hp...@ur...> - 2002-02-02 13:15:14
|
[I'm not subscribed to wx-dev, please CC me from there] Hi Riaan, first thing, I wanna say: Incredible, Riaan! Last time, I checked Boa a year ago, it was too flaky, but the current version is a great leap towards a tool for getting real work done. I'm running it with python 2.1/wxGTK 2.3.2/wxPython 2.3.2.1 on linux 2.4.18-pre4, SuSE 7.3 based diskless workstation. For the record: I had to manually fiddle with export CFLAGS="-D_FILE_OFFSET_BITS=64 -DHAVE_LARGEFILE_SUPPORT $CFLAGS" export CXXFLAGS=$CFLAGS to get wxGTK and wxPython successfully build (wxGTK configure flaw, AFAICS). Now I was able to run boa. Next, I configured boa to my needs. I discovered, that boa uses DOS linebreaks :-( Fortunately I found the autoReindent option, which fixed this for me :-) To fulfil my basic basic code form needs, I would like to see an option to use tabs for indention. I found some corresponding STC options, but they don't affect code generation and lead to indention errors, when activated :-( Some random findings: - X clipboard doesn't work in the editor (at least). :-((( - when editing a string in Designer->Inspector, <Return> doesn't stop that, and posting will loose it's modified content. I need to select another prop to get the former prop modified. - Setting font properties in Designer works as expected, but font face gets lost on runtime. - posting buttons doesn't allways work. Closing frame helps. - grayout (aka. blueout) results in ramdom char coloring (looks very strange) - Modifying MajorDimension in RadioBoxes results in crash on post. - Setting wxRA_SPECIFY_ROWS on them is ignored. Some future thoughts: - STC background coloring of 'danger' and 'good' zones (It took me a couple of times to find the proper place where self.timer1.Start(500) didn't get lost after designer sessions) - Real i18n support - Some grid helpers (generic database interface) Last thing points you in the direction, I have to go now for my next project, and I'm willing to give boa a try for that. I would love to see the boa CVS activity rising. Cheers, Hans-Peter |
From: <bf...@ti...> - 2002-02-01 07:56:04
|
I work under MSW Me. I have followed the advice, the help of Python function, but the assistance of wxPython does not function always . Thank you for your reply and for Boa! Frédéric > Hello, > > > Frédéric G. wrote: > > > > When I open does not import what help file with Boa buttons, I obtain > > always the assistance of Boa. > > See John's response for a small buglet fix. > > > How to make to obtain the assistance on wxPython and Python? > > In your code (Source View) when the cursor is on a class, method, > function or module name, pressing F1 will bring up the relevant help. > > Also you may press Ctrl-H, this will popup an entry box where you can > type a term to find help on. > > > Thank you advance. > > Hope this Helps ;) > > -- > Riaan Booysen > ___________________________________________________ > Boa Constructor - RAD GUI building IDE for wxPython > http://boa-constructor.sourceforge.net > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users > > |
From: Riaan B. <riaan@e.co.za> - 2002-01-31 22:58:32
|
Hello, > Frédéric G. wrote: > > When I open does not import what help file with Boa buttons, I obtain > always the assistance of Boa. See John's response for a small buglet fix. > How to make to obtain the assistance on wxPython and Python? In your code (Source View) when the cursor is on a class, method, function or module name, pressing F1 will bring up the relevant help. Also you may press Ctrl-H, this will popup an entry box where you can type a term to find help on. > Thank you advance. Hope this Helps ;) -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Riaan B. <riaan@e.co.za> - 2002-01-31 22:58:24
|
Hi, Godefroid Chapelle wrote: > > Hello, > > I just installed Boa 0.1.0. > I took a look on the Zope support... > I must say I am really impressed. Thanks! I've been using the Zope support 'professionally' for a few months now so it should be useful for something ;) P.S. If you turn on Plug-ins (under Preferences) you will also get support for PageTemplates and Formulator (they must be installed in Zope too). > > I have a small question : why is there a Zope tab in the palette. I was not > able to determine what it is meant for. Kinda like with the Frame Designer, you click the Palette entry you want to create, and then you click in the folder in the Explorer that you want to create the object in and it is created. -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Riaan B. <riaan@e.co.za> - 2002-01-31 22:56:43
|
Hi Mike, you are entirely right. Thanks for clearing things up. This will teach me to try and teach you, and to wait at least a day after installing Python 2.2 before commenting on something ;) "Mike C. Fletcher" wrote: > > That particular example still works fine in 2.2 (it's even seen in the > tutorial on type/class unification) ( > http://www.python.org/2.2/descrintro.html#cooperation ). > > >>> class A: > ... def m( self ): pass > ... > >>> class B(A): > ... def m( self ): return A.m( self ) > ... > >>> class C( B ): > ... def m( self ): return A.m( self ) > ... > >>> c = C() > >>> c.m() > >>> import sys > >>> sys.version > '2.2 (#28, Dec 21 2001, 12:21:22) [MSC 32 bit (Intel)]' > >>> > > It's a fairly core semantic that an instance of a sub-class should > always be considered an instance of the base-class, no matter how far > down the chain it is. When that changes I'll submit a bug report to > Python 2.2, rather than Boa ;) . > > The error comes from the following, I think: > http://www.python.org/2.2/descrintro.html#incompatibilities > > class A: > def foo(self): pass > > class B(A): pass > > class C(A): > def foo(self): > B.foo(self) > > That is, two classes, both of which inherit from A, but _not_ in series > (i.e. both inherit from A, but they don't inherit from each other). The > error now caught is calling _across_ the parallel hierarchy. > > You probably knew that and just mis-typed in the email, but thought I > should make sure :) . > > Enjoy, > Mike > > Riaan Booysen wrote: > > Hi Mike, these are bugs in Boa. > > > > This is what's happening: > > > > class A: > > def m(self): pass > > > > class B(A): > > def m(self): A.m(self) > > > > class C(B): > > def m(self): A.m(self) > > > > c = C() > > c.m() > > > > This snippet use to be work under Python >= 2.1 (although it is usually > > a copy paste error) but doesn't under Python 2.2. > > > > As I've said on the Boa list, I hope to release Boa 0.1.1 soon, as there > > are a few places in the code base this problem occurs. > _______________________________________ > Mike C. Fletcher > http://members.rogers.com/mcfletch/ > > _______________________________________________ > 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 |
From: Bell J. <jbe...@ya...> - 2002-01-31 17:48:29
|
Have you installed the separate documentation zip file under boa/doc? Also note Riaan's advice to me as follows re wxWindows/wxPython doc access(May be different if you use MSW): In Explorer.gtk.cfg under the [help] section, in the palettehelp dictionary change the wx definition from: 'wx': 'wxPython Documentation', to: 'wx': 'wxWindows 2.3: A portable C++ and Python GUI toolkit', John Bell --- Frédéric G. <bf...@ti...> wrote: > When I open does not import what help file with Boa > buttons, I obtain always the assistance of Boa. > How to make to obtain the assistance on wxPython and > Python? > Thank you advance. > __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com |
From: <bf...@ti...> - 2002-01-31 14:43:01
|
When I open does not import what help file with Boa buttons, I obtain = always the assistance of Boa. How to make to obtain the assistance on wxPython and Python? Thank you advance. |
From: Godefroid C. <go...@sw...> - 2002-01-31 12:49:51
|
Hello, I just installed Boa 0.1.0. I took a look on the Zope support... I must say I am really impressed. I have a small question : why is there a Zope tab in the palette. I was not able to determine what it is meant for. Thanks -- Godefroid Chapelle BubbleNet sprl rue Victor Horta, 18 / 202 1348 Louvain-la-Neuve Belgium Tel + 32 (10) 459901 Mob + 32 (477) 363942 TVA 467 093 008 RC Niv 49849 |
From: Mike C. F. <mcf...@ge...> - 2002-01-30 22:36:43
|
That particular example still works fine in 2.2 (it's even seen in the tutorial on type/class unification) ( http://www.python.org/2.2/descrintro.html#cooperation ). >>> class A: ... def m( self ): pass ... >>> class B(A): ... def m( self ): return A.m( self ) ... >>> class C( B ): ... def m( self ): return A.m( self ) ... >>> c = C() >>> c.m() >>> import sys >>> sys.version '2.2 (#28, Dec 21 2001, 12:21:22) [MSC 32 bit (Intel)]' >>> It's a fairly core semantic that an instance of a sub-class should always be considered an instance of the base-class, no matter how far down the chain it is. When that changes I'll submit a bug report to Python 2.2, rather than Boa ;) . The error comes from the following, I think: http://www.python.org/2.2/descrintro.html#incompatibilities class A: def foo(self): pass class B(A): pass class C(A): def foo(self): B.foo(self) That is, two classes, both of which inherit from A, but _not_ in series (i.e. both inherit from A, but they don't inherit from each other). The error now caught is calling _across_ the parallel hierarchy. You probably knew that and just mis-typed in the email, but thought I should make sure :) . Enjoy, Mike Riaan Booysen wrote: > Hi Mike, these are bugs in Boa. > > This is what's happening: > > class A: > def m(self): pass > > class B(A): > def m(self): A.m(self) > > class C(B): > def m(self): A.m(self) > > c = C() > c.m() > > This snippet use to be work under Python >= 2.1 (although it is usually > a copy paste error) but doesn't under Python 2.2. > > As I've said on the Boa list, I hope to release Boa 0.1.1 soon, as there > are a few places in the code base this problem occurs. _______________________________________ Mike C. Fletcher http://members.rogers.com/mcfletch/ |
From: Riaan B. <riaan@e.co.za> - 2002-01-30 22:14:15
|
Hi Mike, these are bugs in Boa. This is what's happening: class A: def m(self): pass class B(A): def m(self): A.m(self) class C(B): def m(self): A.m(self) c = C() c.m() This snippet use to be work under Python >= 2.1 (although it is usually a copy paste error) but doesn't under Python 2.2. As I've said on the Boa list, I hope to release Boa 0.1.1 soon, as there are a few places in the code base this problem occurs. -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Riaan B. <riaan@e.co.za> - 2002-01-30 14:10:03
|
Hi everyone. Thanks for all the thankyous and encouragement. CVS should be updated in the next few days, containing fixes reported after the release. Because of the seriouus problems on Python 2.2 I will probably try to get version 0.1.1 out soon after. Note again that it's not Python2.2 problem, my bugs were simply masked in 2.1 and earlier. Please send in any problems you encounter as soon as possible. -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Riaan B. <riaan@e.co.za> - 2002-01-30 14:09:07
|
Hi John, Bell John wrote: > > Excellent!!! I've on;y recently looked seriously at > Boa and was about to give up due to the 2.3.2 issue! > This has come Just in Time for me. Good to hear :) > > A couple of minor immediate issues: > > (1) Obviously you're packaging from a Microsoft > platform. There is a minor problem in that text files > are not marked as such in the zip-file and thus unzip > -a doesn't clean up the <CRLF> -> <LF> transformation > when loading into Linux. This leads to a peculiar > startup problem (something like : not found). My zipper doesn't have this option (I didn't even know you could!) This sounds very useful, I'll look into this for the next release. Distutils currently creates a corrupt zip when I build a source distro so I had to zip it myself. I tested the zip distro on Linux many times (not the same one ;) and it always worked first time, please report where the breakage happens. > > (2) Some files still have "#!/bin/env python" in their > startup. the path to "env" should be "/usr/bin" for > all 3 linuxes I've got and HP-UX and Solaris, so > probably pretty much any *IX. I'll take your word for this. I found only one, pylint, fixed now. > (3) Some files have "#! /usr/bin..." The space after > the "!" will throw some unices. Ok, I changed it, but some of these are from the standard python library so you should probably tell them too. These aren't used as scripts so it shouldn't matter to Boa too much. > > (4) I don't know if you've seen this, but on Linux/GTK > exiting Boa without saving anything causes a core > dump. If you can consistently cause a seg fault, look at Boa's tracing facility to pin point the problem. I would really appreciate this. > > As I say they're pretty minor problems, but hey may as > well get everything clean for 1.0! Yes, death to the bugs! Boa on wxGTK needs more work than on wxMSW. I wish someone could help out on Linux :( > > Now that I've got something operational I'll see what > I can build over the next few days and report any > broken bits I find. > > Once again, it's great to see the project back on the > road again. I don't have as much time for Boa as before :( > > John Bell > -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |
From: Mike C. F. <mcf...@ge...> - 2002-01-30 06:31:07
|
Not really a code sample, but here's how it occurs: Open Boa 1.0a Create a window (I was using wxTransientPopupWindow) Add a list control Click on the list control to select it. I added a sourceforge bug to Boa about it before reading the Generic Button posting here. If this is caused by the 2.2 type unification (it sounds like it is), it would make sense that this is affecting other parts of Boa, not because there's a problem in wxPython, but because they may be doing diamond-pattern inheritence (that's what changed, right?) Here are the tracebacks: 23:19:20: if dsgn.selectControlByPos(ctrl, event.GetPosition(), event.ShiftDown()): 23:19:20: File "P:\boa\Views\Designer.py", line 722, in selectControlByPos 23:19:20: self.compPal.selection[2], pos) 23:19:20: File "P:\boa\Views\Designer.py", line 446, in newControl 23:19:20: companion.designTimeControl(position, size), parentName) 23:19:20: File "P:\boa\Companions\BaseCompanions.py", line 540, in designTimeControl 23:19:20: self.control = apply(self.ctrlClass, (), self.designTimeDefaults(position, size)) 23:19:20: File "C:\bin\lang\py22\lib\site-packages\wxPython\lib\buttons.py", line 78, in __init__ 23:19:20: self.InitColours() 23:19:20: File "C:\bin\lang\py22\lib\site-packages\wxPython\lib\buttons.py", line 142, in InitColours 23:19:20: self.SetBackgroundColour(faceClr) 23:19:20: File "C:\bin\lang\py22\lib\site-packages\wxPython\lib\buttons.py", line 154, in SetBackgroundColour 23:19:20: wxWindow.SetBackgroundColour(self, colour) 23:19:20: TypeError: unbound method SetBackgroundColour() must be called with wxWindowinstance as first argument (got wxGenButton instance instead) 23:22:41: TypeError: unbound method SetBackgroundColour() must be called with wxWindowinstance as first argument (got wxGenButton instance instead)Traceback (most recent call last): 23:22:41: TypeError: unbound method SetBackgroundColour() must be called with wxWindowinstance as first argument (got wxGenButton instance instead) File "P:\boa\Views\Designer.py", line 1257, in OnControlRelease 23:22:41: dsgn.selection.moveRelease() 23:22:41: File "P:\boa\Views\SelectionTags.py", line 242, in moveRelease 23:22:41: self.positionUpdate() 23:22:41: File "P:\boa\Views\SelectionTags.py", line 411, in positionUpdate 23:22:41: self.inspector.constructorUpdate('Position') 23:22:41: File "P:\boa\Inspector.py", line 262, in constructorUpdate 23:22:41: self.pageUpdate(self.constr, name) 23:22:41: File "P:\boa\Inspector.py", line 258, in pageUpdate 23:22:41: page.initFromComponent(name) 23:22:41: File "P:\boa\Inspector.py", line 1000, in initFromComponent 23:22:41: nv.initFromComponent() 23:22:41: File "P:\boa\Inspector.py", line 736, in initFromComponent 23:22:41: self.propEditor.persistValue(self.propEditor.valueAsExpr()) 23:22:41: File "P:\boa\PropEdit\PropertyEditors.py", line 210, in persistValue 23:22:41: self.companion.persistProp(self.name, funcName, value) 23:22:41: File "P:\boa\Companions\Companions.py", line 1130, in persistProp 23:22:41: ContainerDTC.persistProp(self, name, setterName, value) 23:22:41: TypeError: unbound method persistProp() must be called with ContainerDTC instance as first argument (got ListCtrlDTC instance instead) 23:22:41: TypeError: unbound method persistProp() must be called with ContainerDTC instance as first argument (got ListCtrlDTC instance instead)Traceback (most recent call last): 23:22:41: TypeError: unbound method persistProp() must be called with ContainerDTC instance as first argument (got ListCtrlDTC instance instead) File "P:\boa\Views\Designer.py", line 1301, in OnControlResize 23:22:41: dsgn.selection.sizeFromCtrl() 23:22:41: File "P:\boa\Views\SelectionTags.py", line 316, in sizeFromCtrl 23:22:41: self.sizeUpdate() 23:22:41: File "P:\boa\Views\SelectionTags.py", line 414, in sizeUpdate 23:22:41: self.inspector.constructorUpdate('Size') 23:22:41: File "P:\boa\Inspector.py", line 262, in constructorUpdate 23:22:41: self.pageUpdate(self.constr, name) 23:22:41: File "P:\boa\Inspector.py", line 258, in pageUpdate 23:22:41: page.initFromComponent(name) 23:22:41: File "P:\boa\Inspector.py", line 1000, in initFromComponent 23:22:41: nv.initFromComponent() 23:22:41: File "P:\boa\Inspector.py", line 736, in initFromComponent 23:22:41: self.propEditor.persistValue(self.propEditor.valueAsExpr()) 23:22:41: File "P:\boa\PropEdit\PropertyEditors.py", line 210, in persistValue 23:22:41: self.companion.persistProp(self.name, funcName, value) 23:22:41: File "P:\boa\Companions\Companions.py", line 1130, in persistProp 23:22:41: ContainerDTC.persistProp(self, name, setterName, value) 23:22:41: TypeError: unbound method persistProp() must be called with ContainerDTC instance as first argument (got ListCtrlDTC instance instead) Afraid I'm in the middle of something just now, or I would go spelunking through Boa's innards to figure out what's going on. For now I'm just going back to hand-coding the project. Enjoy, Mike Robin Dunn wrote: >>Was there a similar fix for wxListCtrl? I just ran into what appear to >>be identical errors appearing in Boa 1.0a with the generic button and >>list controls. Popping in the updated buttons.py fixed the generic >>button problem. >> > > This is a new one to me. Do you have a quick code sample that shows the > error? ... |
From: Steve S. <sp...@ac...> - 2002-01-29 15:09:24
|
Hey Riaan, haven't had much of a chance to test it out yet, but from what I've seen, great job! Boa's really coming along nicely, this one's much better than the last CVS version. :) I'll see what I can do about bug reports/suggestions in the next couple of days. Steve |
From: Bell J. <jbe...@ya...> - 2002-01-29 05:11:05
|
Excellent!!! I've on;y recently looked seriously at Boa and was about to give up due to the 2.3.2 issue! This has come Just in Time for me. A couple of minor immediate issues: (1) Obviously you're packaging from a Microsoft platform. There is a minor problem in that text files are not marked as such in the zip-file and thus unzip -a doesn't clean up the <CRLF> -> <LF> transformation when loading into Linux. This leads to a peculiar startup problem (something like : not found). (2) Some files still have "#!/bin/env python" in their startup. the path to "env" should be "/usr/bin" for all 3 linuxes I've got and HP-UX and Solaris, so probably pretty much any *IX. (3) Some files have "#! /usr/bin..." The space after the "!" will throw some unices. (4) I don't know if you've seen this, but on Linux/GTK exiting Boa without saving anything causes a core dump. As I say they're pretty minor problems, but hey may as well get everything clean for 1.0! Now that I've got something operational I'll see what I can build over the next few days and report any broken bits I find. Once again, it's great to see the project back on the road again. John Bell --- Riaan Booysen <riaan@e.co.za> wrote: > Hello everyone, > > I'm proud to at last announce the alpha version of > Boa Constructor! > > Here are the highlights: > > * Compatible with and now requires wxPython 2.3.2. > * Files can now be opened, edited and saved over any > supported transport > * Currently supported: Filesystem, FTP, WebDAV, > SSH, Zope > * Explorer improvements > * Clipboard improved, can copy/paste between any > transports > * Preferences are now be maintained in the > Explorer and the Inspector. > * Can be stored in HOME directory > * Key definitions editable > * Style editor for user defined source code > styles, colours and > fonts. > * Pluggable components and transports > * New components, filetypes and transports can be > added by putting the > module in the Plug-ins directory. Examples > provided. > * Support for opening html, xml, text, config and > c++ files > * Extensive Zope support added > * Complete integrated help for Boa, Python, wxPython > and CVS. > * All image transparency issues resolved (using PNGs > for everything) > * Improved code completion, call tips and code > browsing. > * Syntax checking for Python source > * New controls available from the Palette. > * More properties added for standard controls > * Resource usage under Win9x improved > * Stability and speed improvements > * Code generation is safer with rollback on errors > and warnings for > unexpected/incomplete code. > * Improved integration between your code and > generated code > > The files are available from: > > http://sourceforge.net/project/showfiles.php?group_id=1909&release_id=72445 > > boa-constructor-0.1.0-alpha.src.zip : source > archive (any platform) > boa-constructor-0.1.0-alpha.win32.exe : distutils > installer (win32) > boa-constructor-0.1.0-alpha.docs.zip : > documentation > > Enjoy! > -- > Riaan Booysen > ___________________________________________________ > Boa Constructor - RAD GUI building IDE for wxPython > http://boa-constructor.sourceforge.net > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com |