[Bug] Unable to save after starting 2nd game
Moderator: Oberlus
Forum rules
Always mention the exact version of FreeOrion you are testing.
When reporting an issue regarding the AI, if possible provide the relevant AI log file and a save game file that demonstrates the issue.
Always mention the exact version of FreeOrion you are testing.
When reporting an issue regarding the AI, if possible provide the relevant AI log file and a save game file that demonstrates the issue.
[Bug] Unable to save after starting 2nd game
I have a problem with saving games.
I played the latest build (FreeOrion v0.4.7+ [Build 2018-01-09.4b45d52]). After I resigned the first game (without closing the program) and started a new game, I found that the game could not be saved either manually or automatically. Therefore, I cannot provide any save game file or autosaves for you.
If you want to learn more about the problem, feel free to instruct me to get the information you want. Sorry, I am not an expert programmer, so I don't know about underlying issues about this problem.
Best,
Goddog
ps. I am playing a game about Egassem vs Monsters with no AI and native to put Egassem to the most difficult situation. If this problem was solved, I would consider writing a review of that game.
I played the latest build (FreeOrion v0.4.7+ [Build 2018-01-09.4b45d52]). After I resigned the first game (without closing the program) and started a new game, I found that the game could not be saved either manually or automatically. Therefore, I cannot provide any save game file or autosaves for you.
If you want to learn more about the problem, feel free to instruct me to get the information you want. Sorry, I am not an expert programmer, so I don't know about underlying issues about this problem.
Best,
Goddog
ps. I am playing a game about Egassem vs Monsters with no AI and native to put Egassem to the most difficult situation. If this problem was solved, I would consider writing a review of that game.
Re: [Bug] Unable to save after starting 2nd game
We need a bit more specifics to be able to help:
First, some information about your system would be appreciated: OS, hardware specs?
Also, can you be a bit more specific about the not being able to save thing? What exactly happens when you try to save a game? Do you get error messages, or does the game seem to save, but no savegame file gets created, or are you unable to load the savegames?
Does the issue also occur with earlier test builds? Which test build introduced the issue?
First, some information about your system would be appreciated: OS, hardware specs?
Also, can you be a bit more specific about the not being able to save thing? What exactly happens when you try to save a game? Do you get error messages, or does the game seem to save, but no savegame file gets created, or are you unable to load the savegames?
Does the issue also occur with earlier test builds? Which test build introduced the issue?
Re: [Bug] Unable to save after starting 2nd game
Here is more detail about OS, hardware, and the problem itself.
OS:
System: Windows 10 Home Single Language
Version: 1709
OS Build: 16299.192)
Hardware specification:
Model: Dell Vostro 5468
Processor: Intel(R) Core(TM) i5-7200U CPU @ 2.50Ghz 2.70GHz
RAM: 4.00 GB
System Type: 64-but operating system, x64-based processor
Disk Space: 918 GB (used 161 GB)
Game Test Build: 2018-01-09.4b45d52 (Windows version on sourceforge)
More problem detail:
First, I tried to save a game on turn 177. I named it "EvN2_Turn177_Test_Saving"
but nothing happened
Savegame file was not shown when I look at the savegame folder.
It was not shown in file explorer either. Note that I saved the game on Jan 13, 2018 at about 20:20:00 which was after the newest savegame shown in the folder.
Similarly, no autosave was created.
Here was autosave configuration.
Right now I am trying to reproduce this situation on this build as well as the earlier test build. I will update if I get more information.
Best,
Goddog
OS:
System: Windows 10 Home Single Language
Version: 1709
OS Build: 16299.192)
Hardware specification:
Model: Dell Vostro 5468
Processor: Intel(R) Core(TM) i5-7200U CPU @ 2.50Ghz 2.70GHz
RAM: 4.00 GB
System Type: 64-but operating system, x64-based processor
Disk Space: 918 GB (used 161 GB)
Game Test Build: 2018-01-09.4b45d52 (Windows version on sourceforge)
More problem detail:
First, I tried to save a game on turn 177. I named it "EvN2_Turn177_Test_Saving"
but nothing happened
Savegame file was not shown when I look at the savegame folder.
It was not shown in file explorer either. Note that I saved the game on Jan 13, 2018 at about 20:20:00 which was after the newest savegame shown in the folder.
Similarly, no autosave was created.
Here was autosave configuration.
Right now I am trying to reproduce this situation on this build as well as the earlier test build. I will update if I get more information.
Best,
Goddog
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13587
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: [Bug] Unable to save after starting 2nd game
In the folder that contains the save folder you showed screenshots of, there should be .log files. Please reproduce the issues, then immediately after failing to save, zip all those log files and post them in a reply.
-
- Programmer
- Posts: 389
- Joined: Sun Feb 14, 2016 12:08 am
Re: [Bug] Unable to save after starting 2nd game
So just had this issue or something similar. Seems HumanClientApp::m_game_saves_in_progress is preventing further saves from being attempted.
Still looking through it, but not sure where all it should be cleared/reset yet (or why I don't find any error/warnings for a previously failed save).
Still looking through it, but not sure where all it should be cleared/reset yet (or why I don't find any error/warnings for a previously failed save).
-
- Programmer
- Posts: 389
- Joined: Sun Feb 14, 2016 12:08 am
Re: [Bug] Unable to save after starting 2nd game
Finally found a semi-reliable way to reproduce (start game with 20+ AI, exit during save, cancel dialog).
Posted logs into #1944, accompanied with a potential fix.
Posted logs into #1944, accompanied with a potential fix.
-
- Juggernaut
- Posts: 854
- Joined: Wed Aug 26, 2015 6:15 pm
Re: [Bug] Unable to save after starting 2nd game
This sounds similar to what I was experiencing:
http://www.freeorion.org/forum/viewtopi ... 28&t=10828
I still have it happening, and I believe that the "second game" condition is usually what I see as well.
http://www.freeorion.org/forum/viewtopi ... 28&t=10828
I still have it happening, and I believe that the "second game" condition is usually what I see as well.
-
- Juggernaut
- Posts: 854
- Joined: Wed Aug 26, 2015 6:15 pm
Re: [Bug] Unable to save after starting 2nd game
In a game the other day, auto-save was working fine initially. Then at about 290 turns or so it stopped.
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13587
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: [Bug] Unable to save after starting 2nd game
Autosave specifically, or all saves? If the latter, switch to binary save files. Especially if that doesn't work, but probably in general if reporting an issue, post the .log files from immediately after having the problem. Also, be more specific than "it stopped [working]".defaultuser wrote:In a game the other day, auto-save was working fine initially. Then at about 290 turns or so it stopped.
-
- Juggernaut
- Posts: 854
- Joined: Wed Aug 26, 2015 6:15 pm
Re: [Bug] Unable to save after starting 2nd game
All saves. My current game is showing the same, the last auto-save was turn 281, I'm on 359. There's not really any further problem description. No error messages on the console, no save files. With this latest permutation, it's not easy to grab logs because unless I check every turn I won't know when it starts.
Most of the trouble-shooting, including binary save, was tried in the previous thread:
http://www.freeorion.org/forum/viewtopi ... 28&t=10828
Most of the trouble-shooting, including binary save, was tried in the previous thread:
http://www.freeorion.org/forum/viewtopi ... 28&t=10828