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: Hans-Peter J. <hp...@ur...> - 2002-03-24 15:29:32
|
On Saturday, 23. March 2002 01:51, Hans-Peter Jansen wrote: > Hi, > > while working on a composite control derived from wxComboBox, I'm trying > to solve the dynamic resizing part by overlaying SetConstraints(). > self.panel is the self contained parent of all other controls: > > def SetConstraints(self, constr): > wxComboBox.SetConstraints(self, constr) > # XXX: how resolve constraints dynamically? > self.panel.SetConstraints(LayoutAnchors(self.panel, true, true, > true, false)) #self.panel.SetConstraints(LayoutAnchors(self.panel, > constr.left, constr.top, #constr.right, constr.bottom)) > > It must be possible somehow, but I couldn't figure it out 8| Solved it myself(tm). I was simply thinking to complicated... The SpinCombo is ready, I've sent it to the wxPython list. If somebody is interrested here, I can put it on this list, too (but I suspect, all readers here are subscribed in the wxPython list, too) Cheers, Hans-Peter |
From: Terrel S. <tsh...@uc...> - 2002-03-23 04:40:39
|
Running tounix fixed the problem for me. Of course, like every red-blooded hacker, I had to write tounix from scratch, rather than figure out how to use tr. see http://wxidle.sourceforge.net/doodads/ |
From: Hans-Peter J. <hp...@ur...> - 2002-03-23 02:48:44
|
Hi, while working on a composite control derived from wxComboBox, I'm trying to solve the dynamic resizing part by overlaying SetConstraints(). self.panel is the self contained parent of all other controls: def SetConstraints(self, constr): wxComboBox.SetConstraints(self, constr) # XXX: how resolve constraints dynamically? self.panel.SetConstraints(LayoutAnchors(self.panel, true, true, true, false)) #self.panel.SetConstraints(LayoutAnchors(self.panel, constr.left, constr.top, #constr.right, constr.bottom)) It must be possible somehow, but I couldn't figure it out 8| As always, any hints appreciated. Read you, Hans-Peter |
From: <kl...@ma...> - 2002-03-22 19:45:11
|
Has anyone had any luck running an app with the new debugger from CVS? I'm just wondering if I'm having a bad day or if the debugger is having issues. I have noticed that there's been recent activity on the debugger CVS logs, but it still doesn't run. Symptoms: Debugger starts, indicating its ready to run. Pressing either of the run buttons gives a "running" status (bottom of debugging window), but my wx application never appears. Straight Python scripts seem to run OK and the wxApp runs "correctly" until the mainloop is called. I'm just wondering if its a platform problem or if its just not working yet. Run on: Win98/ME Python 2.1/2.2 wxWindows 2.3 Boa 0.1.1a (CVS pulled today 3/22) Kevin Oh yeah... Thanks Riaan and team! |
From: Bill B. <bi...@kg...> - 2002-03-22 05:34:40
|
John, The Mandrake 8.2 was the final release and I installed from the download version. I have a couple years experience with them, subscribed to the 'club' and my Boa difficulty was with 8.1 installed. The 8.2 installer barfed on gcc, glade, glibc and setting the clock. One of the dependencies was libc.so.6, serious indeed, and about 3 other libraries. Oddly enough the betas looked pretty good. The few additions in 8.2 are not worth the effort of tweaking the dependencies. I was in the throes of upgrading when you suggested the file edit and now, of course, I can't get that far. Since I have 8.1 on the shelf I'm going to reinstall it and try your change. It appears that a test on z2.py would answer the question. I have been scratching the dirt for 2+ years looking for a 'Boa Constructor' and certainly agree with your judgement of boa vs glade. The glade consideration is that I have a very heavy C interpreter for a script of my own invention, done in DOS. I have wrestled with what to do with that for at least as long as the gui search. That's the price of resisting the strait jacket from Redmond. BTW, Debian came up in more than just a fit pique. Libranet's first release is the happiest experience I ever had with any distribution. Great support and responsive people. Unhappily, the debian system spends too much time in the backwater. Thanks much for your suggestions. Will get back. Cheers, -Bill > > Bill, > > Some suggestions: > > (1) I don't have a copy of Mandrake 8.2, so I don't > know what the dependancy problems are, but: > > (a) If you have python2.2 and are running the 0.1.1 > CVS version (which is what I take your previous > comment on "the new version" to mean) then you have a > good combination. Even to 0.1.0 release looks OK with > Python2.2 until you get well into it. > > (b) Since Mandrake is an RPM based system it's > trivial to upgrade around your dependancy problems. > Just download the required RPM's from Mandrake if > available, or if not look on the contrib directory of > the RedHat site for a suitable RPM. In the latter > case it would probably be best to download the source > RPM and do an rpm --rebuild on it first. Not having > used Mandrake in years, I'm not sure if there are > directory architecture differences between them that > will require patching, but I doubt it as in the past > they used to follow RedHat's lead in this area. > > (c) If you're thinking of changing Linux versions > and are concerned about dependancy issues etc., may I > suggest you go for the RedHat variant. I certainly > don't want to start a discussion on the relative > merits of the different distributeions, but with > RedHat being by a long margin the market leader you > will generally find that most software is ready to run > on this platform first. > > (2) Whilst I like Glade/PyGlade myself from an > aesthetic point of view (an addiction to *IX > minimalist solutions), I'd be disinclined to develop > anything serious in it when there are products like > Boa available. You just don't get anything like the > functionality or productivity available with the more > advanced products. As to the Win98 option, I guess > that it's a matter of what your goals are. > > (3) Did you try out my previous suggestion re the > <CR><LF> issue. I can't remember for sure if this is > the solution as it's ages since I ran into this issue. > If you've tried it with no luck, I'm happy to look > further into it. If you need more detailed info just > let me know. > > Regards, > John Bell > > |
From: Bell J. <jbe...@ya...> - 2002-03-22 03:09:00
|
--- Bill Barnes <bi...@kg...> wrote: > > Can it be because I was running python 2.2? > > Would check this, but really lost now. Just > installed Mandrake 8.2, which > installs python 2.2. Now I can't install wxPython > or wxGTK (or Glade) > because of a string of dependencies. Disgusted. Bill, Some suggestions: (1) I don't have a copy of Mandrake 8.2, so I don't know what the dependancy problems are, but: (a) If you have python2.2 and are running the 0.1.1 CVS version (which is what I take your previous comment on "the new version" to mean) then you have a good combination. Even to 0.1.0 release looks OK with Python2.2 until you get well into it. (b) Since Mandrake is an RPM based system it's trivial to upgrade around your dependancy problems. Just download the required RPM's from Mandrake if available, or if not look on the contrib directory of the RedHat site for a suitable RPM. In the latter case it would probably be best to download the source RPM and do an rpm --rebuild on it first. Not having used Mandrake in years, I'm not sure if there are directory architecture differences between them that will require patching, but I doubt it as in the past they used to follow RedHat's lead in this area. (c) If you're thinking of changing Linux versions and are concerned about dependancy issues etc., may I suggest you go for the RedHat variant. I certainly don't want to start a discussion on the relative merits of the different distributeions, but with RedHat being by a long margin the market leader you will generally find that most software is ready to run on this platform first. (2) Whilst I like Glade/PyGlade myself from an aesthetic point of view (an addiction to *IX minimalist solutions), I'd be disinclined to develop anything serious in it when there are products like Boa available. You just don't get anything like the functionality or productivity available with the more advanced products. As to the Win98 option, I guess that it's a matter of what your goals are. (3) Did you try out my previous suggestion re the <CR><LF> issue. I can't remember for sure if this is the solution as it's ages since I ran into this issue. If you've tried it with no luck, I'm happy to look further into it. If you need more detailed info just let me know. Regards, John Bell > > Will either get Debian and run Glade 0.6.4 or Boa on > (gasp) Win98. Messed > around with MDK long enough. Must get into > production. > > Thanks much for taking a look at this. I seem to > recall, also, a glitch on > the Win98 excercise and will report that. > > -Bill > > > > On Thursday 21 March 2002 08:51 pm, you wrote: > > On Thursday, 21. March 2002 20:38, Terrel Shumway > wrote: > > > On Wed, 2002-03-20 at 20:34, Bell John wrote: > > > > Terrel, > > > > > > > > This is just the old Microsoft line > termination > > > > artifact. Hence you should run dos2unix > against all > > > > files in Boa other than the image files and > .zexp > > > > files. > > > > > > Shouldn't we fix the parser to handle the common > line-endings? > > > > > > Otherwise, this will continue to be a problem > for people who use boa on > > > a shared networked filesystem. I assume that > there will be many who use > > > boa *because* it is cross-platform. > > > > Not sure about this one. > > > > Well, I'm using Boa under wxGTK 2.3.2.1 in a > diskless environment, > > and, besides of using python Boa.py|Help.py, no > problems here in this > > domain. I'm using Python 2.1 and autoReindent = > true. > > > > > My suggestion (unit tests and code will follow): > > > a) create a wrapper for wxConfig that will > handle '\r|\r\n|\n' as a > > > line ending (short-term solution, until b is > done) > > > or > > > b) patch the wxWindows code that parses the > config file. > > > > Cheers, > > Hans-Peter > > > > _______________________________________________ > > Boa-constructor-users mailing list > > Boa...@li... > > > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users __________________________________________________ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® http://movies.yahoo.com/ |
From: Bill B. <bi...@kg...> - 2002-03-22 02:16:49
|
Can it be because I was running python 2.2? Would check this, but really lost now. Just installed Mandrake 8.2, which installs python 2.2. Now I can't install wxPython or wxGTK (or Glade) because of a string of dependencies. Disgusted. Will either get Debian and run Glade 0.6.4 or Boa on (gasp) Win98. Messed around with MDK long enough. Must get into production. Thanks much for taking a look at this. I seem to recall, also, a glitch on the Win98 excercise and will report that. -Bill On Thursday 21 March 2002 08:51 pm, you wrote: > On Thursday, 21. March 2002 20:38, Terrel Shumway wrote: > > On Wed, 2002-03-20 at 20:34, Bell John wrote: > > > Terrel, > > > > > > This is just the old Microsoft line termination > > > artifact. Hence you should run dos2unix against all > > > files in Boa other than the image files and .zexp > > > files. > > > > Shouldn't we fix the parser to handle the common line-endings? > > > > Otherwise, this will continue to be a problem for people who use boa on > > a shared networked filesystem. I assume that there will be many who use > > boa *because* it is cross-platform. > > Not sure about this one. > > Well, I'm using Boa under wxGTK 2.3.2.1 in a diskless environment, > and, besides of using python Boa.py|Help.py, no problems here in this > domain. I'm using Python 2.1 and autoReindent = true. > > > My suggestion (unit tests and code will follow): > > a) create a wrapper for wxConfig that will handle '\r|\r\n|\n' as a > > line ending (short-term solution, until b is done) > > or > > b) patch the wxWindows code that parses the config file. > > Cheers, > Hans-Peter > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users |
From: Hans-Peter J. <hp...@ur...> - 2002-03-21 20:52:01
|
On Thursday, 21. March 2002 20:38, Terrel Shumway wrote: > On Wed, 2002-03-20 at 20:34, Bell John wrote: > > Terrel, > > > > This is just the old Microsoft line termination > > artifact. Hence you should run dos2unix against all > > files in Boa other than the image files and .zexp > > files. > > Shouldn't we fix the parser to handle the common line-endings? > > Otherwise, this will continue to be a problem for people who use boa on > a shared networked filesystem. I assume that there will be many who use > boa *because* it is cross-platform. Not sure about this one. Well, I'm using Boa under wxGTK 2.3.2.1 in a diskless environment, and, besides of using python Boa.py|Help.py, no problems here in this domain. I'm using Python 2.1 and autoReindent = true. > My suggestion (unit tests and code will follow): > a) create a wrapper for wxConfig that will handle '\r|\r\n|\n' as a > line ending (short-term solution, until b is done) > or > b) patch the wxWindows code that parses the config file. Cheers, Hans-Peter |
From: Terrel S. <tsh...@uc...> - 2002-03-21 19:39:35
|
On Wed, 2002-03-20 at 20:34, Bell John wrote: > Terrel, > > This is just the old Microsoft line termination > artifact. Hence you should run dos2unix against all > files in Boa other than the image files and .zexp > files. Shouldn't we fix the parser to handle the common line-endings? Otherwise, this will continue to be a problem for people who use boa on a shared networked filesystem. I assume that there will be many who use boa *because* it is cross-platform. My suggestion (unit tests and code will follow): a) create a wrapper for wxConfig that will handle '\r|\r\n|\n' as a line ending (short-term solution, until b is done) or b) patch the wxWindows code that parses the config file. |
From: Bell J. <jbe...@ya...> - 2002-03-21 06:21:23
|
Bill, From memory (which means I may be wrong) this is yet another problem resulting from Microsoft EOL sequences in the source. Run dos2unix or equivalent against all files other than image files and ZOA.zexp. John Bell --- Bill Barnes <bi...@kg...> wrote: > > This new version is a beauty and a joy to behold. > Ran it on Win98, but prefer it on Linux and this is > what happens... > > Error on startup 'unexpected EOF while parsing (line > 0) > > Startup runs Traceback following 'importing > ZopeEditorModelsimporting > ZopeEditorModels > Traceback (most recent call last): > File "./Boa.py", line 495, in ? > main() > File "./Boa.py", line 475, in main > app = BoaApp() > File "./Boa.py", line 310, in __init__ > wxApp.__init__(self, false) > File > "/usr/lib/python2.2/site-packages/wxPython/wx.py", > line 1581, in > __init__ > _wxStart(self.OnInit) > File "./Boa.py", line 338, in OnInit > self.main.componentSB, self, self.main) > File "./Editor.py", line 150, in __init__ > self.shell = self.addShellPage() > File "./Editor.py", line 443, in addShellPage > tabPage, shellEdit = \ > File "./Utils.py", line 341, in wxProxyPanel > win = apply(Win, (panel,) + args, kwargs) > File "./ShellEditor.py", line 44, in __init__ > > StyledTextCtrls.PythonStyledTextCtrlMix.__init__(self, > wId, ()) > File "./Views/StyledTextCtrls.py", line 487, in > __init__ > LanguageSTCMix.__init__(self, wId, margin, > 'python', stcConfigPath) > File "./Views/StyledTextCtrls.py", line 439, in > __init__ > (cfg, self.commonDefs, self.styleIdNames, > self.styles, psgn, psg, olsgn, > File "./Views/StyledTextCtrls.py", line 480, in > getSTCStyles > return STCStyleEditor.initFromConfig(config, > language) > File "./Views/STCStyleEditor.py", line 1080, in > initFromConfig > commonDefs = eval(cfg.Read(commonDefsFile)) > File "<string>", line 0 > > ^ > SyntaxError: unexpected EOF while parsing > Exception exceptions.TypeError: "'NoneType' object > is not callable" in > ignored > Exception exceptions.TypeError: "'NoneType' object > is not callable" in > ignored > Exception exceptions.TypeError: "'NoneType' object > is not callable" in > ignored > Exception exceptions.TypeError: "'NoneType' object > is not callable" in > ignored > Exception exceptions.TypeError: "'NoneType' object > is not callable" in > ignored > Exception exceptions.TypeError: "'NoneType' object > is not callable" in > ignored > Exception exceptions.TypeError: "'NoneType' object > is not callable" in > ignored > Exception exceptions.TypeError: "'NoneType' object > is not callable" in > ignored > Exception exceptions.TypeError: "'NoneType' object > is not callable" in > ignored > Segmentation fault > > > Thanks for help > -Bill > > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users __________________________________________________ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® http://movies.yahoo.com/ |
From: Bill B. <bi...@kg...> - 2002-03-21 04:36:57
|
This new version is a beauty and a joy to behold. Ran it on Win98, but prefer it on Linux and this is what happens... Error on startup 'unexpected EOF while parsing (line 0) Startup runs Traceback following 'importing ZopeEditorModelsimporting ZopeEditorModels Traceback (most recent call last): File "./Boa.py", line 495, in ? main() File "./Boa.py", line 475, in main app = BoaApp() File "./Boa.py", line 310, in __init__ wxApp.__init__(self, false) File "/usr/lib/python2.2/site-packages/wxPython/wx.py", line 1581, in __init__ _wxStart(self.OnInit) File "./Boa.py", line 338, in OnInit self.main.componentSB, self, self.main) File "./Editor.py", line 150, in __init__ self.shell = self.addShellPage() File "./Editor.py", line 443, in addShellPage tabPage, shellEdit = \ File "./Utils.py", line 341, in wxProxyPanel win = apply(Win, (panel,) + args, kwargs) File "./ShellEditor.py", line 44, in __init__ StyledTextCtrls.PythonStyledTextCtrlMix.__init__(self, wId, ()) File "./Views/StyledTextCtrls.py", line 487, in __init__ LanguageSTCMix.__init__(self, wId, margin, 'python', stcConfigPath) File "./Views/StyledTextCtrls.py", line 439, in __init__ (cfg, self.commonDefs, self.styleIdNames, self.styles, psgn, psg, olsgn, File "./Views/StyledTextCtrls.py", line 480, in getSTCStyles return STCStyleEditor.initFromConfig(config, language) File "./Views/STCStyleEditor.py", line 1080, in initFromConfig commonDefs = eval(cfg.Read(commonDefsFile)) File "<string>", line 0 ^ SyntaxError: unexpected EOF while parsing Exception exceptions.TypeError: "'NoneType' object is not callable" in ignored Exception exceptions.TypeError: "'NoneType' object is not callable" in ignored Exception exceptions.TypeError: "'NoneType' object is not callable" in ignored Exception exceptions.TypeError: "'NoneType' object is not callable" in ignored Exception exceptions.TypeError: "'NoneType' object is not callable" in ignored Exception exceptions.TypeError: "'NoneType' object is not callable" in ignored Exception exceptions.TypeError: "'NoneType' object is not callable" in ignored Exception exceptions.TypeError: "'NoneType' object is not callable" in ignored Exception exceptions.TypeError: "'NoneType' object is not callable" in ignored Segmentation fault Thanks for help -Bill |
From: Bell J. <jbe...@ya...> - 2002-03-21 04:35:09
|
Terrel, This is just the old Microsoft line termination artifact. Hence you should run dos2unix against all files in Boa other than the image files and .zexp files. Now that I'm back from the sticks I'll have to have a look at the new CVS version! John Bell --- Terrel Shumway <tsh...@uc...> wrote: > running boa-cvs (same thing happens with 0.1.0a) on > redhat 7.2 > python-2.2 > wxGTK-2.3.2-1 > wxGTK-gl-2.3.2-1 > wxPython-gl-2.3.2.1-1 > wxPython-2.3.2.1-1 > gtk+-1.2.10-ximian.21 > > I get this traceback on startup (I added two lines > to print the name of > the file and the key name) > ----- > ... > importing Editor > importing Explorers > localFilename: ./stc-styles.rc.cfg > <C wxFileConfig instance at _854c0d0_wxFileConfig_p> > common.defs.gtk > Traceback (most recent call last): > File "./Boa.py", line 547, in ? > main() > File "./Boa.py", line 528, in main > app = BoaApp() > File "./Boa.py", line 359, in __init__ > wxApp.__init__(self, false) > File > "/usr/lib/python2.2/site-packages/wxPython/wx.py", > line 1581, in > __init__ > _wxStart(self.OnInit) > File "./Boa.py", line 387, in OnInit > self.main.componentSB, self, self.main) > File "./Editor.py", line 135, in __init__ > self.shell = self.addShellPage() > File "./Editor.py", line 490, in addShellPage > tabPage, shellEdit = \ > File "./Utils.py", line 351, in wxProxyPanel > win = apply(Win, (panel,) + args, kwargs) > File "./ShellEditor.py", line 44, in __init__ > > StyledTextCtrls.PythonStyledTextCtrlMix.__init__(self, > wId, ()) > File "./Views/StyledTextCtrls.py", line 487, in > __init__ > LanguageSTCMix.__init__(self, wId, margin, > 'python', stcConfigPath) > File "./Views/StyledTextCtrls.py", line 439, in > __init__ > (cfg, self.commonDefs, self.styleIdNames, > self.styles, psgn, psg, > olsgn, > File "./Views/StyledTextCtrls.py", line 480, in > getSTCStyles > return STCStyleEditor.initFromConfig(config, > language) > File "./Views/STCStyleEditor.py", line 1085, in > initFromConfig > commonDefs = readPyValFromConfig(cfg, > commonDefsFile) > File "./Views/STCStyleEditor.py", line 1063, in > readPyValFromConfig > return eval(string.replace(conf.Read(name), > '\r\n', '\n')+'\n') > File "<string>", line 1 > > ^ > SyntaxError: unexpected EOF while parsing > > ---------- > It does not seem to matter what is actually > contained in the file > stc-styles.rc.cfg > > Any ideas? > > --Terrel > > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users __________________________________________________ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® http://movies.yahoo.com/ |
From: Terrel S. <tsh...@uc...> - 2002-03-20 23:27:39
|
running boa-cvs (same thing happens with 0.1.0a) on redhat 7.2 python-2.2 wxGTK-2.3.2-1 wxGTK-gl-2.3.2-1 wxPython-gl-2.3.2.1-1 wxPython-2.3.2.1-1 gtk+-1.2.10-ximian.21 I get this traceback on startup (I added two lines to print the name of the file and the key name) ----- ... importing Editor importing Explorers localFilename: ./stc-styles.rc.cfg <C wxFileConfig instance at _854c0d0_wxFileConfig_p> common.defs.gtk Traceback (most recent call last): File "./Boa.py", line 547, in ? main() File "./Boa.py", line 528, in main app = BoaApp() File "./Boa.py", line 359, in __init__ wxApp.__init__(self, false) File "/usr/lib/python2.2/site-packages/wxPython/wx.py", line 1581, in __init__ _wxStart(self.OnInit) File "./Boa.py", line 387, in OnInit self.main.componentSB, self, self.main) File "./Editor.py", line 135, in __init__ self.shell = self.addShellPage() File "./Editor.py", line 490, in addShellPage tabPage, shellEdit = \ File "./Utils.py", line 351, in wxProxyPanel win = apply(Win, (panel,) + args, kwargs) File "./ShellEditor.py", line 44, in __init__ StyledTextCtrls.PythonStyledTextCtrlMix.__init__(self, wId, ()) File "./Views/StyledTextCtrls.py", line 487, in __init__ LanguageSTCMix.__init__(self, wId, margin, 'python', stcConfigPath) File "./Views/StyledTextCtrls.py", line 439, in __init__ (cfg, self.commonDefs, self.styleIdNames, self.styles, psgn, psg, olsgn, File "./Views/StyledTextCtrls.py", line 480, in getSTCStyles return STCStyleEditor.initFromConfig(config, language) File "./Views/STCStyleEditor.py", line 1085, in initFromConfig commonDefs = readPyValFromConfig(cfg, commonDefsFile) File "./Views/STCStyleEditor.py", line 1063, in readPyValFromConfig return eval(string.replace(conf.Read(name), '\r\n', '\n')+'\n') File "<string>", line 1 ^ SyntaxError: unexpected EOF while parsing ---------- It does not seem to matter what is actually contained in the file stc-styles.rc.cfg Any ideas? --Terrel |
From: Hans-Peter J. <hp...@ur...> - 2002-03-20 17:30:00
|
Hi Thomas, CVS isn't updated yet. Get 0.1.0 from: http://sourceforge.net/project/showfiles.php?group_id=1909&release_id=72445 On Wednesday, 20. March 2002 17:55, Thomas Guettler wrote: > +README.txt says that you need wxPython 2.2.5 wxGTK 2.3.2 with wxPython 2.3.2.1 is fine here. > +README.txt says that it is version 0.0.5 > > +Where is the directory called Docs in the CVS-Version? > > +I am interested in the access to Zope. Which RPC method do you use? > XML-RPC? Don't know... As always, use the source, Luke. > thomas Cheers, Hans-Peter |
From: Thomas G. <gu...@th...> - 2002-03-20 16:53:40
|
+README.txt says that you need wxPython 2.2.5 +README.txt says that it is version 0.0.5 +Where is the directory called Docs in the CVS-Version? +I am interested in the access to Zope. Which RPC method do you use? XML-RPC? thomas -- Thomas Guettler <gu...@th...> http://www.thomas-guettler.de |
From: Hans-Peter J. <hp...@ur...> - 2002-03-20 16:28:46
|
Hi Riaan, > > while trying to make my boa dialogs resizable, I wasn't able to > > figure out, how to ensure a minimum size. > > Set the SizeHints property in the Inspector. > > It's a tuple of 4 values: (minX, minY, maxX, maxY) Cool, thanks. Would you mind looking into the "constraint objects move by one on edit in Designer" issue. BTW: When using constraints together with wxNotebooks, it's important, that the notebook panels are unconstraint. Otherwise very strange things happens: some right/bottom constraint objects get negative x position values and simply disappear. Just enable constraints of panel[23] in my example. I've made it orginally to resolve this issue ;). > Riaan. Cheers, Hans-Peter |
From: Thomas G. <gu...@th...> - 2002-03-20 16:25:53
|
Hi! I downloaded 0.1.0alpha. When I start it, I get: name 'EVT_HELP' is not defined If I uncomment it in Companions/EventCollections.py it starts up. I use a debian-package of the CVS-Version of WxWindows. The package was created with "make-deb; debian/rules build; debian/rules binary' (See thread on comp.soft-sys.wxwindows) thomas -- Thomas Guettler <gu...@th...> http://www.thomas-guettler.de |
From: Hans-Peter J. <hp...@ur...> - 2002-03-20 16:09:55
|
Hi Riaan et al., every time the attached wxFrame1.py is edited in the designer, all left constraint objects move up 1 pixel. Smells like an off by one problem! Cheers, Hans-Peter |
From: Jean G. <jea...@wa...> - 2002-03-15 21:18:21
|
Which preferences parameter allows to wrap lines around the editor = window, so that you can read a line within the window frame ? John |
From: Hans-Peter J. <hp...@ur...> - 2002-03-15 10:46:46
|
On Friday, 15. March 2002 07:10, Arcady Genkin wrote: > Hello: > > What's the preferred way to install an executable /usr/bin/boa? I was > surprised when I didn't find it in the distribution. Anyhow, I tried > unpacking the sources into /usr/lib/python-2.2/site-modules/boa, and > then writing a small Python wrapper, but when I "import boa.Boa", I > get the following: > > ,---- > > | Starting Boa Constructor v0.1.0-alpha > | importing wxPython > | setting user preferences > | Traceback (most recent call last): > | File "<stdin>", line 1, in ? > | File "/usr/lib/python2.2/site-packages/boa/Boa.py", line 123, in ? > | import Preferences, About, Utils > | File "/usr/lib/python2.2/site-packages/boa/Preferences.py", line 50, in > | ? shutil.copy2(os.path.join(pyPath, prefsFile), file) > | File "/usr/lib/python2.2/shutil.py", line 73, in copy2 > | copyfile(src, dst) > | File "/usr/lib/python2.2/shutil.py", line 28, in copyfile > | fsrc = open(src, 'rb') > | IOError: [Errno 2] No such file or directory: > | '/home/antipode/prefs.rc.py' > > `---- > > The README.txt file says that > > ,---- > > | If you have an environmental variable set named HOME and the directory > | it points to contains a directory named '.boa' all preferences and config > | files will be copied to and used from this directory. > > `---- > > But that doesn't seem to be working, since I definitely have HOME > defined, and I even created ~/.boa manually. :( Any pointers? > > Many thanks, First try starting boa directly from were you've installed it: cd /usr/lib/python-2.2/site-modules/boa python ./Boa.py When this is working, I would create a script in /usr/local/bin: #!/bin/sh cd /usr/lib/python-2.2/site-modules/boa exec python ./Boa.py make it executable, and you're done, don't you? Boa.py and Help.py cannot be executed directly, as long as they contain windos line breaks... Cheers, Hans-Peter |
From: Arcady G. <age...@th...> - 2002-03-15 06:10:53
|
"Arcady Genkin" <ag...@th...> writes: > Anyhow, I tried unpacking the sources into > /usr/lib/python-2.2/site-modules/boa, ^^^^^^^^^^^^ I meant to say "site-packages" of course. ;^) -- Arcady Genkin Don't read everything you believe. |
From: Arcady G. <ag...@th...> - 2002-03-15 06:06:50
|
Hello: What's the preferred way to install an executable /usr/bin/boa? I was surprised when I didn't find it in the distribution. Anyhow, I tried unpacking the sources into /usr/lib/python-2.2/site-modules/boa, and then writing a small Python wrapper, but when I "import boa.Boa", I get the following: ,---- | Starting Boa Constructor v0.1.0-alpha | importing wxPython | setting user preferences | Traceback (most recent call last): | File "<stdin>", line 1, in ? | File "/usr/lib/python2.2/site-packages/boa/Boa.py", line 123, in ? | import Preferences, About, Utils | File "/usr/lib/python2.2/site-packages/boa/Preferences.py", line 50, in ? | shutil.copy2(os.path.join(pyPath, prefsFile), file) | File "/usr/lib/python2.2/shutil.py", line 73, in copy2 | copyfile(src, dst) | File "/usr/lib/python2.2/shutil.py", line 28, in copyfile | fsrc = open(src, 'rb') | IOError: [Errno 2] No such file or directory: '/home/antipode/prefs.rc.py' `---- The README.txt file says that ,---- | If you have an environmental variable set named HOME and the directory | it points to contains a directory named '.boa' all preferences and config | files will be copied to and used from this directory. `---- But that doesn't seem to be working, since I definitely have HOME defined, and I even created ~/.boa manually. :( Any pointers? Many thanks, -- Arcady Genkin Don't read everything you believe. |
From: Terrel S. <tsh...@ic...> - 2002-03-13 23:10:11
|
I tried boa 0.0.5 a while ago. I thought, "OK, maybe someday." I just tried boa 0.1.0a. I thought, "WOW! Where did this beautiful = piece of software come from?!!" If there was ever a case study of = development speed for Python vs. Java -- Boa vs. Netbeans is it. |
From: Robin D. <ro...@al...> - 2002-03-08 20:44:48
|
> > Could some one please tell me how to set this property? > > add this line in your __init__ method: > > self.SetIcon(wxIcon('path/to/icon.ico', wxBITMAP_TYPE_ICO)) > > > > > Oh, and can I have the icon in PNG or must it be a .ico? > > Must be an .ico file. > That's why it can't just be set by a normal bitmap property editor. Actually it can be, you just have to load it as a wxBitmap and convert it to a wxIcon first. bmp = wxBitmap('path/to/icon.png', wxBITMAP_TYPE_PNG) icon = wxEmptyIcon() icon.ConvertFromBitmap(bmp) self.SetIcon(icon) The next version of wxPython will have a wxIconFromBitmap(bmp) helper function/constructor to do the conversion for you. -- Robin Dunn Software Craftsman ro...@Al... Java give you jitters? http://wxPython.org Relax with wxPython! |
From: Hans-Peter J. <hp...@ur...> - 2002-03-08 11:33:58
|
On Friday, 8. March 2002 05:05, Riaan Booysen wrote: > Hello Hans-Peter, > > Currently you can move around a group of selected objects in 1 pixel > increments by holding down control and using the cursor keys. > There is a bug with wxAcceleratorTables on wxGTK which breaks this > for you, but it works on Windows. I've added a bug report on this one this week. > Try rebinding the keys under Preferences-Key bindings-Designer-Move* Haven't found this in the menus, only KeyDefsDlg.py in source. > You may also set the Designer grid to a lower granularity for > moving multiple selected objects with higher precision. > See Preferences-General-Designer-dsGridSize. Done that before :) dsGridSize = 2 > > BTW: Right now, after selecting multiple objects and deselecting them > > in a designer session, the handles of single selected objects are drawn > > in background color thereafter. See attached screen shot. The first > > control is selected. Disturbing... > > This is probably a repaint problem. Try to determine if the tags > are actually the wrong colour or if they are just not updated properly. I bet, it isn't. After selecting one item, it's selection tags are drawn opaque black. After adding a second selection, it's tags are drawn in background color with a black edge. Thereafter, a _single_ selection is drawn with background colored tags. Multiple selections are drawn as expected. I bet, the color of the multi selection tag leaks into the single selection color, which would explain the findings. Would you like to give me a source code pointer into this? > > Source formatting: Breaking long lines into a more editor friendly > > format (say 100 columns). > > It's on the todo (properly handling multiple lines) > For me the priority is not that high as I see the generated code almost > as a resource, something you *usually* don't maintain manually. We're all aesthetic fanatics, don't we? > > I18n: the possibility to wrap all strings in i18n(). > > Maybe support for the gettext.py convention of using _(string) > would be simplest (I think this has been suggested before) Grmf. I really ment _() > However there is a more general issue involved; Giving property editors > more state, and how to manage it through the Inspector. > Already property editors support the additional state of being linked > to special frame attributes. > > A more specific solution would be to add a new specialised property > editor dialog for strings with a checkbox for when the string should > be _(gettext) wrapped. It could even possibly add the gettext import > statement and _ binding when it's checked. This is what I'm dreaming about ;) The question is: How can I help you on this? > Riaan. Cheers, Hans-Peter |