Skip to content
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

Add a way to resume started work #3

Open
kalon33 opened this issue Oct 8, 2015 · 0 comments
Open

Add a way to resume started work #3

kalon33 opened this issue Oct 8, 2015 · 0 comments

Comments

@kalon33
Copy link

kalon33 commented Oct 8, 2015

After a lot of requests to OSRM, we got this reply from the server:

Traceback (most recent call last):
File "bus_router.py", line 599, in
getDirections()
File "bus_router.py", line 263, in getDirections
osrmDirectionsCall(stop, origin, dest, osrmpoints, fname)
File "bus_router.py", line 302, in osrmDirectionsCall
data = json.load(response)
File "/usr/lib/python2.7/json/init.py", line 290, in load
**kw)
File "/usr/lib/python2.7/json/init.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

There should be a way to resume geojson fetching instead of retrying from scratch each time there is a problem to complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant