gameboy Posted March 4, 2012 Report Share Posted March 4, 2012 (edited) Press the Delete button:Delete the old archive, an error occurs: :angry: <p class="error">ERROR: JavaScript error: gui/savedgames/load.js line 72TypeError: Engine.DeleteSavedGame is not a function reallyDeleteGame("quicksave-0029")@gui/savedgames/load.js:72 ()@gui/savedgames/load.js:66 ([object Object])@Some XML file:55</p><p class="error">ERROR: JavaScript error: gui/savedgames/load.js line 72TypeError: Engine.DeleteSavedGame is not a function reallyDeleteGame("quicksave-0028")@gui/savedgames/load.js:72 ()@gui/savedgames/load.js:66 Edited March 4, 2012 by gameboy Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted March 4, 2012 Report Share Posted March 4, 2012 That changes requires a rebuild (or you can use the autobuild). Quote Link to comment Share on other sites More sharing options...
gameboy Posted March 8, 2012 Author Report Share Posted March 8, 2012 But the error persists, you can test it, thank you! :banger: Quote Link to comment Share on other sites More sharing options...
quantumstate Posted March 8, 2012 Report Share Posted March 8, 2012 But the error persists, you can test it, thank you! :banger: I can't reproduce the error. I just successfully deleted several old saved games. Can you give more details about which version of the game and OS you are using? Also is the error message exactly the same as before? Quote Link to comment Share on other sites More sharing options...
gameboy Posted March 9, 2012 Author Report Share Posted March 9, 2012 ok, My operating system is: win7 32bit.I tested version of the game: the ALPHA VIII (svn-11285) Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted March 9, 2012 Report Share Posted March 9, 2012 That image is too low quality to see the error. Can you paste the error from the log? (interestinglog.html) Quote Link to comment Share on other sites More sharing options...
gameboy Posted March 10, 2012 Author Report Share Posted March 10, 2012 0 A.D. Main log (warnings and errors only)ERROR: JavaScript error: gui/savedgames/load.js line 72 TypeError: Engine.DeleteSavedGame is not a function reallyDeleteGame("quicksave-0039")@gui/savedgames/load.js:72 ()@gui/savedgames/load.js:66 ([object Object])@Some XML file:55ERROR: JavaScript error: gui/savedgames/load.js line 72 TypeError: Engine.DeleteSavedGame is not a function reallyDeleteGame("quicksave-0040")@gui/savedgames/load.js:72 ()@gui/savedgames/load.js:66 ([object Object])@Some XML file:55 Quote Link to comment Share on other sites More sharing options...
quantumstate Posted March 12, 2012 Report Share Posted March 12, 2012 This is a strange error. Is the svn checkout completing correctly? Also are you compiling yourself or using the autobuild? Quote Link to comment Share on other sites More sharing options...
gameboy Posted March 13, 2012 Author Report Share Posted March 13, 2012 yes,Checked out from SVN. I am using the autobuild. thank you! Quote Link to comment Share on other sites More sharing options...
gudo Posted March 13, 2012 Report Share Posted March 13, 2012 (edited) Hmmmm... I've attempted to duplicate this bug, and while I couldn't get it to work as advertised, I did discover a few new ones.1)Save several games, quit to menu, open the Load Game menu2)In your file manager (as in, NOT in game) locate the save files.3)Delete said saves using your file manager.4)In game, attempt to delete the any saved game OTHER THAN the first one on the listGame should crash to desktop with the following error. When I attempted to delete the first game on the list, it mearly warned that the file could not be read, and refreshed the list of saved games.Function call failed: return value was -1 (Function failed (no details available))Location: SavedGame.cpp:152 (SavedGames::Load)Call stack:(error while dumping stack: No stack frames found)errno = 2 (No such file or directory)OS error = 2 (The system cannot find the file specified.)It also happened (produced the same error too) when you do the above steps, but instead of deleting an already deleted game, you try and load it up. I used to most recent SVN autobuild. Win 7, on the off chance that makes a difference. Edited March 13, 2012 by gudo Quote Link to comment Share on other sites More sharing options...
gameboy Posted March 13, 2012 Author Report Share Posted March 13, 2012 This issue is resolved, thank you! Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted March 13, 2012 Report Share Posted March 13, 2012 1)Save several games, quit to menu, open the Load Game menu2)In your file manager (as in, NOT in game) locate the save files.3)Delete said saves using your file manager.4)In game, attempt to delete the any saved game OTHER THAN the first one on the listFound this error, it will be fixed soon (it's a different error than the one below)Game should crash to desktop with the following error. When I attempted to delete the first game on the list, it mearly warned that the file could not be read, and refreshed the list of saved games.Function call failed: return value was -1 (Function failed (no details available))Location: SavedGame.cpp:152 (SavedGames::Load)Call stack:(error while dumping stack: No stack frames found)errno = 2 (No such file or directory)OS error = 2 (The system cannot find the file specified.)It also happened (produced the same error too) when you do the above steps, but instead of deleting an already deleted game, you try and load it up. This one's a bit more troubling, but I'll see if I can fix it Quote Link to comment Share on other sites More sharing options...
gudo Posted March 13, 2012 Report Share Posted March 13, 2012 One of us is a bit confused 1-4 is the steps to replicate the bug, the following paragraph is what happened. Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted March 14, 2012 Report Share Posted March 14, 2012 Thanks for reporting the errors with steps to reproduce, very helpful Those crashes should be fixed in r11332 (or wait for an autobuild). Quote Link to comment Share on other sites More sharing options...
gudo Posted March 14, 2012 Report Share Posted March 14, 2012 Nice! Everything looks fixed to me. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.