Open-MSS / MSS

A QT application, a OGC web map server, a collaboration server to plan atmospheric research flights.
https://open-mss.github.io
Apache License 2.0
62 stars 81 forks source link

Airspaces/Airports info downloaded from OpenAIP produces error when download size is 0KB. #1700

Closed rootxrishabh closed 1 year ago

rootxrishabh commented 1 year ago

This was observed in this PR, When we download the data of airports/airspaces in the MSUI, sometimes the file size that is downloaded is 0Kb, this only happens with the ".xml" files and not with the ".csv" files. Due to this airspaces can't be drawn and an error is thrown which states "ERROR: Tried to draw airspaces without asp files.".The function which draws the airspace is here.

Steps to reproduce -

1) open msui #python mslib/msui/msui.py

2) Open top view and select airports/airspaces from (select to open control) and Update and download both airports and airspaces.

221437815-cd963e68-8875-457b-9b86-7133d5a63489

3) Click on apply and check the CLI. The image is given below for reference when the error is produced.

image

mahimakaushik-oss commented 1 year ago

I am working on it

ReimarBauer commented 1 year ago

looks like this was fixed by https://github.com/Open-MSS/MSS/pull/1710

ReimarBauer commented 1 year ago

reopen when it happens again