Pydev debugger exception

Janne R.
2010-12-31
2013-03-15
  • Janne R.

    Janne R. - 2010-12-31

    On a fresh installation of Eclipse, Pydev, and Python 2.7 on Windows, the following is printed after a program exits in the debugger:

    Exception AttributeError: "'NoneType' object has no attribute 'print_exc'" in <function _remove at 0x0131EA70> ignored
    

    Screenshot:

    What could be causing this?

    Janne R.

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2010-12-31

    I'm not able to reproduce it here… Apparently there's a function named '_remove' which is being kept alive until the interpreter shutdown, and during the shutdown it tries to access the print_exc method (probably from traceback.py), but the module was already garbage-collected.

    Cheers,

    Fabio

     
  • Janne R.

    Janne R. - 2010-12-31

    Well, I just replicated the error on a virtual machine. Steps were to install Python, the JRE, the JDK, set up Eclipse with Pydev and configure the Python interpreter, optionally install the Psyco compiler (doesn't affect it), and debug a Hello world program.

    Top - virtual machine running Windows XP; bottom - my Windows 7 machine

    I also tried the nightly release.

    Janne R.

     
  • RomBR

    RomBR - 2011-01-16

    I also have  this problem too:

    Exception AttributeError: "'NoneType' object has no attribute 'print_exc'" in <function _remove at 0x00ABA3F0> ignored

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2011-01-16

    Can someone with this problem do the following:

    Go to window > preferences > pydev > interpreter - python > Select the
    interpreter you're using to run > environment > add the "PYTHONVERBOSE"
    variable with the value "True", start the debugger with that variable and
    create a bug report with the output you get.

    Thanks,

    Fabio

     
  • Janne R.

    Janne R. - 2011-01-17

    I filed the bug report.

    Janne R.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks