On Wednesday 11 March 2009 03:08:28 am Uwe Grauer wrote:
> Uwe Grauer wrote:
> > johnf wrote:
> >> I'm getting an error about wx.tools too.
> >
> > As a workaround you can try to link from
>
> cd /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/tools
> ln -s /usr/lib/python2.5/site-packages/Editra Editra
> ln -s /usr/lib/python2.5/site-packages/XRCed XRCed
>
> works for me.
>
> Uwe
I am using a laptop that I use to play with the new versions etc... So I'm
using my memory to report what I discovered. It is using
openSUSE 11.2, python 2.6 (came installed) wxPython 2.8.9.2 (got it from
packman). The latest Dabo and my latest code.
I get a new error running my code. Can't add a str and int from:
def getColNumByX in dGrid.
Turns out x was a string in the below code.
col = self.XToCol(x + (self.GetViewStart()[0]*self.GetScrollPixelsPerUnit()
[0]))
x=' ' when the error occurs that's a space and not an empty string.
As a quick fix I added
if x == ' ' or x is None:
x=0
I should have determine what situation was passing x as a string. When I have
time I'll look further into the issue. In the mean time maybe someone else
will continue to test 2.6 and 2.8.9.2.
--
John Fabiani
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]