This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

IPython abort error

By: a guest on Aug 6th, 2011  |  syntax: None  |  size: 1.17 KB  |  views: 66  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. In [220]: ar=lview.apply_async(sleep,10)
  2.  
  3. In [221]: ar.abort()
  4. ERROR: An unexpected error occurred while tokenizing input
  5. The following traceback may be corrupted or invalid
  6. The error message is: ('EOF in multi-line statement', (97, 0))
  7.  
  8. ---------------------------------------------------------------------------
  9. TimeoutError                              Traceback (most recent call last)
  10. /Users/maarten/<ipython-input-221-1ece39e2ac75> in <module>()
  11. ----> 1 ar.abort()
  12.  
  13. /Library/Python/2.6/site-packages/ipython-0.11-py2.6.egg/IPython/parallel/client/asyncresult.pyc in abort(self)
  14.     195         """abort my tasks."""
  15.     196         assert not self.ready(), "Can't abort, I am already done!"
  16. --> 197         return self.client.abort(self.msg_ids, targets=self._targets, block=True)
  17.     198
  18.     199     @property
  19.  
  20. /Users/maarten/<string> in __getattr__(self, key)
  21.  
  22. /Library/Python/2.6/site-packages/ipython-0.11-py2.6.egg/IPython/parallel/client/asyncresult.pyc in check_ready(f, self, *args, **kwargs)
  23.      35     self.wait(0)
  24.      36     if not self._ready:
  25. ---> 37         raise error.TimeoutError("result not ready")
  26.      38     return f(self, *args, **kwargs)
  27.      39
clone this paste RAW Paste Data