[Twisted-Python] trial and python 2.5.2?

Mikhail Terekhov termim at gmail.com
Sun Jul 13 18:34:47 EDT 2008


I'm trying to run trial from twisted-8.1.0 on SuSE-11.0 with python 
2.5.2 and get the following error
(with super and old style classes IMHO). What would be the fix or 
workaround for this?
BTW on SuSE-10.3 with python 2.5.1 everything is OK.

Thank you

mike at linux-lp:~/python/twisted> tar jxf Twisted-8.1.0.tar.bz2
mike at linux-lp:~/python/twisted> cd Twisted-8.1.0
mike at linux-lp:~/python/twisted/Twisted-8.1.0> ./bin/trial twisted
DeprecationWarning: twisted.flow is unmaintained.
  return __import__(importName)
DeprecationWarning: mktap and related support modules are deprecated as 
of Twisted 8.0.  Use Twisted Application Plugins with the 'twistd' 
command directly, as described in 'Writing a Twisted Application Plugin 
for twistd' chapter of the Developer Guide.
  from twisted.scripts.mktap import run, getid
DeprecationWarning: twisted.enterprise.util is deprecated since Twisted 
DeprecationWarning: twisted.persisted.marmalade is deprecated
  from twisted.persisted import marmalade
UserWarning: twisted.im will be undergoing a rewrite at some point in 
the future.
  warnings.warn("twisted.im will be undergoing a rewrite at some point 
in the future.")
Traceback (most recent call last):
  File "./bin/trial", line 24, in <module>
"/home/mike/python/twisted/Twisted-8.1.0/twisted/scripts/trial.py", line 
361, in run
    test_result = trialRunner.run(suite)
"/home/mike/python/twisted/Twisted-8.1.0/twisted/trial/runner.py", line 
780, in run
    suite = TrialSuite([test])
"/home/mike/python/twisted/Twisted-8.1.0/twisted/trial/runner.py", line 
263, in __init__
    super(TrialSuite, self).__init__([suite])
TypeError: super() argument 1 must be type, not classobj
Exception exceptions.TypeError: TypeError("'NoneType' object is not 
callable",) in <bound method Popen3.__del__ of <popen2.Popen3 instance 
at 0x933a78c>> ignored
mike at linux-lp:~/python/twisted/Twisted-8.1.0>
mike at linux-lp:~/python/twisted/Twisted-8.1.0> python --version
Python 2.5.2
mike at linux-lp:~/python/twisted/Twisted-8.1.0>

More information about the Twisted-Python mailing list