One problem when I log in with icepy #429
-
Hi, in April I downloads data by icepy, things went very well. But today when I tried to log in to NASA i, it gave me this: **Earthdata Login password: ········JSONDecodeError Traceback (most recent call last) File ~\anaconda3\envs\nsidc-tutorials\lib\site-packages\icepyx\core\query.py:851, in Query.earthdata_login(self, uid, email, s3token) File ~\anaconda3\envs\nsidc-tutorials\lib\site-packages\icepyx\core\Earthdata.py:140, in Earthdata.login(self, attempts) File ~\anaconda3\envs\nsidc-tutorials\lib\site-packages\icepyx\core\Earthdata.py:78, in Earthdata._start_session(self) File ~\anaconda3\envs\nsidc-tutorials\lib\json_init_.py:346, in loads(s, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw) File ~\anaconda3\envs\nsidc-tutorials\lib\json\decoder.py:337, in JSONDecoder.decode(self, s, _w) File ~\anaconda3\envs\nsidc-tutorials\lib\json\decoder.py:355, in JSONDecoder.raw_decode(self, s, idx) JSONDecodeError: Expecting value: line 1 column 1 (char 0)** I would be very grateful if you could give me some help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello @allicyn1221 - could you please try upgrading to the most recent version of icepyx (v0.7.0; you can check which version you are running using |
Beta Was this translation helpful? Give feedback.
Hello @allicyn1221 - could you please try upgrading to the most recent version of icepyx (v0.7.0; you can check which version you are running using
ipx.__version__
). There was a change on the NSIDC side regarding authentication (token types) that is handled in the latest release. I'm going to close this issue, but please feel free to reopen it if updating versions does not address your problem.