Skip to content
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

unavailable airspace data crashes the docking widget #1597

Closed
ReimarBauer opened this issue Nov 15, 2022 · 0 comments · Fixed by #1609
Closed

unavailable airspace data crashes the docking widget #1597

ReimarBauer opened this issue Nov 15, 2022 · 0 comments · Fixed by #1609
Assignees
Labels
bug Something isn't working msui
Milestone

Comments

@ReimarBauer
Copy link
Member

belgium

Fatal error in MSS 7.0.6. on Linux-5.4.0-131-generic-x86_64-with-glibc2.27
Python 3.10.4 | packaged by conda-forge | (main, Mar 24 2022, 17:38:57) [GCC 10.3.0]

Please report bugs in MSS to https://github.com/Open-MSS/MSS

Information about the fatal error:

Traceback (most recent call last):
  File "/home/reimar/miniconda3/envs/mssenv/lib/python3.10/site-packages/mslib/msui/airdata_dockwidget.py", line 101, in redraw_map
    self.view.map.set_draw_airspaces(self.cbDrawAirspaces.isChecked(), self.cbAirspaces.currentData(),
  File "/home/reimar/miniconda3/envs/mssenv/lib/python3.10/site-packages/mslib/msui/mpl_map.py", line 377, in set_draw_airspaces
    self.draw_airspaces(country_codes, range_km)
  File "/home/reimar/miniconda3/envs/mssenv/lib/python3.10/site-packages/mslib/msui/mpl_map.py", line 384, in draw_airspaces
    airspaces = copy.deepcopy(get_airspaces(countries))
  File "/home/reimar/miniconda3/envs/mssenv/lib/python3.10/site-packages/mslib/utils/airdata.py", line 179, in get_airspaces
    for elem in airspace:
TypeError: 'NoneType' object is not iterable

@ReimarBauer ReimarBauer added the bug Something isn't working label Nov 15, 2022
@ReimarBauer ReimarBauer added this to the 7.0.7 milestone Nov 15, 2022
@ReimarBauer ReimarBauer self-assigned this Nov 15, 2022
@ReimarBauer ReimarBauer linked a pull request Nov 23, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working msui
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant