I'm running PyCharm 3.1.3 on CentOS 6.5 and I'm having a bit of a problem.
Whenever I run any command with os.system('command'), I get the error "'emacs': unknown terminal type." The command still executes, and I still see the output, but the error is a bit annoying.
This error only appears in the debugger terminal, and not the regular terminal. I have run "echo $TERM" in a few places, and this is the result:
"echo $TERM" in gnome-terminal (regular Linux terminal) - xterm
os.system("echo $TERM") in python interpreter directly (without PyCharm) - xterm
"echo $TERM" in PyCharm's regular terminal - xterm
os.system("echo $TERM") in a program running through PyCharm's regular terminal - xterm
os.system("echo $TERM") in a program running through PyCharm's debugger terminal - emacs
I've looked in PyCharm's settings, but can't seem to find any place to set TERM=xterm for the debugger. I have a few workarounds for hiding the errors, but not a permanent solution. Am I missing something?