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

sattelite prediction without filename crashes #1706

Closed
ReimarBauer opened this issue Mar 20, 2023 · 1 comment · Fixed by #1707
Closed

sattelite prediction without filename crashes #1706

ReimarBauer opened this issue Mar 20, 2023 · 1 comment · Fixed by #1707
Labels
bug Something isn't working
Milestone

Comments

@ReimarBauer
Copy link
Member

ReimarBauer commented Mar 20, 2023

sattelite_prediction_without_file

CRITICAL: Fatal error: Traceback (most recent call last):
  File "/home/reimar/PycharmProjects/MSS/mslib/msui/satellite_dockwidget.py", line 155, in load_file
    overpass_segments = read_nasa_satellite_prediction(filename)
  File "/home/reimar/PycharmProjects/MSS/mslib/msui/satellite_dockwidget.py", line 64, in read_nasa_satellite_prediction
    satfile = _fs.open(_name, 'r')
  File "/home/reimar/miniconda3/envs/mssdev/lib/python3.9/site-packages/fs/osfs.py", line 642, in open
    raise FileExpected(path)
fs.errors.FileExpected: path '' should be a file
@ReimarBauer ReimarBauer added this to the 8.0.0 milestone Mar 20, 2023
@ReimarBauer
Copy link
Member Author

ReimarBauer commented Mar 20, 2023

"load" button may be only active when a file was selected

and also a failure message could be shown as popup on the exception

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant