Open Jashaszun opened 11 months ago
Ok, apparently the issue running OpenRocket-15.03.jar
was due to running it from the VSCode terminal: https://stackoverflow.com/questions/75921414/java-symbol-lookup-error-snap-core20-current-lib-x86-64-linux-gnu-libpthread
Running it from the regular terminal is successful. I opened simple.ork
, updated the 0th simulation's ejection charge time from 3s to 5s, saved it as modified-15.03.ork
, and ran my script on that file, and it works.
So it does look like it's something about the file format that OpenRocket's updated between v15.03 and v23.09.
I'm trying to run a very basic test of
orhelper
by stripping downsimple_plot.py
and playing around withsimple.ork
by modifying it and saving tomodified.ork
.My environment is Ubuntu 22.04.3 LTS, Python 3.10, OpenJDK1.8 (
openjdk-8-jre
) withsimple.ork
,modified.ork
, andOpenRocket-15.03.jar
in the same directory as this script (orhelper-test.py
):It runs fine with
simple.ork
, but if I make a copy ofsimple.ork
by simply opening OpenRocket, openingsimple.ork
, Saving Asmodified.ork
(with all simulated data), and usingmodified.ork
in my script, I get aMotorIgnitionException
fromorh.run_simulation(sim)
:This is with OpenRocket v23.09 used to re-save
simple.ork
. I tried to use the v15.03 jar to see if that would resolve this issue, but OpenJDK1.8 doesn't seem to support that:Is this a known issue with saved
ork
files from more recent versions of OpenRocket? Or is there something I need to set in my OpenRocket preferences?