Wesnoth crash at start
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
-
- Posts: 12
- Joined: April 2nd, 2012, 4:54 pm
Wesnoth crash at start
Wesnoth 1.10.1 on Gentoo (Linux)
When I try to launch wesnoth, I have this error message :
I red on wesnoth forum that my message means there is a missing "]" somewhere in my config but how to find where is the corrupted file (having the line number is really nice, but without the filename, how to know ?
What should I do to fix this ?
When I try to launch wesnoth, I have this error message :
I deleted my ".wesnoth" directory and all directories related to wesnoth from my computer and I reinstalled wesnoth and it still does the exact same message.Unexpected characters after variable name (expected , or =), value ']' at <unknown>:144
I red on wesnoth forum that my message means there is a missing "]" somewhere in my config but how to find where is the corrupted file (having the line number is really nice, but without the filename, how to know ?
What should I do to fix this ?
Re: Wesnoth crash at start
Did you also clear
$HOME/.local/share/wesnoth/1.10
and $HOME/.config/wesnoth
? Given that the gentoo packager did not change paths, these two directories should contain the add-ons respectively settings.UMC Story Images — Story images for your campaign!
-
- Posts: 12
- Joined: April 2nd, 2012, 4:54 pm
Re: Wesnoth crash at start
Hum, thank you for this fast reply, I watched my preference in .config and looked at the line 144 :
Then another error message with the number of line again, and I watched that preferences file and seen there was a "[/history] without a "[history] before.
Now it works.
Well I know the solution of deleting this directory would have worked too but I wanted to check how much my config were corrupted.
How can some caracters dissapear from config file like this ? Due to writing on disk when a crash occurs ? A random delete of data ?
Anyway, Thank you again
There is a missing "["[/mp_user_name_history]
[/history]
p_connect_history]
[mp_user_name_history]
Then another error message with the number of line again, and I watched that preferences file and seen there was a "[/history] without a "[history] before.
Now it works.
Well I know the solution of deleting this directory would have worked too but I wanted to check how much my config were corrupted.
How can some caracters dissapear from config file like this ? Due to writing on disk when a crash occurs ? A random delete of data ?
Anyway, Thank you again