I installed jsonrpc and bitcoinrpc according to jgarzik's https://bitcointalksearch.org/topic/python-bitcoin-friendly-json-rpc-library-5314 but I get the following error when running the query:
Traceback (most recent call last):
File "
obj, end = self.scan_once(s, idx)
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "
data = bitcoin.getwork() # call bitcoin 'getwork' RPC
File "
__call__
response = self._get_response()
File "
_get_response
parse_float=decimal.Decimal)
File "
return cls(**kw).decode(s)
File "
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
I'd appreciate any feedback. Thank you.