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

Autoplot show message when not used correctly #2557

Conversation

ReimarBauer
Copy link
Member

Purpose of PR?:

Avoid a crash when a mssautoplot.json file is loaded before the corresponding operations or fligt tracks are added to MSUI.

You can try this on a fresh start of msui, loading topview, autoplot, selecting mssautoplot.json, clicking on an entry.

The data in the tree widget gets now reduced to those matching in the interface. The crash of requesting WMS data before get_capabilties is catched too. In a future vesion it should be possible to call get_capabilties on loading the mssautoplot.json.

@ReimarBauer ReimarBauer requested a review from swsrkty October 8, 2024 10:54
@ReimarBauer ReimarBauer marked this pull request as draft October 11, 2024 11:06
@ReimarBauer ReimarBauer marked this pull request as ready for review October 11, 2024 11:07
@ReimarBauer ReimarBauer marked this pull request as draft October 11, 2024 11:18
@ReimarBauer
Copy link
Member Author

ReimarBauer commented Oct 11, 2024

Some of the other changes changed the behaviour, it did not crash

@ReimarBauer
Copy link
Member Author

I assume thats the better solution
#2561

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant