Closed titiger closed 8 years ago
Trying to save changed keyboard settings in the options results in crash
Error saved to logfile [/home/tscharn/.megaglest/error.log] *ERROR* [2015-12-02 01:00:26] In [/home/tscharn/gitglest/source/glest_game/main/main.cpp::handleRuntimeError Line: 641] [File NOT FOUND, can't open file: [/home/tscharn/gitglest/mk/linux/glestkeys.ini] Stack Trace: ./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0xb2268d] line: 346 ./megaglest:Shared::Util::Properties::load(std::string const&, bool)address [0xae42f6] line: 77 ./megaglest:Glest::Game::Config::Config(std::pair<Glest::Game::ConfigType, Glest::Game::ConfigType>, std::pair<std::string, std::string>, std::pair<bool, bool>, std::string)address [0x624d21] line: 224 ./megaglest:Glest::Game::Config::reload()address [0x629572] line: 96 ./megaglest:Glest::Game::MenuStateKeysetup::mouseClick(int, int, Shared::Platform::MouseButton)address [0x7a5e03] line: 332 ./megaglest:Glest::Game::MainWindow::eventMouseDown(int, int, Shared::Platform::MouseButton)address [0x6d50ac] line: 911 ./megaglest:Shared::Platform::Window::handleMouseDown(SDL_Event)address [0xb1d169] line: 689 ./megaglest:Shared::Platform::Window::handleEvent()address [0xb1e683] line: 242 ./megaglest:Glest::Game::glestMain(int, char**)address [0x6e1467] line: 5502 ./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x6e5406] line: 5837 /lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7fd0fa328ec5] line: 0 ./megaglest() [0x4ee63a]address [0x4ee63a]
Most likely during saving glest-dev.ini isn't taken into account. Btw, related bug (fixed since 36a88fe): https://forum.megaglest.org/index.php?topic=9717.0
Trying to save changed keyboard settings in the options results in crash