Console error with Curses

I am trying to debug a console app that uses curses. Every time curses init's, I get the following error:

File "/usr/lib/python2.7/curses/", line 33, in initscr
_curses.error: setupterm: could not find terminal

Is there a way around this? I'm assuming it's an incompatibility with the embedded console. Is there something else I need to do to make the embedded console compatible or is there a way to debug while running in a seperate console?

Any help is appreciated.


1 comment
Comment actions Permalink
You can use the remote debug feature to run your process from a real terminal and attach a debugger to it.

Please sign in to leave a comment.