Problem with wxPython

6 views
Skip to first unread message

H. Mueller

unread,
Jan 25, 2007, 10:17:11 AM1/25/07
to PyInstaller
Hi,

I am currently developing a program in python and planning to
distribute
it as executable using PyInstaller.

I just tried building it, and after some failes initial attempts, I now
have a version that does not immediately crash.

I noticed, however, that the appearance and design of my application
has changed. If I start it via python, I get these nice Windows XP
themed tabs and buttons, if I start the generated exe from PyInstaller,
it has this kinda old-fashioned look, it looks like a Windows 2k
application.

Is there any way to fix this?
By the way, I'm using Python 2.5 and wxPython 2.8

Thanks,
Hannes

Giovanni Bajo

unread,
Jan 25, 2007, 11:08:18 AM1/25/07
to PyIns...@googlegroups.com

Which version of PyInstaller are you running? This should be fixed in
the latest release.
--
Giovanni Bajo

H. Mueller

unread,
Jan 25, 2007, 3:56:22 PM1/25/07
to PyInstaller

On Jan 25, 5:08 pm, Giovanni Bajo <r...@develer.com> wrote:
> On 1/25/2007 4:17 PM, H. Mueller wrote:
> > I noticed, however, that the appearance and design of my application
> > has changed. If I start it via python, I get these nice Windows XP
> > themed tabs and buttons, if I start the generated exe from PyInstaller,
> > it has this kinda old-fashioned look, it looks like a Windows 2k
> > application.
>
> > Is there any way to fix this?

> Which version of PyInstaller are you running? This should be fixed in
> the latest release.

Thanks for the quick reaction to my posting!

I am using PyInstaller Version 1.3 from
http://pyinstaller.hpcf.upr.edu/source/1.3/pyinstaller_1.3.zip

Do I need to get a development snapshot?

Hannes

Giovanni Bajo

unread,
Jan 26, 2007, 6:07:41 AM1/26/07
to PyIns...@googlegroups.com
On 1/25/2007 9:56 PM, H. Mueller wrote:

> Thanks for the quick reaction to my posting!
>
> I am using PyInstaller Version 1.3 from
> http://pyinstaller.hpcf.upr.edu/source/1.3/pyinstaller_1.3.zip
>
> Do I need to get a development snapshot?

No that version should be fine (even if you picked up from the old site).

Are you building a windowed executable or a console executable? Did you
run Makespec.py with the --windowed option? If not, you can try
regenerating the .spec file (or simply hand-editing it) to turn on
windowed support.
--
Giovanni Bajo

Hannes Müller

unread,
Jan 26, 2007, 6:42:13 AM1/26/07
to PyIns...@googlegroups.com
On 1/26/07, Giovanni Bajo <ra...@develer.com> wrote:
>
> Are you building a windowed executable or a console executable? Did you
> run Makespec.py with the --windowed option? If not, you can try
> regenerating the .spec file (or simply hand-editing it) to turn on
> windowed support.

Oh, nice, I didn't know that this option is required. The manual only
told me that this suppresses the console. Thanks for the help.

By the way: The link to the latest manual on the
http://www.pyinstaller.org site is broken.
it should be: http://pyinstaller.python-hosting.com/file/trunk/doc/Manual.html?rev=latest&format=raw

NOT: http://pyinstaller.python-hosting.com/cgi-bin/trac.cgi/file/trunk/doc/Manual.html?rev=latest&format=raw

Could someone with the appropriate access rights please fix it :) and
perhaps add it to the manual that the -w option also enables themes
for wxPython.

H.

Giovanni Bajo

unread,
Jan 28, 2007, 9:32:18 AM1/28/07
to PyIns...@googlegroups.com
On 26/01/2007 12.42, Hannes Müller wrote:

> Oh, nice, I didn't know that this option is required. The manual only
> told me that this suppresses the console. Thanks for the help.

This is actually a "bug" in Windows, if anything.

OK fixed thanks!

> Could someone with the appropriate access rights please fix it :) and
> perhaps add it to the manual that the -w option also enables themes
> for wxPython.

I added an entry to the FAQ instead. I couldn't stand putting a wxPython-ism
detail to the general manual :)
--
Giovanni Bajo

Reply all
Reply to author
Forward
0 new messages