IDLE 1.0.5 crashs on Windows

Discussion in 'Python' started by Torsten Bronger, May 21, 2005.

  1. 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.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.

    --
    Torsten Bronger, aquisgrana, europa vetus
     
    Torsten Bronger, May 21, 2005
    #1
    1. Advertising

  2. Hallöchen!

    Torsten Bronger <-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/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.

    --
    Torsten Bronger, aquisgrana, europa vetus
     
    Torsten Bronger, May 21, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hongtu
    Replies:
    3
    Views:
    1,043
    Hongtu
    Oct 8, 2004
  2. Peter Row
    Replies:
    1
    Views:
    318
    Peter Row
    Apr 19, 2004
  3. jim
    Replies:
    0
    Views:
    405
  4. wenjie wang
    Replies:
    5
    Views:
    486
    wenjie wang
    Nov 1, 2004
  5. perl

    ActiveState Perl crashs, why ?

    perl, Oct 24, 2006, in forum: Perl Misc
    Replies:
    9
    Views:
    173
Loading...

Share This Page