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

btsfeed tool error after latest git pull #6

Open
bitcoiners opened this issue May 17, 2015 · 1 comment
Open

btsfeed tool error after latest git pull #6

bitcoiners opened this issue May 17, 2015 · 1 comment

Comments

@bitcoiners
Copy link

2015-05-17 13:51:08,340[ERROR]: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "./bts_feed_auto.py", line 199, in
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/tools/local/operation_tools/btsfeed/bts.py", line 66, in get_depth_in_range
price = self.get_price(quote,base)
File "/home/tools/local/operation_tools/btsfeed/bts.py", line 256, in get_price
order = response.json()["result"]
File "/usr/lib/python3/dist-packages/requests/models.py", line 756, in json
return json.loads(self.content.decode(encoding), **kwargs)
File "/usr/lib/python3/dist-packages/simplejson/init.py", line 501, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 393, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

@bitcoiners
Copy link
Author

Any updates for this bug?

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