[0.16.27] cannot start headless server

This subforum contains all the issues which we already resolved.
Post Reply
Blood Angel
Burner Inserter
Burner Inserter
Posts: 14
Joined: Thu Dec 21, 2017 8:45 am
Contact:

[0.16.27] cannot start headless server

Post by Blood Angel » Thu Mar 01, 2018 1:36 pm

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.

Blood Angel
Burner Inserter
Burner Inserter
Posts: 14
Joined: Thu Dec 21, 2017 8:45 am
Contact:

Re: [16.27] cannot start headless server

Post by Blood Angel » Thu Mar 01, 2018 1:52 pm

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

Oxyd
Factorio Staff
Factorio Staff
Posts: 1271
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [16.27] cannot start headless server

Post by Oxyd » Thu Mar 01, 2018 1:57 pm

Works just fine for me. What is the output of `locale`? Does `LC_ALL=C ./bin/x64/factorio` work?

Blood Angel
Burner Inserter
Burner Inserter
Posts: 14
Joined: Thu Dec 21, 2017 8:45 am
Contact:

Re: [16.27] cannot start headless server

Post by Blood Angel » Thu Mar 01, 2018 6:11 pm

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

Blood Angel
Burner Inserter
Burner Inserter
Posts: 14
Joined: Thu Dec 21, 2017 8:45 am
Contact:

Re: [16.27] cannot start headless server

Post by Blood Angel » Thu Mar 01, 2018 6:58 pm

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)

Oxyd
Factorio Staff
Factorio Staff
Posts: 1271
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.16.27] cannot start headless server

Post by Oxyd » Thu Mar 08, 2018 11:28 am

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.

Post Reply

Return to “Resolved Problems and Bugs”

Who is online

Users browsing this forum: No registered users