Re: [Boa Constr] Boa 0.2.0 starting problem - Palette.py
Status: Beta
Brought to you by:
riaan
From: Krzysztof G. <go...@ch...> - 2003-01-15 12:04:14
|
Riaan Booysen wrote: >Hi Chris, > > > >>Hi, >> >>Messages like this I got few months ago. I supposed that the problem was >>in 'my own incompatibility' between wxGTK and wxPython. >>(building wxWindows and wxPython from cvs was the solution). >> >> > >No it was a plain old wxPython bug, dormant under Python 2.1 but >an error under 2.2 > >Actually this problem is just a tiny typo in buttons.py, > > File "/usr/lib/python2.2/site-packages/wxPython/lib/buttons.py", > line 154, in SetBackgroundColour > > wxWindow.SetBackgroundColour(self, colour) > >should be > > wxControl.SetBackgroundColour(self, colour) > > Thanks, it works :-) >>Today it would be possible (I've just downgraded wxPython from 2.3.3 to >>2.3.2.1 - Gentoo 1.4rc1, python 2.2) >>-- but Boa 0.1.5 starts successfully :-) >> >>Maybe upgrading wxPython to 2.3.4 or 2.4.0 will be the solution, but im >>my case it's not so easy nowadays. >> >>I've read about 'deja vu', 'corner cases' so where may I find 'patched >>buttons.py in ExternalLib' ? >>-but if it will be a problem(even small) I may upgrade to 2.3.4 or 2.4.0 >>after a week or two, nowadays I may use 0.1.5, it works ok for me. >> >>Thanks in advance for help and (continuously) thanks, Riaan, for all >>Your work with Boa - it's really great. >> >> > >Pleasure :) > >But on to your problem, I just saw that a last minute change to Palette.py >broke the special casing for the spesific versions where this problem >occurs. These things always happen right before a release :( > Keep smiling, I think that many of us don't like such 'special cases' within our software :-) They produces troubles only, they need additional testing, they decreases quality of software .. and usually they are not neccessary, of course :-) > >Luckily not many people are still on 2.3.2, but it's a cold comfort. > > In my opinion keeping compatibility with older versions of wxPython and Python is not neccessary. I think that current wxPython (and optionally the previous one) will be enough. I hope that it's not only my opinion :-) Cheers, Chris |