sanhozay / PilotLog

Flight logging for Flightgear flight simulator
GNU General Public License v3.0
1 stars 0 forks source link

Where can we find version 1.2.0? #9

Closed thijsvdc closed 3 years ago

thijsvdc commented 3 years ago

Hi,

In issue #8, I can see that this would have been fixed in v1.2.0. However, this version does not seem to be available for download?

Thanks, Thijs

sanhozay commented 3 years ago

Sorry, I didn't realise anyone was using it!

I never made a 1.2 release. The version I am using is the develop branch and it is so different from master that I should make it a 2.0.0 release. It has map based tracking, an altitude chart, aircraft and airport summaries. I'll try and do that over the next couple of days.

sanhozay commented 3 years ago

Give 2.0.0 a try ...

https://github.com/sanhozay/PilotLog/releases/tag/2.0.0

thijsvdc commented 3 years ago

Tbh, I'm not using it yet :)

I was actually looking at SimToolkitPro, but this does not support FGFS. When looking for alternatives, I stumbled upon your github page. It looks very interesting, so I would really like to try it out! The new features you mention in 2.0.0 makes it even a better alternative for SimToolkitPro.

2.0.0 needs Java 14, which does not seem to be available anymore? I tried using Java15, but this throws a lot of errors. No idea if this is related to the Java version mismatch.

sanhozay commented 3 years ago

I've just said it requires Java 14 because that's what I have and that's what I test it on. I'll try upgrading to Java 15.

sanhozay commented 3 years ago

It compiles and runs fine on Java 15 (openjdk). Could you direct your error messages into a file and attach?

thijsvdc commented 3 years ago

Here you go:

# java -version
openjdk version "15.0.2" 2021-01-19
OpenJDK Runtime Environment (build 15.0.2+7-Debian-1)
OpenJDK 64-Bit Server VM (build 15.0.2+7-Debian-1, mixed mode, sharing)

./PilotLog-2.0.0.jar > pilotlog.txt

pilotlog.txt

sanhozay commented 3 years ago

That's a corrupt H2 database, possibly because you have a 1.1.0 version hanging around and the database schema is different in 2.0.0 to store the tracklog. Try moving the ~/.h2 directory out of the way so that it creates a new database file and logs.

thijsvdc commented 3 years ago

Indeed. After reading some more, and searching for the errors, I supposed it was indeed a database issue. I did remove .h2, and now it starts just fine. Thanks a lot!