D
D
densaface2015-05-25 22:43:05
linux
densaface, 2015-05-25 22:43:05

Is it possible to get around the error Pudb: cbreak() returned ERR?

I recently started using the pudb debugger for Python scripts in Linux, I really like it, but in some cases it throws an error on the line import pudb; pu.db
File "/test.py", line 1365, in run_test
if conf().test_condition:
File "/usr/lib64/python2.6/bdb.py", line 46, in trace_dispatch
return self.dispatch_line(frame )
File "/usr/lib64/python2.6/bdb.py", line 64, in dispatch_line
self.user_line(frame)
File "/usr/lib/python2.6/site-packages/pudb-2015.2-py2.6 .egg/pudb/debugger.py", line 323, in user_line
self.interaction(frame)
File "/usr/lib/python2.6/site-packages/pudb-2015.2-py2.6.egg/pudb/debugger. py", line 291,
File "/usr/lib/python2.6/site-packages/pudb-2015.2-py2.6.egg/pudb/debugger.py", line 1944, in call_with_ui
return f(*args, **kwargs)
File "/ usr/lib/python2.6/site-packages/pudb-2015.2-py2.6.egg/pudb/debugger.py", line 2145, in interaction
self.event_loop()
File "/usr/lib/python2.6/ site-packages/pudb-2015.2-py2.6.egg/pudb/debugger.py", line 2105, in event_loop
keys = self.screen.get_input()
File "/usr/lib/python2.6/site-packages/ urwid-1.3.0-py2.6.egg/urwid/curses_display.py", line 277, in get_input
keys, raw = self._get_input( self.max_tenths )
File "/usr/lib/python2.6/site-packages /urwid-1.3.0-py2.6.egg/urwid/curses_display.py", line 314, in _get_input
key = self._getch(wait_tenths)
File "/usr/lib/python2.6/site-packages/urwid-1.3.0-py2.6.egg/urwid/curses_display.py", line 188, in _getch
curses.cbreak()

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question