gp1313 / iep

Automatically exported from code.google.com/p/iep
0 stars 0 forks source link

IEP hangs on Windows with Python 3.3 #165

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In Windows XP (32 bit) with Python 3.3.
Run "pythonw.exe -m iep"

IEP stalls. The logger prints:
Exception while handling event:
[WinError 6] De ingang is ongeldig
line 1016 of c:\Python33\lib\subprocess.py

Original issue reported on code.google.com by almar.klein@gmail.com on 26 Feb 2013 at 2:04

GoogleCodeExporter commented 8 years ago
Sprinkling some debug code in subprocess.py I get a traceback:

_make_inheritable line 1021 in c:\Python33\lib\subprocess.py
_get_handles line 966 in c:\Python33\lib\subprocess.py
__init__ line 784 in c:\Python33\lib\subprocess.py
startKernel line 354 in .\iep\iepcore\kernelbroker.py
mainLoopIter line 513 in .\iep\iepcore\kernelbroker.py

It looks it tries to make a copy of the stdin handle. A solution seems to be to 
set stdin to PIPE when creating the process.

Original comment by almar.klein@gmail.com on 26 Feb 2013 at 2:05

GoogleCodeExporter commented 8 years ago
Fixed in 563ef4b82c13.

Original comment by almar.klein@gmail.com on 26 Feb 2013 at 2:07