[issue15937] Assertion failure (C:\Delphi\progs32\Python\PythonIDE\cPyRemoteDebugger.pas, line 1175).

2012-09-13 Thread Cioroianu Nicolin

New submission from Cioroianu Nicolin:

Hello,

Running the following script frame:

import re
#import modulefinder

#m=str(raw_input("Get a string:"))
m= "IT_SetBusParameters(param1,param2,param3,param4,param5,param6)"
if m:
cnt=m.count(',')
if cnt:
nr=0
s=re.split(',',m)
for nr in cnt:
print s[i]
i=i+1
#PendingDeprecationWarning
else:
return
print "finished"

I have used PyScripter as running ide.


I received the following failure:
Assertion failure (C:\Delphi\progs32\Python\PythonIDE\cPyRemoteDebugger.pas, 
line 1175).

Exception class: EAssertionFailed
Exception message: Assertion failure 
(C:\Delphi\progs32\Python\PythonIDE\cPyRemoteDebugger.pas, line 1175).
Exception address: 00908B3E
--
PyScripter version : 2.5.3.0 x86
Python DLL : python27.dll
Python Engine : peRemote
--
Stack list, generated 13.09.2012 09:45:16
(00507B39){PyScripter.exe} [00908B39] 
cPyRemoteDebugger.TPyRemoteInterpreter.ShutDownServer (Line 1175, 
"cPyRemoteDebugger.pas" + 41) + $1B
(6609){PyScripter.exe} [00407609] System.@Assert + $25
(00507B39){PyScripter.exe} [00908B39] 
cPyRemoteDebugger.TPyRemoteInterpreter.ShutDownServer (Line 1175, 
"cPyRemoteDebugger.pas" + 41) + $1B
(00505F0D){PyScripter.exe} [00906F0D] 
cPyRemoteDebugger.TPyRemoteInterpreter.ReInitialize (Line 831, 
"cPyRemoteDebugger.pas" + 32) + $2
(003A45C5){PyScripter.exe} [007A55C5] cPyBaseDebugger.TPythonControl.PrepareRun 
(Line 871, "cPyBaseDebugger.pas" + 18) + $4
(003A469D){PyScripter.exe} [007A569D] cPyBaseDebugger.TPythonControl.Run (Line 
897, "cPyBaseDebugger.pas" + 5) + $3
(00516455){PyScripter.exe} [00917455] frmPyIDEMain.TPyIDEMainForm.actRunExecute 
(Line 1901, "frmPyIDEMain.pas" + 8) + $A
(0005A8E3){PyScripter.exe} [0045B8E3] System.Classes.TBasicAction.Execute + $F
(000895F5){PyScripter.exe} [0048A5F5] Vcl.ActnList.TContainedAction.Execute + 
$31
(0008A350){PyScripter.exe} [0048B350] Vcl.ActnList.TCustomAction.Execute + $50
(0005A7A7){PyScripter.exe} [0045B7A7] System.Classes.TBasicActionLink.Execute + 
$13
(0020B1C9){PyScripter.exe} [0060C1C9] TB2Item.TTBCustomItem.Click (Line 1474, 
"TB2Item.pas" + 23) + $7
(0022FBA8){PyScripter.exe} [00630BA8] SpTBXItem.TSpTBXCustomItem.Click (Line 
4400, "SpTBXItem.pas" + 2) + $2
(0020B0C2){PyScripter.exe} [0060C0C2] TB2Item.TTBCustomItem.ClickWndProc (Line 
1423, "TB2Item.pas" + 29) + $5
(0005B5D8){PyScripter.exe} [0045C5D8] System.Classes.StdWndProc + $14
(001550C7){PyScripter.exe} [005560C7] Vcl.Forms.TApplication.ProcessMessage + 
$F3
(0015510A){PyScripter.exe} [0055610A] Vcl.Forms.TApplication.HandleMessage + $A
(00155449){PyScripter.exe} [00556449] Vcl.Forms.TApplication.Run + $C9
(00564A59){PyScripter.exe} [00965A59] PyScripter.PyScripter (Line 136, "" + 14) 
+ $2
--
System   : Windows 7 Professional, Version: 6.1, Build: 1DB1, "Service Pack 1"
Processor: Intel,Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2490 MHz MMX 
SSE SSE2 SSE3 SSSE3 SSE41 SSE42 64 bits DEP
Memory: 8142; free 5122
Display  : 1600x900 pixels, 32 bpp
--
List of loaded modules:
[0040] C:\Program Files (x86)\PyScripter\PyScripter.exe
   2.5.3.0 - 2.5.3.0
[05BC] C:\Python27\DLLs\_socket.pyd
<1E1D> (no module version info)
[1000] C:\Python27\DLLs\_ssl.pyd
   (no module version info)
[1D11] C:\Python27\DLLs\select.pyd
   (no module version info)
[1D12] C:\Python27\DLLs\unicodedata.pyd
   (no module version info)
[1E00] C:\Windows\system32\python27.dll
   2.7.150.1013 - 2.7
   Python Core
[1E7A] C:\Windows\system32\pywintypes27.dll
   2.7.217.0 - 2.7.217.0
[1EA1] C:\Python27\lib\site-packages\win32\win32file.pyd
   2.7.217.0 - 2.7.217.0
[1EB9] C:\Python27\lib\site-packages\win32\win32pipe.pyd
   2.7.217.0 - 2.7.217.0
[65DF] C:\Windows\System32\itircl.dll
   6.1.7601.17514 - 6.1.7601.17514 (win7sp1_rtm.101119-1850)
   Microsoft® InfoTech IR Local DLL
[65E2] C:\Windows\system32\hhctrl.ocx
   6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
   Microsoft® HTML Help Control
[6632] C:\Windows\System32\itss.dll
   6.1.7600.16385 - 6.1.7600.16385 (win7_rtm.090713-1255)
   Microsoft® InfoTech Storage System Library
[6671] 
C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.17825_none_72d273598668a06b\gdiplus.dll
   6.1.7601.17825 - 6.1.7601.17825 (win7sp1_gdr.120420-1503)

[issue15937] Assertion failure (C:\Delphi\progs32\Python\PythonIDE\cPyRemoteDebugger.pas, line 1175).

2012-09-13 Thread Cioroianu Nicolin

Cioroianu Nicolin added the comment:

Hello David,

I'm beginner with this tool, also a beginner programmer.
I submitted the problem to IDE tool PyScripter.
Just wanted to help Python improvement. I'm looking to improve also my 
experience.
Have a nice day!:)

Regards, 
Nicolin


 From: R. David Murray 
To: nicolincioroi...@yahoo.com 
Sent: Thursday, September 13, 2012 2:28 PM
Subject: [issue15937] Assertion failure 
(C:\Delphi\progs32\Python\PythonIDE\cPyRemoteDebugger.pas, line 1175).

R. David Murray added the comment:

That isn't a valid Python program, and you appear to be reporting a bug in a 
third party tool.  You should report your problem to the appropriate community 
for your IDE tool.

--
nosy: +r.david.murray
resolution:  -> invalid
stage:  -> committed/rejected
status: open -> closed

___
Python tracker 
<http://bugs.python.org/issue15937>
___

--

___
Python tracker 
<http://bugs.python.org/issue15937>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15937] Assertion failure (C:\Delphi\progs32\Python\PythonIDE\cPyRemoteDebugger.pas, line 1175).

2012-09-13 Thread Cioroianu Nicolin

Cioroianu Nicolin added the comment:

Hello David,

PyScripter Answer:

Thanks for the bug report. This assertion happens when PyScripter is waiting 
for the remote engine to shut-down for a long time without success.  This might 
mean that either the system is very busy or more likely something is preventing 
the remote engine from shutting down, such as waiting in a blocked state.  What 
you can do in such cases is to use the task manager to kill the engine (appears 
as a process "python.exe") and then reinitialize the remote engine.

Regards 

Kiriakos

PS  Maybe the problem happens with the statement:

m= "IT_SetBusParameters(param1,param2,param3,param4,param5,param6)"  

I think that can't be a problem with the upper line with that assignation.

Regards,

Nicolin


 From: R. David Murray 
To: nicolincioroi...@yahoo.com 
Sent: Thursday, September 13, 2012 2:43 PM
Subject: [issue15937] Assertion failure 
(C:\Delphi\progs32\Python\PythonIDE\cPyRemoteDebugger.pas, line 1175).

R. David Murray added the comment:

Thanks for wanting to help.  If the PyScripter folks trace it back to a problem 
with Python, please feel free to reopen this issue.

--

___
Python tracker 
<http://bugs.python.org/issue15937>
___

--

___
Python tracker 
<http://bugs.python.org/issue15937>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com