[Twisted-Python] StdioOnnaStick instance has no attribute 'isatty'

Marcin Kasperski Marcin.Kasperski at softax.com.pl
Sun Nov 11 13:30:23 MST 2007


I just tried to run some trial tests on ubuntu gutsy (twisted 2.5.0),
just to get the error as in the title (full traceback below).
Does anybody know what is wrong here?

Traceback (most recent call last):
   File "/usr/bin/trial", line 24, in <module>
     run()
   File "/usr/lib/python2.5/site-packages/twisted/scripts/trial.py", line 345, in run
     test_result = trialRunner.run(suite)
   File "/usr/lib/python2.5/site-packages/twisted/trial/runner.py", line 772, in run
     result = self._makeResult()
   File "/usr/lib/python2.5/site-packages/twisted/trial/runner.py", line 712, in _makeResult
     return self.reporterFactory(self.stream, self.tbformat, self.rterrors)
   File "/usr/lib/python2.5/site-packages/twisted/trial/reporter.py", line 555, in __init__
     if colorizer.supported():
   File "/usr/lib/python2.5/site-packages/twisted/trial/reporter.py", line 446, in supported
     if not sys.stderr.isatty():
 AttributeError: StdioOnnaStick instance has no attribute 'isatty'


-- 
----------------------------------------------------------------------
| Marcin Kasperski   |  For waterfall, milestones are commitments.
| http://mekk.waw.pl | For iterative development, they are decision
|                    |               points. (Martin)
----------------------------------------------------------------------





More information about the Twisted-Python mailing list