The game doesn't start

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
User avatar
Heindal
Posts: 1108
Joined: August 11th, 2011, 9:25 pm
Location: Germany, Karlsruhe
Contact:

Re: The game doesn't start

Post by Heindal »

@gnombat Ok, that´s the last straw. And it worked :oops:.
Attachments
de.zip
(195.01 KiB) Downloaded 60 times
The future belongs to those, who believe in the beauty of their dreams.
Developer of: Trapped, Five Fates, Strange Legacy, Epical
Dungeonmasters of Wesnoth, Wild Peasants vs Devouring Corpses
gnombat
Posts: 366
Joined: June 10th, 2010, 8:49 pm

Re: The game doesn't start

Post by gnombat »

I think the issue is triggered by the \v escape sequences in the translations. (There are 6 of these in the file.)
User avatar
Heindal
Posts: 1108
Joined: August 11th, 2011, 9:25 pm
Location: Germany, Karlsruhe
Contact:

Re: The game doesn't start

Post by Heindal »

I created the po using wmlgettext. I never used \v on purpose.
The future belongs to those, who believe in the beauty of their dreams.
Developer of: Trapped, Five Fates, Strange Legacy, Epical
Dungeonmasters of Wesnoth, Wild Peasants vs Devouring Corpses
gnombat
Posts: 366
Joined: June 10th, 2010, 8:49 pm

Re: The game doesn't start

Post by gnombat »

The occurrences of \v are in the translated strings, not the original strings, so they're not from wmlgettext. Presumably they were added when editing the file with Poedit.

According to https://github.com/vslavik/poedit/issues/637 "You can get the '\v' character if you press shift and enter simultaneously on Windows". (Note that the author of this bug report is a Wesnoth developer, so it appears that this is a known issue.)

de.zip
Here is the file with all occurrences of \v removed
(200.59 KiB) Downloaded 49 times
User avatar
Heindal
Posts: 1108
Joined: August 11th, 2011, 9:25 pm
Location: Germany, Karlsruhe
Contact:

Re: The game doesn't start

Post by Heindal »

I just rewrote the de.po again, using wmlgettxt to be sure it has nothing to do with wmlgettxt.
The game now starts without problems, even so the de.po is in place.

Maybe I edited the file the last time, but I really don't remember using several enters. :hmm:

But the chance is very high, that this is the reason. Thanks gnombat.
Hopefully this will help somebody else, who encounters the problem.
The future belongs to those, who believe in the beauty of their dreams.
Developer of: Trapped, Five Fates, Strange Legacy, Epical
Dungeonmasters of Wesnoth, Wild Peasants vs Devouring Corpses
gnombat
Posts: 366
Joined: June 10th, 2010, 8:49 pm

Re: The game doesn't start

Post by gnombat »

Heindal wrote: June 14th, 2021, 4:59 pm Maybe I edited the file the last time, but I really don't remember using several enters. :hmm:
There were 6 different translation strings in the file containing a \v (out of several thousand translations). It wasn't all 6 \v in one place.
User avatar
octalot
Developer
Posts: 578
Joined: July 17th, 2010, 7:40 pm
Location: Austria

Re: The game doesn't start

Post by octalot »

Now logged as #5923. I don't know when the bug itself will be fixed, however the uselessness of the console error message is a one-liner.
Post Reply