Forum



~ub_marco am 08.12.2017 13:11 #14771


Hello,

thanks for this cool game, I got it working on another machine.
I wanted to install it on another 64bit Linux Xubuntu 17.04 machine.

I followed all instructions but when starting rttr.sh I get:

Code:
(ins)marco@knecht:/opt/s25rttr/bin$ ls
RTTR  rttr.sh  s25client  s25edit
(ins)marco@knecht:/opt/s25rttr/bin$ ./rttr.sh
checking for an update ...
Using directory "/opt/s25rttr/bin/../"
Requesting current version information from server...
Parsing update list...
Savegame version of currently installed version: 4
Savegame version of updated version: 4
You will be able to load your existing savegames.
Updating folder structure...
creating symlink ./lib/libminiupnpc.so
Return To The Roots v20171203-16186a84c9e8a13a88c5ca9f36ed8f0ab3aca7de
Compiled with Gnu GCC C/C++ (4.6.3) for Linux 64 Bit

Starting in /opt/s25rttr
terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
  what():  boost::filesystem::status: File name too long: "/opt/s25rttr/share/s25rttr/RTTR/languages/LC_CTYPE=en_US.UTF-8;LC_NUMERIC=de_DE.UTF-8;LC_TIME=de_DE.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=de_DE.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=de_DE.UTF-8;LC_NAME=de_DE.UTF-8;LC_ADDRESS=de_DE.UTF-8;LC_TELEPHONE=de_DE.UTF-8;LC_MEASUREMENT=de_DE.UTF-8;LC_IDENTIFICATION=de_DE.UTF-8/LC_MESSAGES/rttr.mo"
/opt/s25rttr/bin/../bin/rttr.sh: line 60:   583 Aborted                 (core dumped) $cmd $DIR/../bin/s25client $*
An error occured: press enter to continue


What's the issue here? Seems like some language variables are injected into the path to the rttr.mo file.

Thanks
  Marco


ubmarco am 08.12.2017 13:29 #14772


Just created an account, hope to receive E-Mails on replies to this post.


Flamefire am 08.12.2017 15:47 #14773


I'd say something in your system is wrong. Can you execute "locale", "echo $LANG" and "echo $LC_ALL" in the console and post the output?

---
Github: https://github.com/Flamefire


ubmarco am 11.12.2017 09:54 #14776


This is the output of the commands:

Code:

(ins)marco@knecht:/opt/s25rttr$ locale
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=de_DE.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_ALL=
(ins)marco@knecht:/opt/s25rttr$ echo $LANG
en_US.UTF-8
(ins)marco@knecht:/opt/s25rttr$ echo $LCALL

(ins)marco@knecht:/opt/s25rttr$ echo $LC_ALL

(ins)marco@knecht:/opt/s25rttr$



Flamefire am 11.12.2017 12:10 #14779


I just double checked all code and cannot find any programming error. I was also unable to find any mistake there and also could not reproduce this weird behaviour. Would you be able to compile the program yourself? If the bug occurs there too we could debug it. Just check github for instructions and tell me when you get stuck.

---
Github: https://github.com/Flamefire


ubmarco am 12.12.2017 15:16 #14783


I succeeded compiling s25client. The problem persists on this machine:

Code:
(ins)marco@knecht:~/Downloads/s25client/build/bin$ ./s25client
Return To The Roots v20171212-16186a84c9e8a13a88c5ca9f36ed8f0ab3aca7de
Compiled with Gnu GCC C/C++ (6.3.0) for Linux 64 Bit

Starting in /home/marco/Downloads/s25client/build
terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
  what():  boost::filesystem::status: File name too long: "/home/marco/Downloads/s25client/RTTR/languages/LC_CTYPE=en_US.UTF-8;LC_NUMERIC=de_DE.UTF-8;LC_TIME=de_DE.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=de_DE.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=de_DE.UTF-8;LC_NAME=de_DE.UTF-8;LC_ADDRESS=de_DE.UTF-8;LC_TELEPHONE=de_DE.UTF-8;LC_MEASUREMENT=de_DE.UTF-8;LC_IDENTIFICATION=de_DE.UTF-8/LC_MESSAGES/rttr.mo"
Aborted (core dumped)



Flamefire am 12.12.2017 17:01 #14784

~soong101 (login problems) am 26.12.2017 12:00 #14811


Great, I also ran into this bug with the Nightly s25rttr_20171216 with my Ubuntu x64 16.04LTS set to EN_US (for the German Ubuntu translations are odd).

I wonder why there hasn't been a published Nightly Build for ten days, when will the next one be?

Christmas is _the_ time for me to play RTTR, what a shame if I had to wait until next year :)


Flamefire am 27.12.2017 00:38 #14813


The fix is in the master but there is an issue with the build server. Working on that.
Till then, either compile yourself or check if you have multiple values in the LC-variables shown with `locale` command. It should work if all of them are the same.

---
Github: https://github.com/Flamefire


Flamefire am 27.12.2017 18:34 #14817


And fixed :) Everything should work again

---
Github: https://github.com/Flamefire


soong101 am 28.12.2017 15:17 #14819


Great, thanks for the quick feedback! Meanwhile, I set the language to German which made it work as suggested.




Feel free to post in English!

Antwort schreiben

Username:
Security code:
Text:

   
  Convert smilies like :), ;) etc. into small graphics?
  Convert WWW-addresses into clickable links?
  Soll Boardcode in ihrer Nachricht aktiviert werden?