IronPython Mono CGI error

For the record, here's the error that Mono spits out when running IronPython as a CGI:

 Unhandled Exception: System.IO.IOException: Not a tty.
   at System.TermInfoDriver.Init () [0x00000] 
   at System.TermInfoDriver.set_ForegroundColor (ConsoleColor value) [0x00000] 
   at System.ConsoleDriver.set_ForegroundColor (ConsoleColor value) [0x00000] 
   at System.Console.set_ForegroundColor (ConsoleColor value) [0x00000] 
   at IronPythonConsole.BasicConsole.WriteColor (System.String s, Style style, ConsoleColor c) [0x00000] 
   at IronPythonConsole.BasicConsole.Write (System.String text, Style style) [0x00000] 
   at IronPythonConsole.PythonCommandLine.ImportSite (IronPython.Hosting.PythonEngine engine) [0x00000] 
   at IronPythonConsole.PythonCommandLine.RunFile (IronPython.Hosting.PythonEngine engine, System.String fileName) [0x00000] 
   at IronPythonConsole.PythonCommandLine.Run (IronPython.Hosting.PythonEngine engine, System.String fileName) [0x00000] 
   at IronPythonConsole.PythonCommandLine.Main (System.String[] rawArgs) [0x00000] 
 Premature end of script headers: pyblosxom.cgi