Release [Explorer's Application] Captain's Log

Genar-Hofoen,

I've been using this program for a little while, and just started getting the double entry error that would crash the program. Uninstalled, reinstalled the newest version (beta 7), started Captain's Log, got the double entry error message again, and the program crashed and won't start again. I'll try uninstalling and reinstalling when I get home tonight, but is there anything else I need to look at?

Read this post : https://forums.frontier.co.uk/showthread.php?t=155545&p=2476646&viewfull=1#post2476646

Rgds.
 
Original Post : I'll try and write a routine which detects duplicate entries and either ignores them or cleanses them from the database - so consider Beta 8 as a bug fix release rather than a feature release...

Regards

Actually, scrap that, I just had a look at the duplicate entries in the earlier post screenshots. I can't see a decent way of removing the duplicate entries, and at the moment I don't have the time to allocate to do it. You'll either have to manually remove them, or put it down to the perils of running Beta software I'm afraid. Beta 7 now has a safeguard to prevent running more than one instance of CL, which I think was the cause of the duplicate entries, and so far only seems to have affected 2 or 3 of you.

Duplicate entries should no longer occur, so if you can't manually remove the duplicate entries, to get CL back up and running, move the database files with the duplicate entries out of the CL Database Directory, then start CL.

The file(s) to move will be <name of database with duplicate entry>.db, then either create a new db and switch to that, or if it was default.db, a new default will be created and you can either use that or as above, create a new DB.

Regards
 
Last edited:
Just an idea... but would the simplest thing be to

1) Export the jumps table into excel.
2) In excel sort the table by system id, jumptime and jump date.
3) Add a check column to see if the preceding row is the same system id on the same jumptime and jumpdate.
4) Filter the list to only show those that match.
5) set the ID from all the matched records.
6) then run delete from jumps where id in (<add comma separated list of IDs from step 5)
 
Genar-Hofoen, once again, thank you for your efforts, really appreciate your taking the trouble to explain how to remove the duplicate entries. Unfortunately I've encountered a new problem - it's actually mentioned in Navynuke99's post below. I had previously uninstalled beta 7. Last night I tried to clean up the database per your guidance, then reinstalled beta 7... and now the program itself won't start. Basically clicking on the program results in nothing happening. There is no process to be found in the task manager also.

BTW, totally understand it's a beta so such problems are to be expected. I'm not concerned about my db as I actually also keep hand-written notes (it's part of the experience of the journey for me). Thanks again for your work!


Genar-Hofoen,

I've been using this program for a little while, and just started getting the double entry error that would crash the program. Uninstalled, reinstalled the newest version (beta 7), started Captain's Log, got the double entry error message again, and the program crashed and won't start again. I'll try uninstalling and reinstalling when I get home tonight, but is there anything else I need to look at?
 
Genar-Hofoen, once again, thank you for your efforts, really appreciate your taking the trouble to explain how to remove the duplicate entries. Unfortunately I've encountered a new problem - it's actually mentioned in Navynuke99's post below. I had previously uninstalled beta 7. Last night I tried to clean up the database per your guidance, then reinstalled beta 7... and now the program itself won't start. Basically clicking on the program results in nothing happening. There is no process to be found in the task manager also.

BTW, totally understand it's a beta so such problems are to be expected. I'm not concerned about my db as I actually also keep hand-written notes (it's part of the experience of the journey for me). Thanks again for your work!

There will be a lock file (to prevent more than one instance of CL running) in the Captain's Log appdata directory. To access this dir, open up windows file explorer, type %localappdata% into the address bar, double-click the CaptainsLog folder, remove the file called CL_lockfile , and CL should start again.


Regards.
 
Beta 8 will include a change to the check to see if Captain's Log is already running.

I foolishly did this in Beta 7 by creating a lock file - this means that if CL isn't cleanly stopped (e.g. PC crash/reset whilst CL is running), then this lock file won't be removed, and CL will assume that another instance of CL is already running. Derp. I should've listened to CMDR Psieonic a couple of days ago ;)

I have now removed that for the upcoming Beta 8, and CL now checks whether there is a CL process already running, and if that process has the same process ID. This gets rid of the need for a lock file and will prevent the condition mentioned above.

Beta 8 will probably be a simple bugfix release instead of a feature release, then I'll continue work on improving the interface for adding planets etc.

In the meantime, if you have problems starting CL, and know for a fact that CL isn't already running, remove the lock file by following the post I made above this one.

Regards
 
There will be a lock file (to prevent more than one instance of CL running) in the Captain's Log appdata directory. To access this dir, open up windows file explorer, type %localappdata% into the address bar, double-click the CaptainsLog folder, remove the file called CL_lockfile , and CL should start again.


Regards.

Hi Genar-Hofoen - this worked! Your app is working on my ship again. Thank you so much!! Good luck with its development!
 
Last night while playing, for whatever reason, my comp locked up.
After a hard reboot, I find CL (beta 7) will not start up anymore. I've uninstalled, reinstalled, but no go. Windows wheel spin for 1 sec, but nothing. No entries in task manager either.
The silver lining is my exploration speed has increased dramatically, as I didn't spend time logging anything......
Any suggestions?
 
Try this?

There will be a lock file (to prevent more than one instance of CL running) in the Captain's Log appdata directory. To access this dir, open up windows file explorer, type %localappdata% into the address bar, double-click the CaptainsLog folder, remove the file called CL_lockfile , and CL should start again.


Regards.
 
I would love to have a statistics window for the program where I can enter start date and end date. Then you would get a statistics information of all the data between those dates. You can break down the number of different stars you have visited, number of different planets etc. Maybe also get a break down of which star each planet type has (for example G-type stars got 7 Earth like worlds during this trip, F-type stars got 3 ELW etc). Maybe it can start being a simple window with only a breakdown of stars and then add more functionality over time.

Not critical feature of course but I think it would be a nice addition to the software.
 
I would love to have a statistics window for the program where I can enter start date and end date. Then you would get a statistics information of all the data between those dates. You can break down the number of different stars you have visited, number of different planets etc. Maybe also get a break down of which star each planet type has (for example G-type stars got 7 Earth like worlds during this trip, F-type stars got 3 ELW etc). Maybe it can start being a simple window with only a breakdown of stars and then add more functionality over time.

Not critical feature of course but I think it would be a nice addition to the software.

Data mining like that is already on the List . In fact I've recently been doing a little bit of UI juggling to prepare for such niceties. The UI juggling is also to prepare for me getting my act together to program an awesome method for inputting star and planet types.

This next release will take a wee bit longer than the initial 3 weeks it took to get from having nothing, to the current version, as I need to Become One with some new Programming Knowledge in order to achieve the vision I have for this inputting method ;)

Regards
 
I just installed this and it keeps telling me that the location is incorrect for the Log location. I tried both the %localappdata% location and the Steam Log location. What am I doing wrong? I am running Win7 64bit system.
 
I just installed this and it keeps telling me that the location is incorrect for the Log location. I tried both the %localappdata% location and the Steam Log location. What am I doing wrong? I am running Win7 64bit system.

You haven't told me whether you're running the Steam version or the FDEV version.

Also, the location might be different if you ran the FDEV version installer as Administrator, see this post : https://forums.frontier.co.uk/showthread.php?t=155545&p=2467846&viewfull=1#post2467846
 
Last edited:
Back
Top Bottom