This does not help me, because it is only a clean up code if something goes
wrong with your programming.
except:
self.Destroy() # causes main loop to exit
traceback.print_exc() # and you still get your traceSomeone gave me this tip. I forget who, but it worked for me.
But in my case the code is just fine only the restarting of some binary
stuff gets out of control. Maybe the question is: Get this function
python15!PyFrame_New a wrong call from wyPython or PythonWin or has the
function it self a problem.
How is running this combination PythonWin and wyPython and with what
results???
Jens
···
-----Original Message-----
From: wxpython-users-admin@wxwindows.org
[mailto:wxpython-users-admin@wxwindows.org]On Behalf Of cuiod-tec Jens
Gelhaar
Sent: Wednesday, September 13, 2000 5:15 AM
To: wxWindows
Subject: [wxPython] problem with PythonWin, wxPythonI have some trouble to run wxPython under Control of PythonWin (wxPython
2.2.1, python 1.5.2, PythonWin Build 132, NT 4.0 Service Pack 4).
When I run
a demo file like GridSimple.py, than it works only ones. After a
second call
I get my friend Dr. Watson. I posted this behavior already some weeks ago,
when I used Windows 98 Second Edition. But this time there is small
difference: After installing NT everything works just fine. But after
installing all the drivers and other software my problems begun again.
I am not an expert for debugging, but how far I understand the
log, there is
something wrong with PyFrame_New (look for ERROR). Where to start? Maybe
wrong DLL??Thanks Jens
(00400000 - 00406000)
(77f70000 - 77fce000) dll\ntdll.dbg
(5f400000 - 5f4f2000)
(78000000 - 78045000)
(77f00000 - 77f62000) dll\kernel32.dbg
(77ed0000 - 77efc000) dll\gdi32.dbg
(77e70000 - 77ec4000) dll\user32.dbg
(77dc0000 - 77dff000) dll\advapi32.dbg
(77e10000 - 77e67000) dll\rpcrt4.dbg
(75fa0000 - 75fa0000)
(1e400000 - 1e49d000)
(1e600000 - 1e600000)
(77b80000 - 77c35000) dll\ole32.dbg
(65340000 - 653d2000) oleaut32.dbg
(1e100000 - 1e186000) ./python15.dll
(776c0000 - 776c8000) dll\wsock32.dbg
(776a0000 - 776b4000) dll\ws2_32.dbg
(77690000 - 77697000) dll\ws2help.dbg
(77fd0000 - 77ffb000) dll\winmm.dbg
(73060000 - 73078000) drv\winspool.dbg
(77c40000 - 77d80000) dll\shell32.dbg
(715c0000 - 71647000) COMCTL32.dbg
(6bd10000 - 6bd3d000)
\Vortex\AU8820\WinNT\Bin\Au88nt\i386\free\Au88NT32.dll
(1e200000 - 1e20f000)
(1ec00000 - 1ec0c000)
(10000000 - 10000000)
(76ad0000 - 76ad5000) dll\imm32.dbg
(1e800000 - 1e807000)
(71190000 - 71197000) dll\msidle.dbg
(77d80000 - 77db3000) dll\comdlg32.dbg
(77a30000 - 77a3d000) dll\ntshrui.dbg
(777f0000 - 7782a000) dll\netapi32.dbg
(77830000 - 77839000) dll\NetRap.dbg
(777d0000 - 777dd000) dll\samlib.dbg
(5f7f0000 - 5f7f7000) dll\rpcltc1.dbg
(01690000 - 01690000)
(01820000 - 01820000)
(780a0000 - 780b2000)Statusabbild für Thread-ID 0x80
eax=004187a0 ebx=00000010 ecx=00000000 edx=021ad25c esi=0112bf50
edi=021ad250
eip=1e127057 esp=0012ee2c ebp=00000000 iopl=0 nv up ei pl nz na pe
nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00000202Function: PyFrame_New
1e127033 895c2410 mov [esp+0x10],ebx
ss:0116d833=48082000
1e127037 751a jnz PyFrame_New+0x33 (1e127053)
1e127039 685836161e push 0x1e163658
1e12703e e8ed720200 call PyString_InternFromString
(1e14e330)
1e127043 83c404 add esp,0x4
1e127046 a31cc8171e
ds:1e17c81c=004187a0
mov [Py_OptimizeFlag+0x10c
(1e17c81c)],eax
1e12704b 85c0 test eax,eax
1e12704d 0f8464020000 je PyFrame_New+0x297 (1e1272b7)
1e127053 85db test ebx,ebx
1e127055 740d jz PyFrame_New+0x44 (1e127064)
ERROR ->1e127057 817b04588d161e
ds:0103ea16=???
cmp dword ptr [ebx+0x4],0x1e168d58
1e12705e 0f854e020000 jne PyFrame_New+0x292 (1e1272b2)
1e127064 8b6c241c mov ebp,[esp+0x1c]
ss:0116d833=48082000
1e127068 85ed test ebp,ebp
1e12706a 0f8442020000 je PyFrame_New+0x292 (1e1272b2)
1e127070 817d04e857161e
ss:0103ea06=???
cmp dword ptr [ebp+0x4],0x1e1657e8
1e127077 0f8535020000 jne PyFrame_New+0x292 (1e1272b2)
1e12707d 8b4c2420 mov ecx,[esp+0x20]
ss:0116d833=48082000
1e127081 85c9 test ecx,ecx
1e127083 0f8429020000 je PyFrame_New+0x292 (1e1272b2)
1e127089 8b5104 mov edx,[ecx+0x4]
ds:0103ea06=???
1e12708c bed87c161e mov esi,0x1e167cd8*----> Stack Back Trace <----*
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
0012ee3c 1e10cadf 0112bf50 01bf1fc0 01bf4f00 00000000 python15!PyFrame_New
(FPO: [EBP 0x021ad250] [4,1,4])
0012ee90 1e10fc53 01bf1fc0 01bf4f00 00000000 021ad25c
python15!PyEval_EvalCode (FPO: [EBP 0x021ad250] [10,12,4])
0012eed8 1e10f82b 01b69090 021ae910 00000000 021a58f0
python15!PyEval_CallObjectWithKeywords (FPO: [EBP 0x1e1647b8] [3,3,4])
0012eef0 1e11132e 021a58f0 021ae910 00000000 01b690f0
python15!PyEval_CallObjectWithKeywords (FPO: [3,0,2])
0012ef7c 780012b7 00000020 00000000 0012efdc 0000000b
python15!PyInstance_New (FPO: [3,0,3])
1e1647b8 1e17be18 00000000 1e164824 00000014 00000000 !malloc
00000005 00000000 00000000 00000000 00000000 00000000 python15!PyType_Type*----> Raw Stack Dump <----*
0012ee2c 50 d2 1a 02 50 bf 12 01 - 00 00 00 00 c0 1f bf 01
P...P...........
0012ee3c 10 00 00 00 df ca 10 1e - 50 bf 12 01 c0 1f bf 01
........P.......
0012ee4c 00 4f bf 01 00 00 00 00 - 50 d2 1a 02 20 e9 1a 02 .O......P...
...
0012ee5c 00 00 00 00 90 90 b6 01 - 7f ef 12 00 26 00 00 00
............&...
0012ee6c 00 00 00 00 50 bf 12 01 - 38 22 03 78 ff ff ff ff
....P...8".x....
0012ee7c 15 00 00 00 ce 12 00 78 - f0 90 b6 01 1c 00 00 00
.......x........
0012ee8c c0 90 b6 01 d0 50 41 00 - 53 fc 10 1e c0 1f bf 01
.....PA.S.......
0012ee9c 00 4f bf 01 00 00 00 00 - 5c d2 1a 02 02 00 00 00
.O......\.......
0012eeac 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
0012eebc f0 90 b6 01 b8 47 16 1e - 10 e9 1a 02 b0 ef 12 00
.....G..........
0012eecc e0 9a 10 01 f0 90 b6 01 - 00 00 00 00 00 00 00 00
................
0012eedc 2b f8 10 1e 90 90 b6 01 - 10 e9 1a 02 00 00 00 00
+...............
0012eeec f0 58 1a 02 30 20 5f 01 - 2e 13 11 1e f0 58 1a 02 .X..0
_......X..
0012eefc 10 e9 1a 02 00 00 00 00 - f0 90 b6 01 10 e9 1a 02
................
0012ef0c e0 9a 10 01 cb fb 72 01 - f0 90 b6 01 10 e9 1a 02
......r.........
0012ef1c 00 00 00 00 34 4e 76 01 - 30 ef 12 00 40 8e 65 01
....4Nv.0...@.e.
0012ef2c 1c f0 12 00 5f 31 32 66 - 30 31 63 5f 77 78 49 64
...._12f01c_wxId
0012ef3c 6c 65 45 76 65 6e 74 5f - 70 00 00 78 00 00 00 00
leEvent_p..x....
0012ef4c 0b 00 00 00 dc ef 12 00 - 90 ef 12 00 e0 47 5f 01
.............G_.
0012ef5c a8 00 00 00 00 00 00 00 - 88 f5 12 00 57 ef 00 78
............W..xStatusabbild für Thread-ID 0x3d
eax=0000000a ebx=00000000 ecx=0103ff64 edx=00000000 esi=77e726a8
edi=0103ff48
eip=77e720c1 esp=0103fed8 ebp=0103fefc iopl=0 nv up ei pl zr na po
nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000
efl=00000246Funktion: InvalidateRect
77e720a8 b896110000 mov eax,0x1196
77e720ad 8d542404 lea edx,[esp+0x4]
ss:0207e8df=???
77e720b1 cd2e int 2e
77e720b3 c20c00 ret 0xc
77e720b6 b87f110000 mov eax,0x117f
77e720bb 8d542404 lea edx,[esp+0x4]
ss:0207e8df=???
77e720bf cd2e int 2e
77e720c1 c21400 ret 0x14
77e720c4 b87a110000 mov eax,0x117a
77e720c9 8d542404 lea edx,[esp+0x4]
ss:0207e8df=???
77e720cd cd2e int 2e
77e720cf c20400 ret 0x4*----> Stack Back Trace <----*
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
0103fefc 1e40138e 0103ff48 00000000 00000000 00000000
user32!InvalidateRect
0103ffec 00000000 1e401260 0012fca0 00000000 00000000 !<nosymbols>
00000000 00000000 00000000 00000000 00000000 00000000 !<nosymbols>*----> Raw Stack Dump <----*
0103fed8 d8 26 e7 77 48 ff 03 01 - 00 00 00 00 00 00 00 00
.&.wH...........
0103fee8 00 00 00 00 f8 fe 03 01 - 86 ff 03 01 a8 26 e7 77
.............&.w
0103fef8 00 00 00 00 ec ff 03 01 - 8e 13 40 1e 48 ff 03 01
..........@.H...
0103ff08 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
0103ff18 b8 fe 12 00 a0 fc 12 00 - 03 00 00 00 80 11 40 1e
..............@.
0103ff28 00 00 00 00 00 00 00 00 - 00 00 40 00 00 00 00 00
..........@.....
0103ff38 08 00 01 00 05 00 00 00 - 00 00 00 00 3c 21 47 1e
............<!G.
0103ff48 00 00 00 00 00 00 00 00 - fe ff 0f 00 00 00 51 00
..............Q.
0103ff58 e8 05 56 80 3d ff 19 00 - 50 ad 8a fa 58 00 00 00
..V.=...P...X...
0103ff68 08 01 07 00 00 00 00 00 - 07 00 00 00 14 04 00 00
................
0103ff78 ce 00 06 00 50 79 74 68 - 6f 6e 77 69 6e 00 00 00
....Pythonwin...
0103ff88 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
0103ff98 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
0103ffa8 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
0103ffb8 00 00 00 00 3e 4f f0 77 - a0 fc 12 00 00 00 00 00
....>O.w........
0103ffc8 b8 fe 12 00 a0 fc 12 00 - b8 fe 12 00 c4 ff 03 01
................
0103ffd8 57 ef 00 78 ff ff ff ff - 74 b8 f3 77 38 d2 f3 77
W..x....t..w8..w
0103ffe8 00 00 00 00 00 00 00 00 - 00 00 00 00 60 12 40 1e
............`.@.
0103fff8 a0 fc 12 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
01040008 ff ff ff ff 31 00 00 00 - 01 00 00 00 68 bd 17 1e
....1.......h...Statusabbild für Thread-ID 0x94
eax=77e15f2a ebx=00000000 ecx=00000000 edx=00000000 esi=00142674
edi=0014e5d0
eip=77f77f27 esp=0143fe04 ebp=0143ff90 iopl=0 nv up ei pl nz na po
nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000
efl=00000206Funktion: ZwReplyWaitReceivePort
77f77f1c b890000000 mov eax,0x90
77f77f21 8d542404 lea edx,[esp+0x4]
ss:0247e80b=???
77f77f25 cd2e int 2e
77f77f27 c21000 ret 0x10
77f77f2a 8bc0 mov eax,eax*----> Stack Back Trace <----*
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
0143ff90 77e15df4 77e15e7a 0014e5d0 0143ffec 77f9c6c5
ntdll!ZwReplyWaitReceivePort
00003a98 00000000 00000000 00000000 00000000 00000000
rpcrt4!I_RpcAsyncSendReceiveStatusabbild für Thread-ID 0xa6
eax=00e3dc70 ebx=0158fc30 ecx=00000060 edx=00000000 esi=7ffdf000
edi=00000000
eip=77f7824b esp=0158fc0c ebp=0158fc60 iopl=0 nv up ei pl nz ac pe
cy
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000
efl=00000213Funktion: NtWaitForMultipleObjects
77f78240 b8c4000000 mov eax,0xc4
77f78245 8d542404 lea edx,[esp+0x4]
ss:025ce613=???
77f78249 cd2e int 2e
77f7824b c21400 ret 0x14
77f7824e 8bc0 mov eax,eax*----> Stack Back Trace <----*
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
0158fc60 77f1cdc8 00000003 01122e40 00000000 ffffffff
ntdll!NtWaitForMultipleObjects
0158fc7c 1e801d42 00000003 01122e40 00000000 ffffffff
kernel32!WaitForMultipleObjects
00000000 00000000 00000000 00000000 00000000 00000000 !<nosymbols>*----> Raw Stack Dump <----*
0158fc0c bd ce f1 77 03 00 00 00 - 30 fc 58 01 01 00 00 00
...w....0.X.....
0158fc1c 00 00 00 00 00 00 00 00 - e0 ac 11 01 20 89 11 01 ............
...
0158fc2c 01 00 00 00 c0 00 00 00 - a0 00 00 00 f4 00 00 00
................
0158fc3c 30 2e 12 01 5f 00 00 00 - d8 fe 58 01 57 ef 00 78
0..._.....X.W..x
0158fc4c 38 22 03 78 60 db 16 1e - ea 33 10 1e 00 00 00 00
8".x`....3......
0158fc5c 01 00 00 00 7c fc 58 01 - c8 cd f1 77 03 00 00 00
....|.X....w....
0158fc6c 40 2e 12 01 00 00 00 00 - ff ff ff ff 00 00 00 00
@...............
0158fc7c 00 00 00 00 42 1d 80 1e - 03 00 00 00 40 2e 12 01
....B.......@...
0158fc8c 00 00 00 00 ff ff ff ff - b0 1c 80 1e 20 89 11 01 ............
...
0158fc9c 03 00 00 00 f9 1c 80 1e - 40 2e 12 01 00 00 00 00
........@.......
0158fcac ff ff ff ff 90 2e 12 01 - 00 00 00 00 0f f9 10 1e
................
0158fcbc 00 00 00 00 ff ff ff ff - 58 f9 16 1e 20 89 11 01 ........X...
...
0158fccc 00 00 00 00 20 89 11 01 - 21 f8 10 1e f0 19 0e 01 ....
...!.......
0158fcdc 20 89 11 01 00 00 00 00 - 44 bc 44 00 fc 41 4e 00
.......D.D..AN.
0158fcec 34 e7 10 1e f0 19 0e 01 - 20 89 11 01 00 00 00 00 4.......
.......
0158fcfc 20 03 43 00 40 86 11 01 - 00 00 00 00 00 13 0e 01
.C.@...........
0158fd0c ec 41 4e 00 24 0b 0e 01 - 00 00 00 00 e0 ac 11 01
.AN.$...........
0158fd1c 00 00 00 00 90 09 0e 01 - 20 89 11 01 3f 00 00 00 ........
...?...
0158fd2c d0 39 14 1e f8 ac 11 01 - f8 41 4e 00 83 00 00 00
.9.......AN.....
0158fd3c 53 fc 10 1e b0 06 0e 01 - b0 40 4e 00 8e 0b 0e 01
S........@N....._______________________________________________
wxPython-users mailing list wxPython-users@wxwindows.org
http://wxwindows.org/mailman/listinfo/wxpython-users
_______________________________________________
wxPython-users mailing list wxPython-users@wxwindows.org
http://wxwindows.org/mailman/listinfo/wxpython-users