desperately looking for a howto on running my wxPython app on Vista

python 2.6, py2exe and Vista do not make a happy set.

Unfortunately I am in dire need to launch my app not only on WinXP but
also on Vista. I need 2.6 because of a number of support packages I am
using and some of which I am compiling myself (and python 2.5 needs a
version of visual studio that is no longer available.)

I can find all kinds of advice and discussions with google but I have
yet to find a clear explanation on what a poor developer like me is
supposed to do to get my python 2.6.2 , stackless, wxpython and all my
(self-built) pyds to work happily on Vista.

I am currently stuck on the infamous R6034 error but I understand that
after that there may be another issue with certain wxPython functions.

Can someone please point me to a howto on crafting the right Setup.py
and manifests etc. to make this work?

Paul

···

--
Paul Sijben tel: +31334566488
Eemvalley Technology BV fax: +31334557523
the Netherlands http://eemvalley.com
-----------------------------------------------------
EemValley Technology werft python & wxpython
programmeurs: http://www.eemvalley.nl/jobs

Paul,

python 2.6, py2exe and Vista do not make a happy set.

Unfortunately I am in dire need to launch my app not only on WinXP but
also on Vista. I need 2.6 because of a number of support packages I am
using and some of which I am compiling myself (and python 2.5 needs a
version of visual studio that is no longer available.)
  
I did a quick Google search and Visual Studio 2003 is still available from multiple retailers...

I can find all kinds of advice and discussions with google but I have
yet to find a clear explanation on what a poor developer like me is
supposed to do to get my python 2.6.2 , stackless, wxpython and all my
(self-built) pyds to work happily on Vista.
  
I am not aware of any packages that are only on Python 2.6 though, unless you're talking about some of the new modules included in the standard library.

I am currently stuck on the infamous R6034 error but I understand that
after that there may be another issue with certain wxPython functions.

Can someone please point me to a howto on crafting the right Setup.py
and manifests etc. to make this work?

Paul

Here's what Robin has been linking to lately on this subject:

http://www.tejerodgers.com/snippets/2009/why-wxpython-crashes-python-26/
http://www.tejerodgers.com/snippets/2009/how-to-load-common-controls-v6-with-python-code/

Hopefully they will get you pointed in the right direction. Otherwise you'll have to wait for Robin's infamous fix in the next release. As for building applications into executables, I recommend Andrea's GUI2Exe: http://code.google.com/p/gui2exe/

···

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org

Paul Sijben schrieb:

python 2.6, py2exe and Vista do not make a happy set.

Unfortunately I am in dire need to launch my app not only on WinXP but
also on Vista. I need 2.6 because of a number of support packages I am
using and some of which I am compiling myself (and python 2.5 needs a
version of visual studio that is no longer available.)

I can find all kinds of advice and discussions with google but I have
yet to find a clear explanation on what a poor developer like me is
supposed to do to get my python 2.6.2 , stackless, wxpython and all my
(self-built) pyds to work happily on Vista.

I am currently stuck on the infamous R6034 error but I understand that
after that there may be another issue with certain wxPython functions.

Can someone please point me to a howto on crafting the right Setup.py
and manifests etc. to make this work?

Paul

Do you use Python 2.6.2 or an earlier version?

I posted a simple recipe that worked for me to this very mailing list,
at Nov 19, 2008. However, Python 2.6.2 was not released then, so I assume
I used 2.6.1 at that time.

The subject was:

'Re: py2exe, Py26, wxPython and dll'

···

--
Thanks,
Thomas

Hi Thomas,

I moved to 2.6.2 as it seemed that the Vista issue would be solved by
that update, it didn’t :frowning:

Looking at your message, I did exactly that and more, I made a manifest
for my program as well pointing it to the MicrosoftRedist dlls in the
same directory.

This works like a charm for WinXP (as your test on November also shows)
but not for Vista.

Paul

Thomas Heller wrote:

···
-- Paul Sijben tel: +31334566488
Eemvalley Technology BV fax: +31334557523
the Netherlands -----------------------------------------------------
EemValley Technology werft python & wxpython programmeurs:

http://eemvalley.comhttp://www.eemvalley.nl/jobs

Paul Sijben wrote:

also on Vista. I need 2.6 because of a number of support packages I am
using and some of which I am compiling myself (and python 2.5 needs a
version of visual studio that is no longer available.)

compiling extensions with MingGW is pretty painless with 2.5

Though yes, we do want 2.6 to work right! It sounds like Robin may have got that problem finally solved, see recent thread in wxPython-dev.

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

I have also tried everything I could (see wxPython-dev mailing list). Tweaking
and/or removing the manifest(s) in the libs, pyd’s, dll’s, exe’s with the hope
the “exe” will fall back on a “SxS assembly” residing alongside the exe.

No luck. OK on XP and w2k, fail on vista.

Note, it was a pure Python application.

Jean-Michel Fauth, Switzerland.

···

2009/4/28 Paul Sijben sijben@eemvalley.com

python 2.6, py2exe and Vista do not make a happy set.

Unfortunately I am in dire need to launch my app not only on WinXP but

also on Vista. I need 2.6 because of a number of support packages I am

using and some of which I am compiling myself (and python 2.5 needs a

version of visual studio that is no longer available.)

I can find all kinds of advice and discussions with google but I have

yet to find a clear explanation on what a poor developer like me is

supposed to do to get my python 2.6.2 , stackless, wxpython and all my

(self-built) pyds to work happily on Vista.

I am currently stuck on the infamous R6034 error but I understand that

after that there may be another issue with certain wxPython functions.

Can someone please point me to a howto on crafting the right Setup.py

and manifests etc. to make this work?

Paul