Thanks to Andreas for the solution to catch the error. The error is this:
 

Traceback (most recent call last):

File "LBV.py", line 973, in <module>

File "wx\_core.pyc", line 7757, in __init__

File "wx\_core.pyc", line 7354, in _BootstrapApp

File "LBV.py", line 966, in OnInit

File "LBV.py", line 944, in __init__

File "wx\_core.pyc", line 3270, in ConvertToBitmap

wx._core.PyAssertionError: C++ assertion "image.Ok()" failed at ..\..\src\msw\bitmap.cpp(799) in wxBitmap::CreateFromImage(): invalid image

Why should this work when running from IDE but not when using py2exe?

--
efil si doog