Error: Cannot load language data

Here you can report bugs found in Far Manager.
Shmuel
Posts: 5232
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 16 times
Been thanked: 152 times

Re: Error: Cannot load language data

Post by Shmuel » Thu 27 Nov, 2008 10:28

Latest post of the previous page:

Would you mind to try my makefile (for gcc, works from FAR command line, no cygwin or msys needed)?
Attachments
makefile.zip
(76.16 KiB) Downloaded 391 times

MortenMacFly
Posts: 43
Joined: Wed 30 Apr, 2008 15:31

Re: Error: Cannot load language data

Post by MortenMacFly » Thu 27 Nov, 2008 16:39

Shmuel wrote:Would you mind to try my makefile (for gcc, works from FAR command line, no cygwin or msys needed)?
I would love to... but how? I extracted both files to the unicode_far folder and ran sed.exe. But it tells me it needs a sed script (whatever that is). So I provided the makefile_smz, but that does not work. What do I have to do?!

Shmuel
Posts: 5232
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 16 times
Been thanked: 152 times

Re: Error: Cannot load language data

Post by Shmuel » Thu 27 Nov, 2008 16:53

Sorry, my fault. I should have written explicitly what to do. sed was included because it participates in the build but I was not sure If you had one on your PATH.

Anyways, you were meant to do the following:

Code: Select all

make -B -f makefile_smz

User avatar
t-rex
Страшный и ужасный
Posts: 4872
Joined: Tue 15 Mar, 2005 16:17
Location: Tel-Aviv
Contact:

Re: Error: Cannot load language data

Post by t-rex » Thu 27 Nov, 2008 18:45

For the sake of a clean test try running (and delete lang.hpp, *.lng before running it)
tools\lng.generator.exe farlang.templ
(without extra parametrs) this will regenerate all the files each time and then verify that the number of entries in lang.hpp equals to the number of strings in *.lng

MortenMacFly
Posts: 43
Joined: Wed 30 Apr, 2008 15:31

Re: Error: Cannot load language data

Post by MortenMacFly » Fri 28 Nov, 2008 08:46

Shmuel wrote:Anyways, you were meant to do the following:

Code: Select all

make -B -f makefile_smz
I can't believe it: THIS WORKS!!!
And in fact the produced language files are different. When I do a diff they (in fact) differ in a lot places. Now I wonder how that can be. Is there any possibility to see the command lines executed when this script runs???

MortenMacFly
Posts: 43
Joined: Wed 30 Apr, 2008 15:31

Re: Error: Cannot load language data

Post by MortenMacFly » Fri 28 Nov, 2008 09:04

t-rex wrote: delete lang.hpp, *.lng
tools\lng.generator.exe farlang.templ
will regenerate all the files each time and then verify
That was IT. I did the steps and now everything is working properly. So in fact it was an old lng file that did not get updated due to some strange caching (what's-o-ever).

Problem solved! Thanks guys!

Oh - and btw: Something even more strange (but solved, too): After getting Far 1.80 compiled I tried again the 1.71 alpha I was referring to previously:. Guess what: This works now, too. I don't really get why, because I did the very same thing: Unextracting and running but... what the hell... probably my computer does mystic things... who knows.

Thanks a lot to you guys again!

Archo
Posts: 2
Joined: Fri 02 Sep, 2011 08:45

Re: Error: Cannot load language data

Post by Archo » Fri 02 Sep, 2011 08:51

Hi in here. Mabe i have missed the topic out, but thought that problem and mine are similar:
My problem is that when i open any folder, i find saying ClickCather in the upper corner and "Can't load language data". Unless you press OK, i can't switch on between other folders.. i press OK, and then.. vicious circle.. I'm running Windows XP SP3. Thank you for any response.

Post Reply

Return to “Bug Reports”