Python Crash on Win64 wxPython2.9-win64-2.9.4.0-py27 on Windows 7

(1) Put wx and wxPython_Phoenix.egg-info in site-packages
(2) Launched idle and imported wx…no problems.
(3) Ran Dependency Walker and found core did not have IESHIMS.DLL (some other dll’s needed it too)
(4) Downloaded the 64bit version and put it into the wx directory…no issues
(5) Program: (copied this from somewhere…)
import wx
import sys
class mf(wx.Frame):
def init(self, p, t):
wx.Frame.init(self, p, title=t, size=(200, 100))
self.Show(True)

f = mf(None, ‘me’)
app.MainLoop()

(6) Ran it in idle and from command line.
(7) Crashes on wx.Frame.init
(8) Looked at Event Viewer

System

···

-
Provider

[ Name]
Application Error

-
EventID
1000

[ Qualifiers]
0

Level
2

Task
100

Keywords
0x80000000000000

-
TimeCreated

[ SystemTime]
2013-06-26T20:24:54.000000000Z

EventRecordID
61931

Channel
Application

Computer
NB2B6084.cs.xxxxx.net

Security

-
EventData

pythonw.exe

0.0.0.0

51940717

wxmsw295u_core_vc100_x64.dll

2.9.5.0

51c7fab2

c0000005

000000000008f496

12f0

01ce72ab122557b0

C:\Users\xxxx\python3.3\pythonw.exe

C:\Users\xxxxxxx\python3.3\lib\site-packages\wx\wxmsw295u_core_vc100_x64.dll

758d8e06-de9e-11e2-bf48-5c260a278663

(9) Please insert help here…exhausted…

Lew

Try the following:

=== begin cut ===

import wx

import sys

class mf(wx.Frame):

def init(self, p, t):

wx.Frame.init(self, p, title=t, size=(200, 100))

self.Show(True)

if name == “main”:

app = wx.App(redirect = False)

f = mf(None, ‘me’)

app.MainLoop()

=== end cut ===

That works for me.

(When I ran your version it said:

Traceback (most recent call last):

File “C:\Users\Scott\Desktop\Test.py”, line 8, in

f = mf(None, ‘me’)

File “C:\Users\Scott\Desktop\Test.py”, line 5, in init

wx.Frame.init(self, p, title=t, size=(200, 100))

File “C:\Python27\lib\site-packages\wx-2.9.4-msw\wx_windows.py”, line 580, in init

windows.Frame_swiginit(self,windows.new_Frame(*args, **kwargs))

PyNoAppError: The wx.App object must be created first! )

Python 2.7.2, wxPython 2.9.4.0 on Win 7 32-bit.

HTH.

Cheers,

Scott.

···

On Fri, Jun 28, 2013 at 4:57 PM, Lew P. lupee431@gmail.com wrote:

(1) Put wx and wxPython_Phoenix.egg-info in site-packages
(2) Launched idle and imported wx…no problems.
(3) Ran Dependency Walker and found core did not have IESHIMS.DLL (some other dll’s needed it too)
(4) Downloaded the 64bit version and put it into the wx directory…no issues

(5) Program: (copied this from somewhere…)
import wx
import sys
class mf(wx.Frame):
def init(self, p, t):
wx.Frame.init(self, p, title=t, size=(200, 100))
self.Show(True)

f = mf(None, ‘me’)
app.MainLoop()

(6) Ran it in idle and from command line.
(7) Crashes on wx.Frame.init
(8) Looked at Event Viewer
System

-
Provider

[ Name]
Application Error

-
EventID
1000

[ Qualifiers]
0

Level
2

Task
100

Keywords
0x80000000000000

-
TimeCreated

[ SystemTime]
2013-06-26T20:24:54.000000000Z

EventRecordID
61931

Channel
Application

Computer
NB2B6084.cs.xxxxx.net

Security

-
EventData

pythonw.exe

0.0.0.0

51940717

wxmsw295u_core_vc100_x64.dll

2.9.5.0

51c7fab2

c0000005

000000000008f496

12f0

01ce72ab122557b0

C:\Users\xxxx\python3.3\pythonw.exe

C:\Users\xxxxxxx\python3.3\lib\site-packages\wx\wxmsw295u_core_vc100_x64.dll

758d8e06-de9e-11e2-bf48-5c260a278663

(9) Please insert help here…exhausted…

Lew

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

grunculus wrote:

Try the following:

=== begin cut ===
import wx
import sys
class mf(wx.Frame):
    def __init__(self, p, t):
       wx.Frame.__init__(self, p, title=t, size=(200, 100))
       self.Show(True)

if __name__ == "__main__":

     app = wx.App(redirect = False)
     f = mf(None, 'me')
     app.MainLoop()

=== end cut ===

That works for me.

(When I ran your version it said:

Traceback (most recent call last):
   File "C:\Users\Scott\Desktop\Test.py", line 8, in <module>
     f = mf(None, 'me')
   File "C:\Users\Scott\Desktop\Test.py", line 5, in __init__
     wx.Frame.__init__(self, p, title=t, size=(200, 100))
   File "C:\Python27\lib\site-packages\wx-2.9.4-msw\wx\_windows.py",
line 580, in __init__
     _windows_.Frame_swiginit(self,_windows_.new_Frame(*args, **kwargs))
PyNoAppError: The wx.App object must be created first! )

Python 2.7.2, wxPython 2.9.4.0 on Win 7 32-bit.

Unfortunately I haven't yet figured out a good way to implement the equivalent of Classic's PyNoAppError in Phoenix yet. (Despite what it says in the subject, the OP is using Phoenix due to the python3.3 in the system event info.)

···

--
Robin Dunn
Software Craftsman

It might be a silly question but I have seen it overlooked so many
times I have to ask! Have you checked to make sure that the versions you are using are 64 bit
versions, i.e. 64 bit python 3.3, 64 bit build of wxPython-Pheonix,
etc.?
Gadget/Steve

···

On 28/06/13 21:57, Lew P. wrote:

  (1) Put wx and wxPython_Phoenix.egg-info in

site-packages

  (2) Launched idle and imported wx...no problems.

  (3) Ran Dependency Walker and found core did not have IESHIMS.DLL

(some other dll’s needed it too)

  (4) Downloaded the 64bit version and put it into the wx

directory…no issues

  (5) Program: (copied this from somewhere..)

  import wx

  import sys

  class mf(wx.Frame):

      def __init__(self, p, t):

          wx.Frame.__init__(self, p, title=t, size=(200, 100))

          self.Show(True)



  f = mf(None, 'me')

  app.MainLoop()



  (6) Ran it in idle and from command line.

  (7) Crashes on wx.Frame.__init__

  (8) Looked at Event Viewer

System

-
Provider

[ Name]
Application Error

-
EventID
1000

[ Qualifiers]
0

Level
2

Task
100

Keywords
0x80000000000000

-
TimeCreated

[ SystemTime]
2013-06-26T20:24:54.000000000Z

EventRecordID
61931

Channel
Application

Computer
NB2B6084.cs.xxxxx.net

Security

-
EventData

pythonw.exe

0.0.0.0

51940717

wxmsw295u_core_vc100_x64.dll

2.9.5.0

51c7fab2

c0000005

000000000008f496

12f0

01ce72ab122557b0

C:\Users\xxxx\python3.3\pythonw.exe

C:\Users\xxxxxxx\python3.3\lib\site-packages\wx\wxmsw295u_core_vc100_x64.dll

758d8e06-de9e-11e2-bf48-5c260a278663

(9) Please insert help here…exhausted…

  Lew

  --

  You received this message because you are subscribed to the Google

Groups “wxPython-users” group.

  To unsubscribe from this group and stop receiving emails from it,

send an email to .
For more options, visit .
absolutely****all

wxpython-users+unsubscribe@googlegroups.com
https://groups.google.com/groups/opt_out

Try the following:

=== begin cut ===

import wx

import sys

class mf(wx.Frame):

def init(self, p, t):

wx.Frame.init(self, p, title=t, size=(200, 100))

self.Show(True)

if name == “main”:

app = wx.App(redirect = False)

f = mf(None, ‘me’)

app.MainLoop()

=== end cut ===

That works for me.

(When I ran your version it said:

Traceback (most recent call last):

File “C:\Users\Scott\Desktop\Test.py”, line 8, in

f = mf(None, ‘me’)

File “C:\Users\Scott\Desktop\Test.py”, line 5, in init

wx.Frame.init(self, p, title=t, size=(200, 100))

File “C:\Python27\lib\site-packages\wx-2.9.4-msw\wx_windows.py”, line 580, in init

windows.Frame_swiginit(self,windows.new_Frame(*args, **kwargs))

PyNoAppError: The wx.App object must be created first! )

Python 2.7.2, wxPython 2.9.4.0 on Win 7 32-bit.

HTH.

Cheers,

Scott.

(1) Put wx and wxPython_Phoenix.egg-info in site-packages
(2) Launched idle and imported wx…no problems.
(3) Ran Dependency Walker and found core did not have IESHIMS.DLL (some other dll’s needed it too)
(4) Downloaded the 64bit version and put it into the wx directory…no issues

(5) Program: (copied this from somewhere…)
import wx
import sys
class mf(wx.Frame):
def init(self, p, t):
wx.Frame.init(self, p, title=t, size=(200, 100))
self.Show(True)

f = mf(None, ‘me’)
app.MainLoop()

(6) Ran it in idle and from command line.
(7) Crashes on wx.Frame.init
(8) Looked at Event Viewer
System

-
Provider

[ Name]
Application Error

-
EventID
1000

[ Qualifiers]
0

Level
2

Task
100

Keywords
0x80000000000000

-
TimeCreated

[ SystemTime]
2013-06-26T20:24:54.000000000Z

EventRecordID
61931

Channel
Application

Computer
NB2B6084.cs.xxxxx.net

Security

-
EventData

pythonw.exe

0.0.0.0

51940717

wxmsw295u_core_vc100_x64.dll

2.9.5.0

51c7fab2

c0000005

000000000008f496

12f0

01ce72ab122557b0

C:\Users\xxxx\python3.3\pythonw.exe

C:\Users\xxxxxxx\python3.3\lib\site-packages\wx\wxmsw295u_core_vc100_x64.dll

758d8e06-de9e-11e2-bf48-5c260a278663

(9) Please insert help here…exhausted…

Lew

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-user...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

···

On Friday, June 28, 2013 6:22:39 PM UTC-4, grun...@gmail.com wrote:

On Fri, Jun 28, 2013 at 4:57 PM, Lew P. lupe...@gmail.com wrote:

Try the following:

=== begin cut ===

import wx

import sys

class mf(wx.Frame):

def init(self, p, t):

wx.Frame.init(self, p, title=t, size=(200, 100))

self.Show(True)

This works at the command line! Does not work in idle 3.3.2 and does not start in NINJA-IDE 2.2.
So it looks like I now need an IDE that works with Phoenix and 3.3!

Thanx, Lew

···

On Friday, June 28, 2013 6:22:39 PM UTC-4, grun...@gmail.com wrote:

if name == “main”:

app = wx.App(redirect = False)

f = mf(None, ‘me’)

app.MainLoop()

=== end cut ===

That works for me.

(When I ran your version it said:

Traceback (most recent call last):

File “C:\Users\Scott\Desktop\Test.py”, line 8, in

f = mf(None, ‘me’)

File “C:\Users\Scott\Desktop\Test.py”, line 5, in init

wx.Frame.init(self, p, title=t, size=(200, 100))

File “C:\Python27\lib\site-packages\wx-2.9.4-msw\wx_windows.py”, line 580, in init

windows.Frame_swiginit(self,windows.new_Frame(*args, **kwargs))

PyNoAppError: The wx.App object must be created first! )

Python 2.7.2, wxPython 2.9.4.0 on Win 7 32-bit.

HTH.

Cheers,

Scott.

On Fri, Jun 28, 2013 at 4:57 PM, Lew P. lupe...@gmail.com wrote:

(1) Put wx and wxPython_Phoenix.egg-info in site-packages
(2) Launched idle and imported wx…no problems.
(3) Ran Dependency Walker and found core did not have IESHIMS.DLL (some other dll’s needed it too)
(4) Downloaded the 64bit version and put it into the wx directory…no issues

(5) Program: (copied this from somewhere…)
import wx
import sys
class mf(wx.Frame):
def init(self, p, t):
wx.Frame.init(self, p, title=t, size=(200, 100))
self.Show(True)

f = mf(None, ‘me’)
app.MainLoop()

(6) Ran it in idle and from command line.
(7) Crashes on wx.Frame.init
(8) Looked at Event Viewer
System

-
Provider

[ Name]
Application Error

-
EventID
1000

[ Qualifiers]
0

Level
2

Task
100

Keywords
0x80000000000000

-
TimeCreated

[ SystemTime]
2013-06-26T20:24:54.000000000Z

EventRecordID
61931

Channel
Application

Computer
NB2B6084.cs.xxxxx.net

Security

-
EventData

pythonw.exe

0.0.0.0

51940717

wxmsw295u_core_vc100_x64.dll

2.9.5.0

51c7fab2

c0000005

000000000008f496

12f0

01ce72ab122557b0

C:\Users\xxxx\python3.3\pythonw.exe

C:\Users\xxxxxxx\python3.3\lib\site-packages\wx\wxmsw295u_core_vc100_x64.dll

758d8e06-de9e-11e2-bf48-5c260a278663

(9) Please insert help here…exhausted…

Lew

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-user...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.