469,929 Members | 1,766 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,929 developers. It's quick & easy.

IDLE 1.0.5 crashs on Windows

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 ====
Exception in Tkinter callback

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.p y", line 135, in run_module_event
code = self.checksyntax(filename)
File "C:\Programme\Python23\lib\idlelib\ScriptBinding.p y", 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.

--
Torsten Bronger, aquisgrana, europa vetus
Jul 19 '05 #1
1 1639
Hallöchen!

Torsten Bronger <br*****@physik.rwth-aachen.de> writes:
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/tors...dle_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.

--
Torsten Bronger, aquisgrana, europa vetus
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

16 posts views Thread by Kerry Neilson | last post: by
15 posts views Thread by Aubrey Hutchison | last post: by
1 post views Thread by Moosebumps | last post: by
1 post views Thread by Matt Leslie | last post: by
6 posts views Thread by Batista, Facundo | last post: by
1 post views Thread by dbrown2 | last post: by
8 posts views Thread by Jonathan Polley | last post: by
19 posts views Thread by Frank Rizzo | last post: by
3 posts views Thread by Jan Schukat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.