hotosm / galaxy-api

Backend to fetch data from Underpass
https://galaxy-api.hotosm.org/latest/redoc
GNU Affero General Public License v3.0
14 stars 5 forks source link

ProgrammingError: can't execute an empty query #313

Open sentry-io[bot] opened 2 years ago

sentry-io[bot] commented 2 years ago

Sentry Issue: GALAXY-API-1M

ProgrammingError: can't execute an empty query
(30 additional frame(s) were not displayed)
...
  File "concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "API/raw_data.py", line 226, in get_current_data
    dump_temp_file, geom_area , root_dir_file=RawData(params).extract_current_data(exportname)
  File "/app/./src/galaxy/app.py", line 1054, in extract_current_data
    raise ex
  File "/app/./src/galaxy/app.py", line 1038, in extract_current_data
    RawData.query2geojson(self.con, raw_currentdata_extraction_query(
  File "/app/./src/galaxy/app.py", line 896, in query2geojson
    cursor.execute(extraction_query)

Exception in ASGI application