Page 1 of 1
[0.16.27] cannot start headless server
Posted: Thu Mar 01, 2018 1:36 pm
by Blood Angel
Hello,
I run headless server on 16.15 and it works fine, today, I want to upgrade to the latest and get error when start factorio
0.000 Error Util.cpp:49: wstring_convert::from_bytes
Code: Select all
% ./bin/x64/factorio
0.000 Error Util.cpp:49: wstring_convert::from_bytes
Code: Select all
% ls -al
total 8
drwxr-xr-x 2 blood wheel 512 Mar 1 16:30 .
drwxr-xr-x 18 blood wheel 2048 Mar 1 11:46 ..
% wget --no-check-certificate https://factorio.com/get-download/0.16.27/headless/linux64
% tar -xvzf linux64
% cd factorio/
% ./bin/x64/factorio
0.000 Error Util.cpp:49: wstring_convert::from_bytes
if I get 16.26 or 16.20 the result is the same, but if i get 16.15 - the game starts and works fine.
Re: [16.27] cannot start headless server
Posted: Thu Mar 01, 2018 1:52 pm
by Blood Angel
Checked versions:
16.16 works
16.17 gets error: ./bin/x64/factorio: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
16.18 gets error: 0.000 Error Util.cpp:49: wstring_convert::from_bytes
Re: [16.27] cannot start headless server
Posted: Thu Mar 01, 2018 1:57 pm
by Oxyd
Works just fine for me. What is the output of `locale`? Does `LC_ALL=C ./bin/x64/factorio` work?
Re: [16.27] cannot start headless server
Posted: Thu Mar 01, 2018 6:11 pm
by Blood Angel
Code: Select all
% locale
LANG=
LC_CTYPE="C"
LC_COLLATE="C"
LC_TIME="C"
LC_NUMERIC="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=C
Re: [16.27] cannot start headless server
Posted: Thu Mar 01, 2018 6:58 pm
by Blood Angel
may be library problem?
16.15
Code: Select all
ldd factorio16.15/factorio/bin/x64/factorio
factorio16.15/factorio/bin/x64/factorio:
linux_vdso.so.1 => (0x00007ffffffff000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000000801c98000)
librt.so.1 => /lib64/librt.so.1 (0x0000000801eb5000)
libdl.so.2 => /lib64/libdl.so.2 (0x00000008020bd000)
libm.so.6 => /lib64/libm.so.6 (0x00000008022c1000)
libc.so.6 => /lib64/libc.so.6 (0x00000008027b7000)
/lib64/ld-linux-x86-64.so.2 (0x0000000801a76000)
16.27
Code: Select all
ldd factorio16.27/factorio/bin/x64/factorio
factorio16.27/factorio/bin/x64/factorio:
linux_vdso.so.1 => (0x00007ffffffff000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000000801d12000)
librt.so.1 => /lib64/librt.so.1 (0x0000000801f2f000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000000802137000)
libm.so.6 => /lib64/libm.so.6 (0x000000080233b000)
libc.so.6 => /lib64/libc.so.6 (0x00000008027b7000)
/lib64/ld-linux-x86-64.so.2 (0x0000000801af0000)
Re: [0.16.27] cannot start headless server
Posted: Thu Mar 08, 2018 11:28 am
by Oxyd
Well I can't reproduce it, but I found one place that might potentially cause a problem like that. So, hopefully fixed in 0.16.29. If not, definitely let us know.