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

'NoneType' object has no attribute 'get' #12

Open
vphelipe opened this issue Oct 4, 2017 · 2 comments
Open

'NoneType' object has no attribute 'get' #12

vphelipe opened this issue Oct 4, 2017 · 2 comments

Comments

@vphelipe
Copy link

vphelipe commented Oct 4, 2017

2017-10-04 09:41:07-0400 [ProxyClient,client] Server -> Queue: {"jsonrpc":"2.0","error":{"code":-42,"message":"Timeout"},"result":null}
2017-10-04 09:41:07-0400 [ProxyClient,client] Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/twisted/python/log.py", line 101, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/python/log.py", line 84, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext
return func(*args,**kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 597, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 209, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 215, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/twisted/protocols/basic.py", line 454, in dataReceived
self.lineReceived(line)
File "x.py", line 101, in lineReceived
elif data.get('result', {}).get('status') == 'OK':
exceptions.AttributeError: 'NoneType' object has no attribute 'get'

@samsonbro
Copy link

samsonbro commented Mar 3, 2018

how to reduce threads,, to reduce the hashing speed,please advice sir.

1 similar comment
@samsonbro
Copy link

samsonbro commented Mar 3, 2018

how to reduce threads,, to reduce the hashing speed,please advice sir.

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

No branches or pull requests

3 participants