IDLE 1.0.5 crashs on Windows

T

Torsten Bronger

Hallöchen!

I've installed Python 2.3.5, IDLE 1.0.5 on a Win2k box and have
fatal Windows errors with a trivial script. You can see a
screenshot of the problem at
<http://www-users.rwth-aachen.de/torsten.bronger/idle_error.png>.
My script (on the left side) is trivial, namely

def _to_int(x):
return x

VI_SUCCESS = _to_int(0x00000000)
VI_SUCCESS_EVENT_EN = _to_int(0x3FFF0002)
VI_SUCCESS_EVENT_DIS = _to_int(0x3FFF0003)
VI_SUCCESS_QUEUE_EMPTY = _to_int(0x3FFF0004)
VI_SUCCESS_TERM_CHAR = _to_int(0x3FFF0005)
VI_SUCCESS_MAX_CNT = _to_int(0x3FFF0006)
....


The shell window says the following:

Python 2.3.5 (#62, Mar 22 2005, 21:53:13) [MSC v.1200 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.

****************************************************************
Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface. This connection is not visible on any external
interface and no data is sent to or received from the Internet.
****************************************************************

IDLE 1.0.5 ==== No Subprocess ====Traceback (most recent call last):
File "C:\Programme\Python23\lib\lib-tk\Tkinter.py", line 1345, in __call__
return self.func(*args)
File "C:\Programme\Python23\lib\idlelib\ScriptBinding.py", line 135, in run_module_event
code = self.checksyntax(filename)
File "C:\Programme\Python23\lib\idlelib\ScriptBinding.py", line 96, in checksyntax
return compile(source, filename, "exec")
File "C:\Programme\Python23\lib\warnings.py", line 116, in warn_explicit
showwarning(message, category, filename, lineno)
File "C:\Programme\Python23\lib\idlelib\PyShell.py", line 55, in idle_showwarning
file.write(warnings.formatwarning(message, category, filename, lineno))
IOError: [Errno 9] Bad file descriptor


Then it hangs, i.e., I can't input anything. Does anybody know why
this happens?

Thank you!

Tschö,
Torsten.
 
T

Torsten Bronger

Hallöchen!

Torsten Bronger said:
I've installed Python 2.3.5, IDLE 1.0.5 on a Win2k box and have
fatal Windows errors with a trivial script. You can see a
screenshot of the problem at
<http://www-users.rwth-aachen.de/torsten.bronger/idle_error.png>.

At http://www-users.rwth-aachen.de/torsten.bronger/idle_error2.png
you see another error that I get when the soucecode looks slightly
different. Sometimes it really crashes with a memory access error.
My IDLE has gone mad, hasn't it?

Tschö,
Torsten.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top