Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in DeferredResource handler #25

Open
jedimstr opened this issue Nov 12, 2013 · 0 comments
Open

Error in DeferredResource handler #25

jedimstr opened this issue Nov 12, 2013 · 0 comments

Comments

@jedimstr
Copy link

Every once in awhile I received this large error block. It recovers and continues to work without crashing afterwards, but it is a bit disconcerting.

I originally opened up this issue in the main P2Pool repository, but was told this was an issue with the ExtendedFrontEnd not being up to date with the latest commits from P2Pool:

2013-11-12 13:22:37.948454 > Error in DeferredResource handler:
2013-11-12 13:22:37.948565 > Traceback (most recent call last):
2013-11-12 13:22:37.948609 >   File "/Users/jedimstr/p2pool/p2pool/util/deferred_resource.py", line 24, in render
2013-11-12 13:22:37.948649 >     defer.maybeDeferred(resource.Resource.render, self, request).addCallbacks(finish, finish_error)
2013-11-12 13:22:37.948689 >   File "/Library/Python/2.7/site-packages/Twisted-13.1.0-py2.7-macosx-10.8-intel.egg/twisted/internet/defer.py", line 137, in maybeDeferred
2013-11-12 13:22:37.948728 >     result = f(*args, **kw)
2013-11-12 13:22:37.948770 >   File "/Library/Python/2.7/site-packages/Twisted-13.1.0-py2.7-macosx-10.8-intel.egg/twisted/web/resource.py", line 250, in render
2013-11-12 13:22:37.948809 >     return m(request)
2013-11-12 13:22:37.948846 >   File "/Library/Python/2.7/site-packages/Twisted-13.1.0-py2.7-macosx-10.8-intel.egg/twisted/internet/defer.py", line 1213, in unwindGenerator
2013-11-12 13:22:37.948885 >     return _inlineCallbacks(None, gen, Deferred())
2013-11-12 13:22:37.948922 > --- <exception caught here> ---
2013-11-12 13:22:37.948958 >   File "/Library/Python/2.7/site-packages/Twisted-13.1.0-py2.7-macosx-10.8-intel.egg/twisted/internet/defer.py", line 1070, in _inlineCallbacks
2013-11-12 13:22:37.948996 >     result = g.send(result)
2013-11-12 13:22:37.949033 >   File "/Users/jedimstr/p2pool/p2pool/web.py", line 189, in render_GET
2013-11-12 13:22:37.949069 >     res = yield self.func(*self.args)
2013-11-12 13:22:37.949105 >   File "/Users/jedimstr/p2pool/p2pool/web.py", line 444, in <lambda>
2013-11-12 13:22:37.949179 >     new_root.putChild('graph_data', WebInterface(lambda source, view: hd.datastreams[source].dataviews[view].get_data(time.time())))
2013-11-12 13:22:37.949218 > exceptions.KeyError: 'outgoing_peers'
2013-11-12 13:22:37.950037 > Error in DeferredResource handler:
2013-11-12 13:22:37.950082 > Traceback (most recent call last):
2013-11-12 13:22:37.950119 >   File "/Users/jedimstr/p2pool/p2pool/util/deferred_resource.py", line 24, in render
2013-11-12 13:22:37.950157 >     defer.maybeDeferred(resource.Resource.render, self, request).addCallbacks(finish, finish_error)
2013-11-12 13:22:37.950195 >   File "/Library/Python/2.7/site-packages/Twisted-13.1.0-py2.7-macosx-10.8-intel.egg/twisted/internet/defer.py", line 137, in maybeDeferred
2013-11-12 13:22:37.950234 >     result = f(*args, **kw)
2013-11-12 13:22:37.950271 >   File "/Library/Python/2.7/site-packages/Twisted-13.1.0-py2.7-macosx-10.8-intel.egg/twisted/web/resource.py", line 250, in render
2013-11-12 13:22:37.950309 >     return m(request)
2013-11-12 13:22:37.950346 >   File "/Library/Python/2.7/site-packages/Twisted-13.1.0-py2.7-macosx-10.8-intel.egg/twisted/internet/defer.py", line 1213, in unwindGenerator
2013-11-12 13:22:37.950385 >     return _inlineCallbacks(None, gen, Deferred())
2013-11-12 13:22:37.950421 > --- <exception caught here> ---
2013-11-12 13:22:37.950458 >   File "/Library/Python/2.7/site-packages/Twisted-13.1.0-py2.7-macosx-10.8-intel.egg/twisted/internet/defer.py", line 1070, in _inlineCallbacks
2013-11-12 13:22:37.950496 >     result = g.send(result)
2013-11-12 13:22:37.950532 >   File "/Users/jedimstr/p2pool/p2pool/web.py", line 189, in render_GET
2013-11-12 13:22:37.950568 >     res = yield self.func(*self.args)
2013-11-12 13:22:37.950605 >   File "/Users/jedimstr/p2pool/p2pool/web.py", line 444, in <lambda>
2013-11-12 13:22:37.950641 >     new_root.putChild('graph_data', WebInterface(lambda source, view: hd.datastreams[source].dataviews[view].get_data(time.time())))
2013-11-12 13:22:37.950680 > exceptions.KeyError: 'local_share_hash_rate'
2013-11-12 13:22:37.986647 > Error in DeferredResource handler:
2013-11-12 13:22:37.986757 > Traceback (most recent call last):
2013-11-12 13:22:37.986801 >   File "/Users/jedimstr/p2pool/p2pool/util/deferred_resource.py", line 24, in render
2013-11-12 13:22:37.986843 >     defer.maybeDeferred(resource.Resource.render, self, request).addCallbacks(finish, finish_error)
2013-11-12 13:22:37.986886 >   File "/Library/Python/2.7/site-packages/Twisted-13.1.0-py2.7-macosx-10.8-intel.egg/twisted/internet/defer.py", line 137, in maybeDeferred
2013-11-12 13:22:37.986928 >     result = f(*args, **kw)
2013-11-12 13:22:37.986969 >   File "/Library/Python/2.7/site-packages/Twisted-13.1.0-py2.7-macosx-10.8-intel.egg/twisted/web/resource.py", line 250, in render
2013-11-12 13:22:37.987009 >     return m(request)
2013-11-12 13:22:37.987047 >   File "/Library/Python/2.7/site-packages/Twisted-13.1.0-py2.7-macosx-10.8-intel.egg/twisted/internet/defer.py", line 1213, in unwindGenerator
2013-11-12 13:22:37.987087 >     return _inlineCallbacks(None, gen, Deferred())
2013-11-12 13:22:37.987123 > --- <exception caught here> ---
2013-11-12 13:22:37.987159 >   File "/Library/Python/2.7/site-packages/Twisted-13.1.0-py2.7-macosx-10.8-intel.egg/twisted/internet/defer.py", line 1070, in _inlineCallbacks
2013-11-12 13:22:37.987197 >     result = g.send(result)
2013-11-12 13:22:37.987232 >   File "/Users/jedimstr/p2pool/p2pool/web.py", line 189, in render_GET
2013-11-12 13:22:37.987268 >     res = yield self.func(*self.args)
2013-11-12 13:22:37.987304 >   File "/Users/jedimstr/p2pool/p2pool/web.py", line 444, in <lambda>
2013-11-12 13:22:37.987341 >     new_root.putChild('graph_data', WebInterface(lambda source, view: hd.datastreams[source].dataviews[view].get_data(time.time())))
2013-11-12 13:22:37.987379 > exceptions.KeyError: 'incoming_peers'

This is on a Mac Pro running OSX 10.9 Mavericks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant