Encountered an error while requesting oqt: 422 Client Error: Unprocessable Entity for url: https://oqt.ohsome.org/api/indicator 2022-03-24
I've encountered the following error while running the reproducible example using ./vectorisation_docker.sh repex
.
This is the content of the vectorization.log
file. -- Really nice logging, btw :)
2022-03-24 09:10:34,665
INFO: Starting logger with debug level. Will apply custom log level after CLI parsing is finished.
at vectorisation.py vectorise_cli:69
2022-03-24 09:10:34,737
DEBUG: Starting new HTTPS connection (1): api.ohsome.org:443
at connectionpool.py _new_conn:1001
2022-03-24 09:10:34,927
DEBUG: https://api.ohsome.org:443 "GET /v1//metadata HTTP/1.1" 200 None
at connectionpool.py _make_request:456
2022-03-24 09:10:34,949
INFO: Starting DB Setup
at db_setup.py db_setup:26
2022-03-24 09:10:35,016
WARNING: Could not find tags-table, will upload the default one.
at db_setup.py tags_upload:181
2022-03-24 09:10:35,063
INFO: Parsing Area of Interest
at db_setup.py parse_aoi:60
2022-03-24 09:10:35,302
INFO: DB Setup is Complete!
at db_setup.py db_setup:48
2022-03-24 09:10:40,438
INFO: Will upload 1 elements to postgres now!
at data_extraction.py __request_n_upload:155
2022-03-24 09:10:40,549
INFO: Extraction of surrounding OSM data.
at surrounding_extraction.py surrounding_extraction:13
2022-03-24 09:10:44,279
INFO: Will upload 2 elements to postgres now!
at data_extraction.py __request_n_upload:155
2022-03-24 09:10:44,305
INFO: Update surrounding_ref_table. This may take some time due to geographical intersection!
at surrounding_extraction.py surrounding_extraction:45
2022-03-24 09:10:44,545
INFO: request contributions
at preprocessing.py get_contribs:29
2022-03-24 09:10:45,638
INFO: extract user id
at preprocessing.py __set_changeset_uid:98
2022-03-24 09:10:45,658
INFO: Calculating Feature Space
at fs_calculation.py fs_calculation:30
2022-03-24 09:10:45,661
INFO: Calculate element based indicators
at calc_element.py calc_element:32
2022-03-24 09:10:46,609
INFO: calculate surrounding based indicators
at calc_surrounding.py calc_surrounding:25
2022-03-24 09:10:49,541
INFO: count elements in surrounding
at calc_surrounding.py count_surrounding:56
2022-03-24 09:10:53,192
INFO: Requesting OQT layer saturation. This is complex, resource and time consuming.
at calc_validator_issues.py calc_saturation:333
2022-03-24 09:10:55,017
ERROR: Encountered an error while requesting oqt
at calc_validator_issues.py calc_saturation:363
Traceback (most recent call last):
File "/oev/oev/src/osm_element_vectorisation/fs_calculation/surrounding/calc_validator_issues.py", line 356, in calc_saturation
response.raise_for_status()
File "/home/oev/.cache/pypoetry/virtualenvs/osm-element-vectorisation-S7_AxX7I-py3.8/lib/python3.8/site-packages/requests/models.py", line 960, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 422 Client Error: Unprocessable Entity for url: https://oqt.ohsome.org/api/indicator
2022-03-24 09:10:55,088
ERROR: Encountered an error while requesting oqt
at calc_validator_issues.py calc_saturation:363
Traceback (most recent call last):
File "/oev/oev/src/osm_element_vectorisation/fs_calculation/surrounding/calc_validator_issues.py", line 356, in calc_saturation
response.raise_for_status()
File "/home/oev/.cache/pypoetry/virtualenvs/osm-element-vectorisation-S7_AxX7I-py3.8/lib/python3.8/site-packages/requests/models.py", line 960, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 422 Client Error: Unprocessable Entity for url: https://oqt.ohsome.org/api/indicator
2022-03-24 09:11:01,853
INFO: Querying Notes
at calc_surrounding.py calc_notes:229
2022-03-24 09:11:01,887
INFO: Calculate user based metrics
at calc_user.py calc_user:21
2022-03-24 09:11:01,889
INFO: calculating experience, this may take several hours...
at calc_user.py calc_experience:42
2022-03-24 09:11:01,907
INFO: calculating localness
at calc_user.py calc_localness:86
2022-03-24 09:11:01,964
WARNING: Computing diversity of users. This takes more than 30min on a small computing cluster and will take nearly the same no matter the input (~O(1) time complexity)
at calc_user.py calc_diversity:129
2022-03-24 09:11:15,603
INFO: calculating object edit changeset specific parameters
at calc_element.py calc_cs:111