[IPython-User] "RuntimeError: maximum recursion depth exceeded in cmp" when python raises an exception.

Thomas Wiecki thomas.wiecki@googlemail....
Sat Feb 4 12:11:42 CST 2012


In the most recent ipython I import the Trace(), but run the program
normally with python 2.7. Before every exception that gets raised I
get hundreds of lines looking like this:

  File "/home/wiecki/tools/ipython/IPython/core/debugger.py", line 65,
in BdbQuit_excepthook
    BdbQuit_excepthook.excepthook_ori(et,ev,tb)
  File "/home/wiecki/tools/ipython/IPython/core/debugger.py", line 65,
in BdbQuit_excepthook
    BdbQuit_excepthook.excepthook_ori(et,ev,tb)
  File "/home/wiecki/tools/ipython/IPython/core/debugger.py", line 65,
in BdbQuit_excepthook
    BdbQuit_excepthook.excepthook_ori(et,ev,tb)
  File "/home/wiecki/tools/ipython/IPython/core/debugger.py", line 65,
in BdbQuit_excepthook
    BdbQuit_excepthook.excepthook_ori(et,ev,tb)
  File "/home/wiecki/tools/ipython/IPython/core/debugger.py", line 65,
in BdbQuit_excepthook
    BdbQuit_excepthook.excepthook_ori(et,ev,tb)
  File "/home/wiecki/tools/ipython/IPython/core/debugger.py", line 65,
in BdbQuit_excepthook
    BdbQuit_excepthook.excepthook_ori(et,ev,tb)
  File "/home/wiecki/tools/ipython/IPython/core/debugger.py", line 62,
in BdbQuit_excepthook
    if et==bdb.BdbQuit:
RuntimeError: maximum recursion depth exceeded in cmp

Any idea on what could be going wrong?

Thomas


More information about the IPython-User mailing list