gpredict
gpredict copied to clipboard
Large number of satellites in database files cause program to freeze
This is quite the edge case, but I figured that I should report it. I would look into it myself, but I don't believe that I know enough C to be of use.
System Specifications
Windows 10 x64 GPredict 2.3.37
The issue
When running GPredict 2.3.37 on Windows, if the database of satellite TLE files is very large, trying to open configuration menu to add or remove satellites to the interface will cause the program to freeze for a significant period of time, eventually loading the configuration interface.
I suspect this is because the program is taking a long time to parse the entire list of satellites.
To Reproduce
- Add a very large number of satellites to gpredict (Try adding all of the TLEs from space-track.org as an [excessive] example)
- Open the menu to configure satellites displayed on the main interface
Potential solutions
Complex Solution
Re-Implement the mechanism for loading satellites to display in the configuration menu.
Simple Solution
Add a "Loading Satellites" progress bar to indicate progress, and prevent the operating system from thinking that the program is no longer responding. Similar to the symbol loading process in KiCAD
KiCAD Symbol Loader Image
Thanks for reporting this issue. I agree that we should improve this.