WxPython versus Tkinter.
Martin v. Loewis
martin at v.loewis.de
Mon Jan 24 03:56:16 EST 2011
> Well i did "expect" that you would at least include some info as to
> your OS and version.
OS is Linux, wxPython is Debian python-wxgtk2.6 2.6.3.2.2-5+b1.
> That would be helpful also. Obviously the
> wx.ImageList is barfing. Do you have the Bitmap folder containing the
> three images. Did you try to comment out the "_createImages()" line.
If I do, I get
Traceback (most recent call last):
File "wxtk_challenge_1.py", line 222, in <module>
frame = AppFrame()
File "wxtk_challenge_1.py", line 206, in __init__
self.listWidget.showDirectory(sys.prefix)
File "wxtk_challenge_1.py", line 150, in showDirectory
imageIdx = self.imageMap[iconname]
KeyError: 'folder'
If I then also comment out lines 150..154, I get a window, but it's
empty (of course).
> Simple debug skills we are talking about here Martin, simple. But yet
> again this is only tested on Windows. I clearly noted that in the
> source.
Well Rick, this doesn't make look wxPython any better.
Regards,
Martin
More information about the Python-list
mailing list