simplejson.errors.JSONDecodeError
See original GitHub issueThis didn’t happen with the same code, and I am using the fastai neptune callback
Traceback (most recent call last):
File "finetune.py", line 116, in <module>
neptune.init(project_qualified_name='natsume/electra-glue')
File "/home/yisiang/miniconda3/envs/ml/lib/python3.7/site-packages/neptune/__init__.py", line 148, in init
backend = HostedNeptuneBackend(api_token, proxies)
File "/home/yisiang/miniconda3/envs/ml/lib/python3.7/site-packages/neptune/utils.py", line 210, in wrapper
return func(*args, **kwargs)
File "/home/yisiang/miniconda3/envs/ml/lib/python3.7/site-packages/neptune/internal/backends/hosted_neptune_backend.py", line 91, in __init__
self._client_config = self._create_client_config(self.credentials.api_token, backend_client)
File "/home/yisiang/miniconda3/envs/ml/lib/python3.7/site-packages/neptune/utils.py", line 210, in wrapper
return func(*args, **kwargs)
File "/home/yisiang/miniconda3/envs/ml/lib/python3.7/site-packages/neptune/internal/backends/hosted_neptune_backend.py", line 930, in _create_client_config
config = backend_client.api.getClientConfig(X_Neptune_Api_Token=api_token).response().result
File "/home/yisiang/miniconda3/envs/ml/lib/python3.7/site-packages/bravado/http_future.py", line 200, in response
swagger_result = self._get_swagger_result(incoming_response)
File "/home/yisiang/miniconda3/envs/ml/lib/python3.7/site-packages/bravado/http_future.py", line 124, in wrapper
return func(self, *args, **kwargs)
File "/home/yisiang/miniconda3/envs/ml/lib/python3.7/site-packages/bravado/http_future.py", line 303, in _get_swagger_result
self.request_config.response_callbacks,
File "/home/yisiang/miniconda3/envs/ml/lib/python3.7/site-packages/bravado/http_future.py", line 337, in unmarshal_response
op=operation,
File "/home/yisiang/miniconda3/envs/ml/lib/python3.7/site-packages/bravado/http_future.py", line 374, in unmarshal_response_inner
content_value = response.json()
File "/home/yisiang/miniconda3/envs/ml/lib/python3.7/site-packages/bravado/requests_client.py", line 160, in json
return self._delegate.json(**kwargs)
File "/home/yisiang/miniconda3/envs/ml/lib/python3.7/site-packages/requests/models.py", line 898, in json
return complexjson.loads(self.text, **kwargs)
File "/home/yisiang/miniconda3/envs/ml/lib/python3.7/site-packages/simplejson/__init__.py", line 525, in loads
return _default_decoder.decode(s)
File "/home/yisiang/miniconda3/envs/ml/lib/python3.7/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/home/yisiang/miniconda3/envs/ml/lib/python3.7/site-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:11 (6 by maintainers)
Top Results From Across the Web
simplejson.errors.JSONDecodeError - python - Stack Overflow
The error occurs at the beginning, so you are probably trying to decode something which is not in Json format. – Serge Ballesta....
Read more >simplejson.errors.JSONDecodeError : Forums
simplejson.errors.JSONDecodeError ... JSONDecodeError: Expecting value: line 1 column 1 (char 0). This is the error when I run my code on ...
Read more >pyDataverse API simplejson.errors.JSONDecodeError
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0). when using the Dataverse API using the pyDataverse package and ...
Read more >simplejson — JSON encoder and decoder — simplejson 3.18 ...
read() -supporting file-like object containing a JSON document) to a Python object using this conversion table. JSONDecodeError will be raised if the given...
Read more >Top 5 simplejson Code Examples - Snyk
Learn more about how to use simplejson, based on simplejson code examples created ... except JSONDecodeError: logger.error( "github.webhook.invalid-json", ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Anyone who is seeing this as well, please upvote the issue.
Great to hear that, closing the issue then.