A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ipython/ipython/issues/1564/ below:

calling .abort on AsyncMapResult results in traceback · Issue #1564 · ipython/ipython · GitHub

traceback says AsyncMapResult object has no attribute 'client'

@fperez just ran into this doing a live demo, here's the TB:

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
/home/sgeadmin/<ipython-input-45-75c2b5e59cd8> in <module>()
----> 1 amr.abort()

/software/python-2.7.1-release/lib/python2.7/site-packages/IPython/parallel/client/asyncresult.pyc in abort(self)
    196         """abort my tasks."""
    197         assert not self.ready(), "Can't abort, I am already done!"
--> 198         return self.client.abort(self.msg_ids, targets=self._targets, block=True)
    199 
    200     @property

/software/python-2.7.1-release/lib/python2.7/site-packages/IPython/parallel/client/asyncresult.pyc in __getattr__(self, key)
    239         except (error.TimeoutError, KeyError):
    240             raise AttributeError("%r object has no attribute %r"%(
--> 241                     self.__class__.__name__, key))
    242 
    243     # asynchronous iterator:

AttributeError: 'AsyncMapResult' object has no attribute 'client'

Fernando said @minrk should be able to fix it before end of class :) (in an hour)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4