-
Notifications
You must be signed in to change notification settings - Fork 235
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
OSX: json.decoder.JSONDecodeError #28
Comments
Do describe (not in code) on what it is you're trying to do - the code shows what you're actually doing. What is the output of Tentatively an issue with OSX decoding the JSON?.. I.e., system-related, not package-related. Other than that, the code is likely to fail - in |
Does the (updated) |
I've been getting this too. Using Mac Sierra 10.12.5, Python3.5, krakenex 0.1.4. Background on my problem: I'm trying to pull all ticker data for all assetpairs at a particular time. I initialize the API as Traceback (most recent call last):
.
.
.
File "/Users/MYUSER/anaconda/envs/python3/lib/python3.5/site-packages/krakenex/api.py", line 148, in query_public
return self._query(urlpath, req, conn)
File "/MYUSER/anaconda/envs/python3/lib/python3.5/site-packages/krakenex/api.py", line 131, in _query
return json.loads(ret)
File "/Users/MYUSER/anaconda/envs/python3/lib/python3.5/json/__init__.py", line 319, in loads
return _default_decoder.decode(s)
File "/Users/MYUSER/anaconda/envs/python3/lib/python3.5/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/Users/MYUSER/anaconda/envs/python3/lib/python3.5/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) As an aside, the issue of
and from my testing of the |
@jacob-roth See if PR #17 helps with what you describe. It's available in current EDIT: shorten, said wrong version |
In short: the error probably stems from Closing as stale. Request reopen, or open separate issue, if present in latest Otherwise, wait for for |
Hey,
I'm new to the krakenex API, i'm trying to do the following
the out put is
and after a while ERROR !!!?!
The error happens randomly from the second query
i'm on OSX 10.11.6 python 3.6.1
many thanks
lj
The text was updated successfully, but these errors were encountered: