Can't open scorelog file 'freeciv-score.log' for creation!

You can get help here if Freeciv doesn't start on your computer, or if you keep getting fatal errors while playing etc.
Post Reply
User avatar
Frostblade
Posts: 8
Joined: Thu Dec 04, 2025 1:17 pm

Can't open scorelog file 'freeciv-score.log' for creation!

Post by Frostblade »

I've enabled loging player stats in server options -> internal.

Since then I'm getting this error from the title in the client chat interface while playing.
I assume it has to be permission issue but not sure where this file attempts to be created to check permissions.

My OS is Debian, freeciv is 3.2.1 and client is Qt.
I've compiled and installed freeciv using custom backport method (pulled sources from unstable Debian branch "forky").

How to resolve this?

And btw. is there score graph at the end of game which utilizes these scores? because if there isn't then I'll just disable the option.
I don't think I'll be using raw data to render it myself.
cazfi
Elite
Posts: 3424
Joined: Tue Jan 29, 2013 6:54 pm

Re: Can't open scorelog file 'freeciv-score.log' for creation!

Post by cazfi »

Frostblade wrote: Sat Dec 06, 2025 12:17 pmAnd btw. is there score graph at the end of game which utilizes these scores? because if there isn't then I'll just disable the option.
I don't think I'll be using raw data to render it myself.
There currently isn't. There used to be tools to use the scorelog output, but they've been unmaintained for a long time, so whole scorelog concept has not been well maintained.

I think the scorelog is written to the current working directory.
User avatar
Frostblade
Posts: 8
Joined: Thu Dec 04, 2025 1:17 pm

Re: Can't open scorelog file 'freeciv-score.log' for creation!

Post by Frostblade »

Yes it is working directory, I just tested and by default it's set to /usr/games/ where game's executable is.

But since I'm using Lutris to launch freeciv changing working dir was easy and this worked, thanks!
Post Reply