I'm getting the following errors on one of my delegates (other is OK strangely) since I've updated the bts client to "v0.5.0" and so I'm unable to publish feeds...
Warning: unknown error, can't fetch price
'result'
some of the log results are:
2015-01-18 03:45:54,138[ERROR]: Error fetching results from btc38!
2015-01-18 03:45:54,138[ERROR]: Error get price from btc38!
2015-01-18 03:45:57,462[ERROR]: Warning: unknown error, can't fetch price
2015-01-18 03:45:57,462[ERROR]: 'result'
Traceback (most recent call last):
File "./bts_feed_auto.py", line 197, in <module>
fetch_price()
File "./bts_feed_auto.py", line 100, in fetch_price
price_depth["bts_usd"] = client.get_depth_in_range("USD","BTS", depth_change)
File "/home/ubuntu/operation_tools/btsfeed/bts.py", line 44, in get_depth_in_range
price = self.get_price(quote,base)
File "/home/ubuntu/operation_tools/btsfeed/bts.py", line 234, in get_price
order = response.json()["result"]
KeyError: 'result'
2015-01-18 04:07:20,687[ERROR]: Warning: unknown error, can't fetch price
2015-01-18 04:07:20,687[ERROR]: 'NoneType' object is not subscriptable
Traceback (most recent call last):
File "./bts_feed_auto.py", line 197, in <module>
fetch_price()
File "./bts_feed_auto.py", line 100, in fetch_price
price_depth["bts_usd"] = client.get_depth_in_range("USD","BTS", depth_change)
File "/home/ubuntu/operation_tools/btsfeed/bts.py", line 48, in get_depth_in_range
base_precision = self.get_precision(base)
File "/home/ubuntu/operation_tools/btsfeed/bts.py", line 295, in get_precision
return float(response.json()["result"]["precision"])
TypeError: 'NoneType' object is not subscriptable
2015-01-18 04:08:31,155[ERROR]: Error fetching results from yunbi!
2015-01-18 04:08:31,157[ERROR]: Error get price from yunbi!
2015-01-18 04:08:31,165[ERROR]: Warning: unknown error, can't fetch price
2015-01-18 04:08:31,165[ERROR]: 'result'
Traceback (most recent call last):
File "./bts_feed_auto.py", line 197, in <module>
fetch_price()
File "./bts_feed_auto.py", line 100, in fetch_price
price_depth["bts_usd"] = client.get_depth_in_range("USD","BTS", depth_change)
File "/home/ubuntu/operation_tools/btsfeed/bts.py", line 44, in get_depth_in_range
price = self.get_price(quote,base)
File "/home/ubuntu/operation_tools/btsfeed/bts.py", line 234, in get_price
order = response.json()["result"]
KeyError: 'result'
Any ideas? I've completely re-cloned the operations_tools from github and copied my config.json from the working delegate and getting the same results...