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
currently, if source data is not available, siri requester daemon exits with exception and the pod enters a restart loop until it gives up
need to have better handling of this, so it retries until we get a response
Traceback (most recent call last):
File "/usr/local/bin/open-bus-siri-requester", line 33, in <module>
sys.exit(load_entry_point('open-bus-siri-requester', 'console_scripts', 'open-bus-siri-requester')())
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/srv/open_bus_siri_requester/cli.py", line 56, in daemon_start
daemon.start()
File "/srv/open_bus_siri_requester/daemon.py", line 46, in start
run_single_iteration(now, last_cleanup_datetime)
File "/srv/open_bus_siri_requester/daemon.py", line 19, in run_single_iteration
snapshot_id = store_callback(requester_callback(), now, upload=True)
File "/srv/open_bus_siri_requester/requester.py", line 45, in request
return requests.get(
File "/usr/local/lib/python3.8/site-packages/requests/models.py", line 900, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/lib/python3.8/json/__init__.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The text was updated successfully, but these errors were encountered:
currently, if source data is not available, siri requester daemon exits with exception and the pod enters a restart loop until it gives up
need to have better handling of this, so it retries until we get a response
The text was updated successfully, but these errors were encountered: