Skip to content

Autoplot show message when not used correctly#2557

Closed
ReimarBauer wants to merge 2 commits intoGSOC2024-rebased-autoplotfrom
autoplot-show_message_when_not_used_correctly
Closed

Autoplot show message when not used correctly#2557
ReimarBauer wants to merge 2 commits intoGSOC2024-rebased-autoplotfrom
autoplot-show_message_when_not_used_correctly

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