-
-
Notifications
You must be signed in to change notification settings - Fork 530
Closed
Labels
Description
Describe the bug
Description
When a rocket motor is not powerful enough to keep the model in the air until recovery deployment, deployment happens after ground-hit, which creates two post-ground-hit warnings. Saving this file with all simulation data creates an otherwise-valid .ork which cannot be opened due to the presence of two warnings in the file that are missing something. The bug warning that appears does not present a GUID for the problematic warnings in the file.
Editing the underlying rocket.ork and removing the block and the sections makes the file loadable again.
Expectation:
No matter the content, the saved file should be able to be opened.
To Reproduce
- Open OpenRocket 24.12 RC.01
- File>Open example>A simple model rocket.
- OK "Rocket configuration" dialog.
- Click "Motors & Configuration" tab.
- [New Configuration].
- Add an Estes 1/4A3 motor (guaranteed to be too small for a successful flight).
- OK the Motor selection dialog.
- Click "Flight simulations" tab.
- Select All.
- [Run simulations].
- Note that "Simulation 6" has 2 warnings.
- File>Save as...
- important Optionally fill, but definitely OK the "Save Design Info" dialog (to work around [Bug] TITLE CHANGE: Cancelling "Save design info" dialog during "Save as..." REVERTS MOST RECENT CHANGE to component/simulation #2680).
- In the "Save as OpenRocket ork file" dialog, ensure "All simulated data" is selected.
- Name the file and save it.
- If the "Save options" dialog appears, ensure that "All simulated data" is selected once more, and OK it.
- Quit OpenRocket
- Re-open OpenRocket and open the just-saved file, or double-click it to open OpenRocket.
- BUG file will not open with "BugException: BUG: Unknown error when opening file"
Screenshots / .ork file
OpenRocket version
24.12 RC01
What platform are you running on?
macOS