You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After several hours retrieving information from Zenodo, I got the following error:
doing recursive search [38/1907]
Traceback (most recent call last):
File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/sosen/sosen/__main__.py", line 142, in <module>
cli()
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 829, in _
_call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 782, in m
ain
rv = self.invoke(ctx)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1259, in
invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1066, in
invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 610, in i
nvoke
return callback(*args, **kwargs)
File "/sosen/sosen/__main__.py", line 66, in scrape
run_scrape(**kwargs)
File "/sosen/sosen/cli.py", line 46, in run_scrape
for dict_obj in data_and_urls:
File "/sosen/sosen/cli.py", line 41, in <genexpr>
data_and_urls = (get_zenodo_data(query) for query in queries)
File "/sosen/sosen/get_data.py", line 100, in get_zenodo_data
children_data = get_zenodo_data(f"conceptrecid:\"{conceptrecid}\"", recur
sive=False)
File "/sosen/sosen/get_data.py", line 55, in get_zenodo_data
'Accept': "application/vnd.zenodo.v1+json"
File "/sosen/sosen/get_data.py", line 11, in zenodo_get
data = response.json()
return callback(*args, **kwargs)
File "/sosen/sosen/__main__.py", line 66, in scrape
run_scrape(**kwargs)
File "/sosen/sosen/cli.py", line 46, in run_scrape
for dict_obj in data_and_urls:
File "/sosen/sosen/cli.py", line 41, in <genexpr>
data_and_urls = (get_zenodo_data(query) for query in queries)
File "/sosen/sosen/get_data.py", line 100, in get_zenodo_data
children_data = get_zenodo_data(f"conceptrecid:\"{conceptrecid}\"", recur
sive=False)
File "/sosen/sosen/get_data.py", line 55, in get_zenodo_data
'Accept': "application/vnd.zenodo.v1+json"
File "/sosen/sosen/get_data.py", line 11, in zenodo_get
data = response.json()
File "/usr/local/lib/python3.6/site-packages/requests/models.py", line 898,
in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/lib/python3.6/json/__init__.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.6/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)
After several hours retrieving information from Zenodo, I got the following error:
No new data were saved
Command run:
The text was updated successfully, but these errors were encountered: