-
Notifications
You must be signed in to change notification settings - Fork 7
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
bc2pg fails accessing bc-environmental-monitoring-locations due to UnboundLocalError #146
Comments
I expect this error is due to requests timing out. Testing now and the service is very sluggish and I get the same error. #143 notes how error messages need to be more informative when requests time out. |
I'm not sure what is going on, requests for other layers with >100k records currently work fine. But this one (only ~40k records) is very slow, and consistently times out / returns a 502 error on the second request.
|
Downloading manually as gpkg via the download service is near instant, all 41452 records returned, all are points.
|
same result with curl:
|
Sorting by Because there is no interface to determine primary key, bcdata makes some guesses and will default to This works: I'd recommend taking a look at the schema before trying downloads: There will generally (but definitely not always) be a unique key noted. When using |
Thank you that worked excellently. I appreciate the quick response! |
When running the following command:
bcdata bc2pg bc-environmental-monitoring-locations
using--db_url
,--schema
,--table
options the following error is returned:this issue is encountered on version 0.8.1.post1:
The text was updated successfully, but these errors were encountered: