whosonfirst / whosonfirst-www-spelunker

A simple Flask-based spelunker for poking around Who's On First data
BSD 3-Clause "New" or "Revised" License
7 stars 9 forks source link

Error messages when downloading descendant bundles #125

Open stepps00 opened 7 years ago

stepps00 commented 7 years ago

When trying to download county descendants of the country Bhutan, the following error occurs:

Error: something went wrong, but I don’t know what.

screen shot 2017-08-25 at 1 51 14 pm

If I click "Cancel download," then "Resume download," the download resumes as expected. However, once the download is complete, I then see this error:

The number of items in your bundle (0) does not match the expected 205.

screen shot 2017-08-25 at 1 55 48 pm

The bundle does appears to contain all expected records.

I've tried this with Afghanistan county records, too, and the same error messages appears. There does not seem to be a pattern that causes this error, but it does appear around the 15%-20% mark of the download.

Edit: I'm using Chrome, Version 60.0.3112.101

stepps00 commented 7 years ago

This error also occurred when I downloaded a bundle of county records in Japan. The debug log errors were:

2017-08-31T22:14:26.244Z error 
failed to parse https://whosonfirst.mapzen.com/data/890/522/887/890522887.geojson, because SyntaxError: Unexpected end of JSON input

and

2017-08-31T22:19:02.106Z error
failed to parse https://whosonfirst.mapzen.com/data/890/524/847/890524847.geojson, because SyntaxError: Unexpected end of JSON input
stepps00 commented 6 years ago

This issue is appearing again when downloading bundles of Russia descendants:

screen shot 2017-10-20 at 2 26 38 pm
dphiffer commented 6 years ago

I'd be curious to know what the response text is from the Network tab of the dev console.

stepps00 commented 6 years ago
- Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- leaflet.js:53 [Violation] 'setTimeout' handler took 81ms