#23 Crashes when using Python window

closed-fixed
nobody
None
7
2004-10-10
2004-10-09
No

To get this error I do:

1. Open DrPython
2. Click "python" icon
3. Type 'print "hello"'

I'm on windows XP SP2, using Python 2.3.2

Fatal Python error: PyThreadState_Get: no current thread

This application has requested the Runtime to terminate
it in an unusual way.
Please contact the application's support team for more
information.

Discussion

  • Logged In: YES
    user_id=796750

    :) I'll need some more info:

    1. What version of wxPython are you running?
    2. What version of drpython is this on?
    3. Do you have any plugins installed? If so, which ones?
    4. Does the status bar say "running python interpreter?"
    5. Can you get this error typing "Moose on the Loose"?
    6. If you start the interpreter, and wait 10 seconds, then
    type, does the error still occur?

    (I am unable to reproduce the bug myself on initial run
    [windows xp])

     
  • Logged In: YES
    user_id=467992

    1. Version 2.5.2.7.u
    2. Version 3.5.8
    3. None
    4. Yes
    5. Yes
    6. Yes

     
  • Logged In: YES
    user_id=796750

    Lovely.

    Well, running on wxPython 2.5.2.8u, on Python 2.2, and 2.3,
    I cannot reproduce this.

    So.

    wxPython:
    Any chance upgrading from 2.5.2.7 to 2.5.2.8 works? How
    about the non unicode version?

    Aside from that, I am quite befuddled.
    DrPython (the core program) does not explicitly use threads.

    It looks like something is going horribly wrong with the
    interpreter process.

    Try this:
    1. bring up task manager
    2. Try running the interpreter
    3. Check to see if an additional python process has been
    started.

     
    • priority: 5 --> 7
     
  • Logged In: YES
    user_id=467992

    I upgraded to 2.5.2.8 (non-unicode) and now everything works
    fine. Thanks!

     
    • status: open --> closed-fixed
     
  • Logged In: YES
    user_id=796750

    Cool beans. Guess it was just a wxPython bug then.