wxversion issue

Stani's Python Editor spe.stani.be at gmail.com
Mon Oct 22 05:48:40 PDT 2007


A SPE user reported a problem with wxversion when SPE is run inside
Blender. SPE can launch fine one time in Blender. Because the wxpython
loop blocks blender internal loop. Users have to exit SPE to continue
working with Blender. Afterwards they are not able to start SPE again
because wxversion raises an VersionException "wxversion.ensureMinimal()
must be called before wxPython is imported". I would prefer that it
would raise a different exception like AlreadyImportedException to
distinguish with the other version exceptions. Or even more handy would
be if the wxpython version check would have an optional argument to
ignore if it is already loaded and just check if the loaded version is
within the version range.
I am open for other suggestions.
Thanks,
Stani

PS Please do a reply all to this message as I am subscribed to the digest.




More information about the wxpython-dev mailing list