[wxPython] pysketch

Is pysketch still alive? I downloaded it from
http://www.wave.co.nz/~kiwicorp/wxpython/pySketch.zip
(even though none of the directories appear to be valid, I could still
download the file), but it didn't work for me. I get the following error in
a dialog:
..\msw\thar95.cpp(455): assert failed: invalid tool button bitmap.

Could it be that I am using wxPython 2.3.1 instead of 2.3? If so, is there
an updated version of pysketch?

···

--------------------------------------------------------------------------
C. Porter Bassett cporter@byu.edu http://www.cporterbassett.com
odigo #: 3854128 ICQ #:38435505 AIM ID: cporterbassett
--------------------------------------------------------------------------
"Pretend like this is a really witty saying." - Anonymous
--------------------------------------------------------------------------

Hi,

Is pysketch still alive? I downloaded it from
http://www.wave.co.nz/~kiwicorp/wxpython/pySketch.zip
(even though none of the directories appear to be valid, I could still
download the file), but it didn't work for me. I get the following error in
a dialog:
..\msw\thar95.cpp(455): assert failed: invalid tool button bitmap.

Could it be that I am using wxPython 2.3.1 instead of 2.3? If so, is there
an updated version of pysketch?

I'm the guy who wrote pySketch, so I certainly hope it's still alive!

I'm using wxPython 2.3 under Python 1.5.2, so I'm afraid that's all I've got to test with at this stage. Could it be that the supported bitmap formats have changed along the way somehow? All the images are in standard .bmp format, so in theory they should be readable on any machine...

Has anyone else had the same problem? I'll have to upgrade my copy of wxPython at some stage (not to mention my copy of Python -- 1.5.2 is getting ancient!), but I need to use it for work and don't have the time to muck about at the moment. If anyone can suggest a quick and easy fix in the meantime, I'd be happy to do so...otherwise it'll have to wait a few weeks until I have a chance to upgrade...

Oh, I know about the problem with directory access from my account, My ISP prevents you from doing directory listings, and I haven't had a chance to write up a proper web site yet -- I'm really just using it as a quick-and-dirty FTP server where you can grab files from (via HTTP)...that's something else I must fix up at some stage...

Cheers,

  - Erik.

I originally wrote:

>Is pysketch still alive? I downloaded it from
>http://www.wave.co.nz/~kiwicorp/wxpython/pySketch.zip
>(even though none of the directories appear to be valid, I could still
>download the file), but it didn't work for me. I get the following error

in

>a dialog:
>..\msw\thar95.cpp(455): assert failed: invalid tool button bitmap.

I tried doing image stuff yesterday and had the exact same problem with my
stuff. All the problems went away when I threw in
wxInitAllImageHandlers()

I went to pysketch and did the same thing. It works just fine now.

Hi Porter,

I tried doing image stuff yesterday and had the exact same problem with my
stuff. All the problems went away when I threw in
wxInitAllImageHandlers()

I went to pysketch and did the same thing. It works just fine now.

Brilliant detective work...thanks!

  - Erik.