gameboy Posted March 4, 2012 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 Link to comment Share on other sites More sharing options...
historic_bruno Posted March 4, 2012 Share Posted March 4, 2012 That changes requires a rebuild (or you can use the autobuild). Link to comment Share on other sites More sharing options...
gameboy Posted March 8, 2012 Author Share Posted March 8, 2012 But the error persists, you can test it, thank you! :banger: Link to comment Share on other sites More sharing options...
quantumstate Posted March 8, 2012 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? Link to comment Share on other sites More sharing options...
gameboy Posted March 9, 2012 Author Share Posted March 9, 2012 ok, My operating system is: win7 32bit.I tested version of the game: the ALPHA VIII (svn-11285) Link to comment Share on other sites More sharing options...
historic_bruno Posted March 9, 2012 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) Link to comment Share on other sites More sharing options...
gameboy Posted March 10, 2012 Author 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 Link to comment Share on other sites More sharing options...
quantumstate Posted March 12, 2012 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? Link to comment Share on other sites More sharing options...
gameboy Posted March 13, 2012 Author Share Posted March 13, 2012 yes,Checked out from SVN. I am using the autobuild. thank you! Link to comment Share on other sites More sharing options...
gudo Posted March 13, 2012 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 Link to comment Share on other sites More sharing options...
gameboy Posted March 13, 2012 Author Share Posted March 13, 2012 This issue is resolved, thank you! Link to comment Share on other sites More sharing options...
historic_bruno Posted March 13, 2012 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 Link to comment Share on other sites More sharing options...
gudo Posted March 13, 2012 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. Link to comment Share on other sites More sharing options...
historic_bruno Posted March 14, 2012 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). Link to comment Share on other sites More sharing options...
gudo Posted March 14, 2012 Share Posted March 14, 2012 Nice! Everything looks fixed to me. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now