[Twisted-Python] trial and python 2.5.2?

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


Hi,

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


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
/home/mike/python/twisted/Twisted-8.1.0/twisted/python/reflect.py:377: 
DeprecationWarning: twisted.flow is unmaintained.
  return __import__(importName)
/home/mike/python/twisted/Twisted-8.1.0/twisted/scripts/test/test_mktap.py:16: 
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
/home/mike/python/twisted/Twisted-8.1.0/twisted/enterprise/util.py:19: 
DeprecationWarning: twisted.enterprise.util is deprecated since Twisted 
8.0.0.
  category=DeprecationWarning)
/home/mike/python/twisted/Twisted-8.1.0/twisted/test/test_persisted.py:161: 
DeprecationWarning: twisted.persisted.marmalade is deprecated
  from twisted.persisted import marmalade
/home/mike/python/twisted/Twisted-8.1.0/twisted/words/im/__init__.py:8: 
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>
    run()
  File 
"/home/mike/python/twisted/Twisted-8.1.0/twisted/scripts/trial.py", line 
361, in run
    test_result = trialRunner.run(suite)
  File 
"/home/mike/python/twisted/Twisted-8.1.0/twisted/trial/runner.py", line 
780, in run
    suite = TrialSuite([test])
  File 
"/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