You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the same error with pypy on ubuntu linux:
Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/pypy2.7/dist-packages/twisted/internet/defer.py", line 501, in _startRunCallbacks
self._runCallbacks()
File "/usr/local/lib/pypy2.7/dist-packages/twisted/internet/defer.py", line 588, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/opt/sha256d/p2pool-btc/p2pool/util/deferral.py", line 256, in gotResult
it(res2)
File "/opt/sha256d/p2pool-btc/p2pool/util/deferral.py", line 233, in it
res = gen.send(cur) # external code is run here
--- <exception caught here> ---
File "/opt/sha256d/p2pool-btc/p2pool/util/deferral.py", line 284, in _worker
self.func(*self.args, **self.kwargs)
File "/opt/sha256d/p2pool-btc/p2pool/util/expiring_dict.py", line 109, in <lambda>
self._expire_loop = expire_loop = deferral.RobustLoopingCall(lambda: self_ref().expire())
exceptions.AttributeError: 'NoneType' object has no attribute 'expire'
I occasionally get the following error (or similar) dealing with defer.py and deferral.py:
2014-06-27 19:44:17.483326 > Unhandled Error
2014-06-27 19:44:17.483571 > Traceback (most recent call last):
2014-06-27 19:44:17.483753 > File "/usr/local/Cellar/pypy/2.3.1/libexec/site-packages/Twisted-13.1.0-py2.7-macosx-10.8-intel.egg/twisted/internet/defer.py", line 488, in _startRunCallbacks
2014-06-27 19:44:17.483870 > self._runCallbacks()
2014-06-27 19:44:17.484088 > File "/usr/local/Cellar/pypy/2.3.1/libexec/site-packages/Twisted-13.1.0-py2.7-macosx-10.8-intel.egg/twisted/internet/defer.py", line 575, in _runCallbacks
2014-06-27 19:44:17.484197 > current.result = callback(current.result, _args, *_kw)
2014-06-27 19:44:17.484303 > File "/Users/jedimstr/p2pool/p2pool/util/deferral.py", line 256, in gotResult
2014-06-27 19:44:17.484417 > it(res2)
2014-06-27 19:44:17.484522 > File "/Users/jedimstr/p2pool/p2pool/util/deferral.py", line 233, in it
2014-06-27 19:44:17.484633 > res = gen.send(cur) # external code is run here
2014-06-27 19:44:17.484740 > --- ---
2014-06-27 19:44:17.484850 > File "/Users/jedimstr/p2pool/p2pool/util/deferral.py", line 284, in _worker
2014-06-27 19:44:17.484963 > self.func(_self.args, *_self.kwargs)
2014-06-27 19:44:17.485069 > File "/Users/jedimstr/p2pool/p2pool/util/expiring_dict.py", line 109, in
2014-06-27 19:44:17.485176 > self._expire_loop = expire_loop = deferral.RobustLoopingCall(lambda: self_ref().expire())
2014-06-27 19:44:17.485398 > exceptions.AttributeError: 'NoneType' object has no attribute 'expire'
2014-06-27 19:44:17.488420 > Unhandled Error
2014-06-27 19:44:17.490643 > Traceback (most recent call last):
2014-06-27 19:44:17.490859 > File "/usr/local/Cellar/pypy/2.3.1/libexec/site-packages/Twisted-13.1.0-py2.7-macosx-10.8-intel.egg/twisted/internet/defer.py", line 488, in _startRunCallbacks
2014-06-27 19:44:17.490974 > self._runCallbacks()
2014-06-27 19:44:17.491095 > File "/usr/local/Cellar/pypy/2.3.1/libexec/site-packages/Twisted-13.1.0-py2.7-macosx-10.8-intel.egg/twisted/internet/defer.py", line 575, in _runCallbacks
2014-06-27 19:44:17.491219 > current.result = callback(current.result, _args, *_kw)
2014-06-27 19:44:17.491334 > File "/Users/jedimstr/p2pool/p2pool/util/deferral.py", line 256, in gotResult
2014-06-27 19:44:17.491450 > it(res2)
2014-06-27 19:44:17.491567 > File "/Users/jedimstr/p2pool/p2pool/util/deferral.py", line 233, in it
2014-06-27 19:44:17.491770 > res = gen.send(cur) # external code is run here
2014-06-27 19:44:17.491875 > --- ---
2014-06-27 19:44:17.491979 > File "/Users/jedimstr/p2pool/p2pool/util/deferral.py", line 284, in _worker
2014-06-27 19:44:17.492085 > self.func(_self.args, *_self.kwargs)
2014-06-27 19:44:17.492191 > File "/Users/jedimstr/p2pool/p2pool/util/expiring_dict.py", line 109, in
2014-06-27 19:44:17.492305 > self._expire_loop = expire_loop = deferral.RobustLoopingCall(lambda: self_ref().expire())
2014-06-27 19:44:17.492415 > exceptions.AttributeError: 'NoneType' object has no attribute 'expire'
Sometimes it appears and just chugs along, but other times (like when bitcoin core is restarted), it continuously gives me these errors until I restart p2pool.
This is run on a MacPro running Mavericks and pypy instead of regular python (but I get this error under normal python as well).
The text was updated successfully, but these errors were encountered: