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: 1113
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 74 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: 377
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: 1113
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: 377
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 64 times
User avatar
Heindal
Posts: 1113
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: 377
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: 595
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.
Tigran1977
Posts: 1
Joined: September 10th, 2021, 5:03 am

Re: The game doesn't start

Post by Tigran1977 »

У меня аналогичная ситуация. Насколько я понял проблема кроется в ОС? Если установить другую ее версию, то работать будет?


-- machine translation:
I have a similar situation. As I understand it, the problem lies in the OS? If you install a different version of it, will it work?
Last edited by WhiteWolf on September 16th, 2021, 8:43 am, edited 1 time in total.
Reason: added translation to post
User avatar
Pentarctagon
Project Manager
Posts: 4824
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: The game doesn't start

Post by Pentarctagon »

It is fixed in 1.15.17 and later.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
Heindal
Posts: 1113
Joined: August 11th, 2011, 9:25 pm
Location: Germany, Karlsruhe
Contact:

Re: The game doesn't start

Post by Heindal »

@Tigran1977

You might be able to use the following fix:

Open your translation files such as the .po. Search for \v and delete it. Than try again.
If you are not making translations at the moment, it might be that you downloaded a .po that contained \v.
You could either delete it, or save the .po file in another folder.

If it has nothing to do with translations, than it is a different problem.
You could try to check the logfiles of the game about that.


Machine Translation (Машинный перевод):

Возможно, вы сможете использовать следующее исправление:

Откройте файлы перевода, например .po. Найдите \ v и удалите его. Затем попробуйте еще раз.
Если вы в данный момент не выполняете переводы, возможно, вы скачали .po, содержащий \ v.
Вы можете либо удалить его, либо сохранить файл .po в другой папке.

Если это не связано с переводами, то это другая проблема.
Вы можете попробовать проверить лог-файлы игры об этом.
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
Post Reply