wx bug in _core.py, wx 2.6.1.0

Only now I see that there a bug in the new 2.6.1.0 at the new:
"Added wxEVT_SCROLL_CHANGED as synonym for wxEVT_SCROLL_ENDSCROLL", like
I can read into the docs/changes

At line 3593 of wxPython/src/msw/_core,py , I think that the will be
changed from:
wxEVT_SCROLL_ENDSCROLL = wxEVT_SCROLL_CHANGED

to:

wxEVT_SCROLL_ENDSCROLL = _core_.wxEVT_SCROLL_CHANGED

If I change this line manually, it work, but I receive an warning that
say me that "the two release number mismatch"

I think that is can be a big problem for the people, like me, that use
py2exe, because until Robin doesn't return, what can we do? Is there
other developer that can create the a new package?

It happen to me only when I create a package with py2exe.

Thanks,
Michele

What is, exactly, your problem?

Ricardo

···

On Tue, 2005-08-23 at 15:10 +0200, Michele Petrazzo wrote:

Only now I see that there a bug in the new 2.6.1.0 at the new:
"Added wxEVT_SCROLL_CHANGED as synonym for wxEVT_SCROLL_ENDSCROLL", like
I can read into the docs/changes

At line 3593 of wxPython/src/msw/_core,py , I think that the will be
changed from:
wxEVT_SCROLL_ENDSCROLL = wxEVT_SCROLL_CHANGED

to:

wxEVT_SCROLL_ENDSCROLL = _core_.wxEVT_SCROLL_CHANGED

If I change this line manually, it work, but I receive an warning that
say me that "the two release number mismatch"

I think that is can be a big problem for the people, like me, that use
py2exe, because until Robin doesn't return, what can we do? Is there
other developer that can create the a new package?

It happen to me only when I create a package with py2exe.

Hi Guys,
Just wondering if its possible to compile python and all its modules (mostly wx and several custom classes) into a single executeable (or an executeable with libraries/dlls)? is there a software that can do this?
Thanks
Astan

See the wxPyWiki at:

http://wiki.wxpython.org/index.cgi/CreatingStandaloneExecutables

David

···

-----Original Message-----
From: Astan Chee [mailto:stanc@al.com.au]
Sent: Tuesday, August 23, 2005 8:49 PM
To: wxPython-users@lists.wxwidgets.org
Subject: [wxPython-users] converting python&wx to .exe

Hi Guys,
Just wondering if its possible to compile python and all its modules
(mostly wx and several custom classes) into a single executeable (or an
executeable with libraries/dlls)? is there a software that can do this?
Thanks
Astan

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Ricardo Pedroso wrote:

Only now I see that there a bug in the new 2.6.1.0 at the new:
"Added wxEVT_SCROLL_CHANGED as synonym for wxEVT_SCROLL_ENDSCROLL", like
I can read into the docs/changes

At line 3593 of wxPython/src/msw/_core,py , I think that the will be
changed from:
wxEVT_SCROLL_ENDSCROLL = wxEVT_SCROLL_CHANGED

to:

wxEVT_SCROLL_ENDSCROLL = _core_.wxEVT_SCROLL_CHANGED

If I change this line manually, it work, but I receive an warning that
say me that "the two release number mismatch"

I think that is can be a big problem for the people, like me, that use
py2exe, because until Robin doesn't return, what can we do? Is there
other developer that can create the a new package?

It happen to me only when I create a package with py2exe.

What is, exactly, your problem?

When py2exe create the executable, it "magically" catch all the
exception and save it to log file, called executable_name.exe.log and
when the application are closed, it send a message box where alert the
user that an exception occurred.
Into this file I see:

Traceback (most recent call last):
   File "hylapex.py", line 12, in ?
   File "wx\__init__.pyo", line 42, in ?
   File "wx\_core.pyo", line 3211, in ?
AttributeError: 'module' object has no attribute 'wxEVT_SCROLL_ENDSCROLL'

and if I modify the _core.py file:

V:\hylapex\dist\lib\libraries.zip\wx\_core.py:13159: UserWarning: wxPython/wxWidgets release number mismatch

Note that the executable are on b:\hylapex\dist and its .zip library file
are on lib subdirectory.

Ricardo

Michele

···

On Tue, 2005-08-23 at 15:10 +0200, Michele Petrazzo wrote:

Did you have two different versions of wxPython installed (eg. 2.6.0.1.
and 2.6.1.0.) ?
If you do, is it possible that you are mixing the two different
versions?

Ricardo

···

On Wed, 2005-08-24 at 10:07 +0200, Michele Petrazzo wrote:

Ricardo Pedroso wrote:
> On Tue, 2005-08-23 at 15:10 +0200, Michele Petrazzo wrote:
>
>>Only now I see that there a bug in the new 2.6.1.0 at the new:
>>"Added wxEVT_SCROLL_CHANGED as synonym for wxEVT_SCROLL_ENDSCROLL", like
>>I can read into the docs/changes
>>
>>At line 3593 of wxPython/src/msw/_core,py , I think that the will be
>>changed from:
>>wxEVT_SCROLL_ENDSCROLL = wxEVT_SCROLL_CHANGED
>>
>>to:
>>
>>wxEVT_SCROLL_ENDSCROLL = _core_.wxEVT_SCROLL_CHANGED
>>
>>If I change this line manually, it work, but I receive an warning that
>>say me that "the two release number mismatch"
>>
>>I think that is can be a big problem for the people, like me, that use
>>py2exe, because until Robin doesn't return, what can we do? Is there
>>other developer that can create the a new package?
>>
>>It happen to me only when I create a package with py2exe.
>>
>
>
> What is, exactly, your problem?
>

When py2exe create the executable, it "magically" catch all the
exception and save it to log file, called executable_name.exe.log and
when the application are closed, it send a message box where alert the
user that an exception occurred.
Into this file I see:

Traceback (most recent call last):
   File "hylapex.py", line 12, in ?
   File "wx\__init__.pyo", line 42, in ?
   File "wx\_core.pyo", line 3211, in ?
AttributeError: 'module' object has no attribute 'wxEVT_SCROLL_ENDSCROLL'

and if I modify the _core.py file:

V:\hylapex\dist\lib\libraries.zip\wx\_core.py:13159: UserWarning:
wxPython/wxWidgets release number mismatch

Note that the executable are on b:\hylapex\dist and its .zip library file
are on lib subdirectory.

Ricardo Pedroso ha scritto:

Did you have two different versions of wxPython installed (eg.
2.6.0.1. and 2.6.1.0.) ?

No. I use only one at my system. Before install the last, I always
uninstall the previous, so I have only one at time.
The problem is, but I don't know why, only with py2exe package, because
with source package, all work well!

Ricardo

Michele