[IPython-dev] IPython1 unit tests fail

Kimball, John D CIV NSWCDL G33 john.d.kimball at navy.mil
Sat Nov 4 18:09:38 EST 2006


 
I installed ipython1 and dependecies in accordance with the INSTALL
file.  The unit tests fail, and I'm posting the problem here per the
directions in the INSTALL file.
 
Thanks for your assistance.  You all are doing awesome work!
 
I'm using:
 
enthon 1.0.0 (python 2.4.3)
Windows 2000 SP4 
ZopeInterface-3.1.0c1
The versions of Twisted and Nevow current as of 4PM 11-04-06.
 
I get the following result:
 
Running 29 tests.
 
C:\Python24\lib\site-packages\twisted\trial\runner.py:243:
exceptions.DeprecationWarning: log.startKeepingErrors is deprecated
since Twisted 2.5
ipython1.test.test_controllerpb
  BasicControllerPBTest
    testDeferreds ...
[ERROR]
    cleanup errors
[ERROR]
 
C:\Python24\lib\site-packages\twisted\trial\reporter.py:201:
twisted.trial.reporter.BrokenTestCaseWarning: REACTOR UNCLEAN!
traceback(s) follow: 
Traceback (most recent call last):
  File "C:\Python24\Lib\site-packages\twisted\trial\unittest.py", line
651, in _classCleanUp
    util._Janitor().postClassCleanup()
  File "C:\Python24\Lib\site-packages\twisted\trial\util.py", line 68,
in postClassCleanup
    'cleanPending', 'cleanThreads')
  File "C:\Python24\Lib\site-packages\twisted\trial\util.py", line 72,
in _dispatch
    getattr(self, "do_%s" % attr)()
  File "C:\Python24\Lib\site-packages\twisted\trial\util.py", line 126,
in do_cleanReactor
    raise DirtyReactorError(' '.join(s))
twisted.trial.util.DirtyReactorError: THIS WILL BECOME AN ERROR SOON!
reactor left in unclean state, the following Selectables were left over:
<<class 'twisted.internet.tcp.Port'> of
twisted.spread.pb.PBServerFactory on 10111> <<class
'twisted.internet.tcp.Client'> to ('127.0.0.1', 10111) at 18b1ab0>
<Broker #0 on 10111>
 
    testExecute ...
[ERROR]
    testInterfaces ...
[ERROR]
    testPullNamespace ...
[ERROR]
    testPushPull ...
[ERROR]
    testPushPullSerialized ...
[ERROR]
    testResult ...
[ERROR]
    testScatterGather ...
[ERROR]
ipython1.test.test_controllerservice
  BasicControllerServiceTest
    testDeferreds ...
[ERROR]
    testExecute ...
[ERROR]
    testInterfaces ...
[ERROR]
    testPullNamespace ...
[ERROR]
    testPushPull ...
[ERROR]
    testPushPullSerialized ...
[ERROR]
    testResult ...
[ERROR]
    testScatterGather ...
[ERROR]
                                              [ERROR]
ipython1.test.test_engineservice
  BasicEngineServiceTest
    testCompletedEmptyEngine ...
[ERROR]
    testDeferreds ...
[OK]
    testExecute ...
[OK]
    testGetResult ...
[OK]
    testInterfaces ...
[ERROR]
    testPullNamespace ...
[OK]
    testPushPull ...
[OK]
    testPushPullSerialized ...
[OK]
    testStatus ...
[OK]
                                                     [ERROR]
ipython1.test.test_shell
  BasicShellTest
    testCommand ...
[OK]
    testExecute ...
[OK]
    testPutGet ...
[OK]
    testUpdate ...
[OK]
 
========================================================================
=======
[ERROR]:
ipython1.test.test_controllerpb.BasicControllerPBTest.testDeferreds
 
Traceback (most recent call last):
  File
"C:\Python24\Lib\site-packages\ipython1\test\test_controllerpb.py", line
41, in setUp
    self.addEngine(1)
  File "C:\Python24\Lib\site-packages\ipython1\test\multienginetest.py",
line 20, in addEngine
    e = es.completeEngine(es.EngineService(InteractiveShell))
  File "C:\Python24\Lib\site-packages\ipython1\kernel\engineservice.py",
line 157, in completeEngine
    zi.alsoProvides(engine, IEngineComplete)
exceptions.AttributeError: 'module' object has no attribute
'alsoProvides'
========================================================================
=======
[ERROR]:
ipython1.test.test_controllerpb.BasicControllerPBTest.testExecute
 
Traceback (most recent call last):
  File
"C:\Python24\Lib\site-packages\ipython1\test\test_controllerpb.py", line
36, in setUp
    self.s = reactor.listenTCP(10111, self.sf)
  File "C:\Python24\Lib\site-packages\twisted\internet\posixbase.py",
line 386, in listenTCP
    p.startListening()
  File "C:\Python24\Lib\site-packages\twisted\internet\tcp.py", line
733, in startListening
    raise CannotListenError, (self.interface, self.port, le)
twisted.internet.error.CannotListenError: Couldn't listen on any:10111:
(10048, 'Address already in use').
========================================================================
=======
and so on... (same errors repeated)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20061104/f3f1839a/attachment.html>


More information about the IPython-dev mailing list