[IPython-dev] RemoteController.test issue

Albert Strasheim fullung at gmail.com
Wed Nov 8 20:07:35 EST 2006

Hello all

With the right port in place, I can get the IDs of my two engines. However, 
when I run the test method of the RemoteController, I get:

The IPython Controller magics only work within IPython.
Connecting to controller:  ('', 10105)
[0, 1]
### here I run rc.test()
Running tests on 2 engines
Testing execute...
←[0;32m[]←[0;34m In [140]:←[0m a
←[0;32m[]←[0;31m Out[140]:←[0m 1
←[0;32m[]←[0;34m In [141]:←[0m print a
←[0;32m[]←[0;31m Out[141]:←[0m 1
←[0;32m[]←[0;34m In [45]:←[0m print a
←[0;32m[]←[0;31m Out[45]:←[0m 1
←[0;32m[]←[0;34m In [142]:←[0m b-3
←[0;32m[]←[0;31m Out[142]:←[0m -1
←[0;32m[]←[0;34m In [46]:←[0m b-3
←[0;32m[]←[0;31m Out[46]:←[0m -1
Need something to do!
Need something to do!
execute OK
Testing push/pull
Need something to do!
Need something to do!
push/pull FAIL:  list index out of range
Traceback (most recent call last):
  File "C:\home\albert\work2\pyspkrec\frags\frags9.py", line 4, in ?
  File "C:\Python24\Lib\site-packages\ipython1\kernel\controllerclient.py", 
line 171, in test
    self[1:max(ids)][0]['qwert'] = 3
  File "C:\Python24\Lib\site-packages\ipython1\kernel\controllerclient.py", 
line 336, in __getitem__
    return EngineProxy(self.rc, self._originalIDs[id])
IndexError: list index out of range

Does this test work for you guys?



More information about the IPython-dev mailing list