Closed glukasiknuro closed 3 years ago
Hi @glukasiknuro there was some issue with database file hosting. I am actively developing a new version of it including latest 2020 cencus data and finance statistics, hope I can release the new one in one month.
Just for reference, this comment contains database that can be used instead in case of issues: https://github.com/MacHu-GWU/uszipcode-project/issues/40#issuecomment-688323810
@MacHu-GWU could you also change code in https://github.com/MacHu-GWU/uszipcode-project/blob/53f37b9a6fd363c78ff16bab43738f87dff248ea/uszipcode/db.py#L68 so that an error is reported if returned status code is not 200 ?
@glukasiknuro fixed in 0.2.6
Describe the bug
https://datahub.io/machu-gwu/uszipcode-0.2.0-simple_db/r/simple_db.sqlite returns:
Error 502 Ray ID: 625b403e4b5ded73 • 2021-02-22 19:53:02 UTC Bad gateway
Also, library returns cryptic error in such case. Looks like it downloads sqlite file (which contains HTML error), but does not notice this was an error.
To Reproduce
See above.
Expected behavior
Screenshots