gui2exe problem

Hi,
I've been using Andrea Gavana's fantastic gui2exe (v0.1) for a while
now and have had no problems.

I've just downloaded the latest build and am having problems with what
looks to be the SuperToolTip popup. Every time I place my mouse arrow
over a widget I get the following console error:

#---- System Information ----#
GUI2Exe Version: 0.2
Operating System: Windows XP (build 2600, Service Pack 3)
Python Version: 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310
32 bit (Intel)]
wxPython Version: 2.8.10.1 (msw-unicode)
wxPython Info: (__WXMSW__, wxMSW, unicode, wx-assertions-on,
SWIG-1.3.29)
Python Encoding: Default=mbcs File=mbcs
wxPython Encoding: utf-8
System Architecture: 32bit
Byte order: little
Frozen: False
#---- End System Information ----#

#---- Traceback Info ----#
*** 30 July 2009 @ 12:30:18 ***
Traceback (most recent call last):
  File "C:\gui2exe\BaseBuilderPanel.py", line 141, in OnEnterWindow
    self.tipWindow = TransientPopup(self, compiler, option, tip, note)
  File "C:\gui2exe\Widgets.py", line 2783, in __init__
    TransientBase.__init__(self, parent, compiler, option, tip, note)
  File "C:\gui2exe\Widgets.py", line 2593, in __init__
    self.DropShadow()
  File "C:\gui2exe\Widgets.py", line 2724, in DropShadow
    rgn = win32gui.CreateRoundRectRgn(0, 0, size.x, size.y, 9, 9)
AttributeError: 'module' object has no attribute 'CreateRoundRectRgn'

I see that my system specs are included in the console printout (so I
won't bother posting them).

Also when i hit the 'Report Error' button I got another error box
saying:

'Cannot start Microsoft Office Outlook. The command line argument is
not valid. Verify the switch you are using.'

Just before I posted this message I've noticed that if I turn off
'Show tooltips' (under options) the error no longer occurs.

Thanks for any feedback regarding this problem,
Andrew

Hi Andrew,

···

On Wed, Jul 29, 2009 at 8:01 PM, AndrewC andrew@ese3d.co.nz wrote:

Hi,

I’ve been using Andrea Gavana’s fantastic gui2exe (v0.1) for a while

now and have had no problems.

I’ve just downloaded the latest build and am having problems with what

looks to be the SuperToolTip popup. Every time I place my mouse arrow

over a widget I get the following console error:

#---- System Information ----#

GUI2Exe Version: 0.2

Operating System: Windows XP (build 2600, Service Pack 3)

Python Version: 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310

32 bit (Intel)]

wxPython Version: 2.8.10.1 (msw-unicode)

wxPython Info: (WXMSW, wxMSW, unicode, wx-assertions-on,

SWIG-1.3.29)

Python Encoding: Default=mbcs File=mbcs

wxPython Encoding: utf-8

System Architecture: 32bit

Byte order: little

Frozen: False

#---- End System Information ----#

#---- Traceback Info ----#

*** 30 July 2009 @ 12:30:18 ***

Traceback (most recent call last):

File “C:\gui2exe\BaseBuilderPanel.py”, line 141, in OnEnterWindow

self.tipWindow = TransientPopup(self, compiler, option, tip, note)

File “C:\gui2exe\Widgets.py”, line 2783, in init

TransientBase.__init__(self, parent, compiler, option, tip, note)

File “C:\gui2exe\Widgets.py”, line 2593, in init

self.DropShadow()

File “C:\gui2exe\Widgets.py”, line 2724, in DropShadow

rgn = win32gui.CreateRoundRectRgn(0, 0, size.x, size.y, 9, 9)

AttributeError: ‘module’ object has no attribute ‘CreateRoundRectRgn’

I see that my system specs are included in the console printout (so I

won’t bother posting them).

Also when i hit the ‘Report Error’ button I got another error box

saying:

'Cannot start Microsoft Office Outlook. The command line argument is

not valid. Verify the switch you are using.’

Just before I posted this message I’ve noticed that if I turn off

‘Show tooltips’ (under options) the error no longer occurs.

Thanks for any feedback regarding this problem,

Andrew

My guess is you have an old version of PyWin32. Upgrade that to the latest and win32gui will probably have that method in it. As I recall, Andrea mentioned something about what version of PyWin32 he recommended for the latest GUI2Exe, but I don’t remember what the version was.

Mike Driscoll

Blog: http://blog.pythonlibrary.org

Downloaded latet version of PyWin32 - problem sorted. Thanks Mike.

Also noted that Andrea has provided a fix (r50) for Widgets.py that
corrects the problem for older versions of PyWin32 anyway.

Final synopsis:
1. I'm an egg for not doing a thorough check on my posted problem
2. gui2exe will probably evolve into a self aware entity capable of
compiling everything from wxPython apps to small fury rodents (that's
powerful!)

Appologies for my spam.
Andrew

···

On Jul 30, 2:13 pm, Mike Driscoll <m...@pythonlibrary.org> wrote:

Hi Andrew,

On Wed, Jul 29, 2009 at 8:01 PM, AndrewC <and...@ese3d.co.nz> wrote:

> Hi,
> I've been using Andrea Gavana's fantastic gui2exe (v0.1) for a while
> now and have had no problems.

> I've just downloaded the latest build and am having problems with what
> looks to be the SuperToolTip popup. Every time I place my mouse arrow
> over a widget I get the following console error:

> #---- System Information ----#
> GUI2Exe Version: 0.2
> Operating System: Windows XP (build 2600, Service Pack 3)
> Python Version: 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310
> 32 bit (Intel)]
> wxPython Version: 2.8.10.1 (msw-unicode)
> wxPython Info: (__WXMSW__, wxMSW, unicode, wx-assertions-on,
> SWIG-1.3.29)
> Python Encoding: Default=mbcs File=mbcs
> wxPython Encoding: utf-8
> System Architecture: 32bit
> Byte order: little
> Frozen: False
> #---- End System Information ----#

> #---- Traceback Info ----#
> *** 30 July 2009 @ 12:30:18 ***
> Traceback (most recent call last):
> File "C:\gui2exe\BaseBuilderPanel.py", line 141, in OnEnterWindow
> self.tipWindow = TransientPopup(self, compiler, option, tip, note)
> File "C:\gui2exe\Widgets.py", line 2783, in __init__
> TransientBase.__init__(self, parent, compiler, option, tip, note)
> File "C:\gui2exe\Widgets.py", line 2593, in __init__
> self.DropShadow()
> File "C:\gui2exe\Widgets.py", line 2724, in DropShadow
> rgn = win32gui.CreateRoundRectRgn(0, 0, size.x, size.y, 9, 9)
> AttributeError: 'module' object has no attribute 'CreateRoundRectRgn'

> I see that my system specs are included in the console printout (so I
> won't bother posting them).

> Also when i hit the 'Report Error' button I got another error box
> saying:

> 'Cannot start Microsoft Office Outlook. The command line argument is
> not valid. Verify the switch you are using.'

> Just before I posted this message I've noticed that if I turn off
> 'Show tooltips' (under options) the error no longer occurs.

> Thanks for any feedback regarding this problem,
> Andrew

My guess is you have an old version of PyWin32. Upgrade that to the latest
and win32gui will probably have that method in it. As I recall, Andrea
mentioned something about what version of PyWin32 he recommended for the
latest GUI2Exe, but I don't remember what the version was.

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

Blog: http://blog.pythonlibrary.org- Hide quoted text -

- Show quoted text -

Downloaded latet version of PyWin32 - problem sorted. Thanks Mike.

Also noted that Andrea has provided a fix (r50) for Widgets.py that
corrects the problem for older versions of PyWin32 anyway.

Final synopsis:
1. I'm an egg for not doing a thorough check on my posted problem
2. gui2exe will probably evolve into a self aware entity capable of
compiling everything from wxPython apps to small fury rodents (that's
powerful!)

Appologies for my spam.
Andrew

Don't worry about it. I've spammed the list too and then realized my
mistake within a few minutes. It's like spamming the list causes the
spark of inspiration to light.

I love GUI2Exe too. It's about time for me to re-write my tutorial on
it to reflect all of Andrea's new bells and whistles though.

- Mike

···

On Jul 29, 10:43 pm, AndrewC <and...@ese3d.co.nz> wrote:

On Jul 30, 2:13 pm, Mike Driscoll <m...@pythonlibrary.org> wrote:

> Hi Andrew,

> On Wed, Jul 29, 2009 at 8:01 PM, AndrewC <and...@ese3d.co.nz> wrote:

> > Hi,
> > I've been using Andrea Gavana's fantastic gui2exe (v0.1) for a while
> > now and have had no problems.

> > I've just downloaded the latest build and am having problems with what
> > looks to be the SuperToolTip popup. Every time I place my mouse arrow
> > over a widget I get the following console error:

> > #---- System Information ----#
> > GUI2Exe Version: 0.2
> > Operating System: Windows XP (build 2600, Service Pack 3)
> > Python Version: 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310
> > 32 bit (Intel)]
> > wxPython Version: 2.8.10.1 (msw-unicode)
> > wxPython Info: (__WXMSW__, wxMSW, unicode, wx-assertions-on,
> > SWIG-1.3.29)
> > Python Encoding: Default=mbcs File=mbcs
> > wxPython Encoding: utf-8
> > System Architecture: 32bit
> > Byte order: little
> > Frozen: False
> > #---- End System Information ----#

> > #---- Traceback Info ----#
> > *** 30 July 2009 @ 12:30:18 ***
> > Traceback (most recent call last):
> > File "C:\gui2exe\BaseBuilderPanel.py", line 141, in OnEnterWindow
> > self.tipWindow = TransientPopup(self, compiler, option, tip, note)
> > File "C:\gui2exe\Widgets.py", line 2783, in __init__
> > TransientBase.__init__(self, parent, compiler, option, tip, note)
> > File "C:\gui2exe\Widgets.py", line 2593, in __init__
> > self.DropShadow()
> > File "C:\gui2exe\Widgets.py", line 2724, in DropShadow
> > rgn = win32gui.CreateRoundRectRgn(0, 0, size.x, size.y, 9, 9)
> > AttributeError: 'module' object has no attribute 'CreateRoundRectRgn'

> > I see that my system specs are included in the console printout (so I
> > won't bother posting them).

> > Also when i hit the 'Report Error' button I got another error box
> > saying:

> > 'Cannot start Microsoft Office Outlook. The command line argument is
> > not valid. Verify the switch you are using.'

> > Just before I posted this message I've noticed that if I turn off
> > 'Show tooltips' (under options) the error no longer occurs.

> > Thanks for any feedback regarding this problem,
> > Andrew

> My guess is you have an old version of PyWin32. Upgrade that to the latest
> and win32gui will probably have that method in it. As I recall, Andrea
> mentioned something about what version of PyWin32 he recommended for the
> latest GUI2Exe, but I don't remember what the version was.

> --
> -------------------
> Mike Driscoll

> Blog: http://blog.pythonlibrary.org-Hide quoted text -

> - Show quoted text -