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

graphs/stats dont work for some coins! #30

Open
deeppurple72 opened this issue Jan 16, 2014 · 0 comments
Open

graphs/stats dont work for some coins! #30

deeppurple72 opened this issue Jan 16, 2014 · 0 comments

Comments

@deeppurple72
Copy link

For some coins, graphs/stats work fine.
For others (btc, ltc, & ftc )
the stats/graphs/etc don't work at all!!!!

Getting messages in the consoles about web.py data

Error in web.py line 144 ( and many other lines too )

Its odd how the ext.frontend works with some coins, yet fails on others!

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 > --- ---
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
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 > --- ---
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
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 > --- ---
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
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'

Maybe the ext.frontend is not compatible anymore with the current p2pool github?

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