Ok people, let's get this Ubuntu 18.04 installation straight now because nothing you guys mentioned worked for me.
Today I've installed Ubuntu 18.04 LTS Bungie edition on my laptop just to test this. I have a shitty laptop so normal Ubuntu with Gnome3 is out of the question... let's hope there aren't too many differences between them. (and Gnome 3.28 has a nasty memory leak bug anyways...
https://www.youtube.com/watch?v=p9cGNkzkWqk)
These are the step with the console outputs I went through. I'm not trying to simplify things here.
If anyone has any comment about this, feel free to share it because currently it doesn't work (for me at least...).
Client is v0.16.1https://github.com/FAForever/client/releases/tag/0.16.1in ~/Games/fafclient/client-0.16.1
Uid is v4.0.5https://github.com/FAForever/uid/releases/tag/v4.0.5in /usr/local/bin/
with sudo chmod +x /usr/local/bin/faf-uid
The "testUser" has admin privileges
------
Step 1I'm trying to run this
- Code: Select all
testUser@COMP2:~/Games/fafclient$ python3 client-0.16.1/src/__main__.py
Traceback (most recent call last):
File "client-0.16.1/src/__main__.py", line 48, in <module>
from PyQt5 import QtWidgets, uic
ModuleNotFoundError: No module named 'PyQt5'
Step 2Installing Python3 package manager (pip3)
- Code: Select all
testUser@COMP2:~/Games/fafclient$ sudo apt-get install python3-pip
Step 3Installing pyqt5 with pip3
- Code: Select all
testUser@COMP2:~/Games/fafclient$ pip3 install pyqt5
Collecting pyqt5
Downloading https://files.pythonhosted.org/packages/e4/15/4e2e49f64884edbab6f833c6fd3add24d7938f2429aec1f2883e645d4d8f/PyQt5-5.10.1-5.10.1-cp35.cp36.cp37.cp38-abi3-manylinux1_x86_64.whl (107.8MB)
100% |████████████████████████████████| 107.8MB 6.1kB/s
Collecting sip<4.20,>=4.19.4 (from pyqt5)
Downloading https://files.pythonhosted.org/packages/8a/ea/d317ce5696dda4df7c156cd60447cda22833b38106c98250eae1451f03ec/sip-4.19.8-cp36-cp36m-manylinux1_x86_64.whl (66kB)
100% |████████████████████████████████| 71kB 2.5MB/s
Installing collected packages: sip, pyqt5
Successfully installed pyqt5-5.10.1 sip-4.19.8
Step 4I'm trying to run this
- Code: Select all
testUser@COMP2:~/Games/fafclient$ python3 client-0.16.1/src/__main__.py
Traceback (most recent call last):
File "client-0.16.1/src/__main__.py", line 57, in <module>
import util
File "/home/testUser/Games/fafclient/client-0.16.1/src/util/__init__.py", line 12, in <module>
from semantic_version import Version
ModuleNotFoundError: No module named 'semantic_version'
Step 5Installing semantic_version with pip3
- Code: Select all
testUser@COMP2:~/Games/fafclient$ pip3 install semantic_version
Collecting semantic_version
Downloading https://files.pythonhosted.org/packages/28/be/3a7241d731ba89063780279a5433f5971c1cf41735b64a9f874b7c3ff995/semantic_version-2.6.0-py3-none-any.whl
Installing collected packages: semantic-version
Successfully installed semantic-version-2.6.0
Step 6I'm trying to run this
- Code: Select all
testUser@COMP2:~/Games/fafclient$ python3 client-0.16.1/src/__main__.py
Error grabbing git version: [Errno 2] No such file or directory: 'git': 'git'Could not get git version
Traceback (most recent call last):
File "client-0.16.1/src/__main__.py", line 57, in <module>
import util
File "/home/testUser/Games/fafclient/client-0.16.1/src/util/__init__.py", line 15, in <module>
from config import Settings
File "/home/testUser/Games/fafclient/client-0.16.1/src/config/__init__.py", line 139, in <module>
VERSION = version.get_release_version(dir=fafpath.get_resdir(), git_dir=fafpath.get_srcdir())
File "/home/testUser/Games/fafclient/client-0.16.1/src/config/version.py", line 129, in get_release_version
raise ValueError("Cannot find the version number! Please provide RELEASE-VERSION file or run from git.")
ValueError: Cannot find the version number! Please provide RELEASE-VERSION file or run from git.
Step 7Adding the release version file
- Code: Select all
testUser@COMP2:~/Games/fafclient$ echo "0.16.1" > client-0.16.1/res/RELEASE-VERSION
Step 8I'm trying to run this
And we have arrived to
tatsu's problem. \o/ That
nyov's solution does not solve btw... I've tried it.
- Code: Select all
testUser@COMP2:~/Games/fafclient$ python3 client-0.16.1/src/__main__.py
Could not find QtWebEngineProcess
[14685:14685:0429/161748.049156:FATAL:zygote_host_impl_linux.cc(182)] Check failed: ReceiveFixedMessage(fds[0], kZygoteBootMessage, sizeof(kZygoteBootMessage), &boot_pid).
#0 0x7f18583f70a5 <unknown>
#1 0x7f185840ceca <unknown>
#2 0x7f1857a4ffc3 <unknown>
#3 0x7f1857a4ec3b <unknown>
#4 0x7f1857a4f219 <unknown>
#5 0x7f185769293a <unknown>
#6 0x7f1857697e76 <unknown>
#7 0x7f18571b5600 <unknown>
#8 0x7f18571b6b25 <unknown>
#9 0x7f18571a5ee9 <unknown>
#10 0x7f18571a60be QtWebEngineCore::WebContentsAdapter::WebContentsAdapter()
#11 0x7f185d0f7441 <unknown>
#12 0x7f185d0f7f24 QWebEnginePage::QWebEnginePage()
#13 0x7f185d105ebb QWebEngineView::page()
#14 0x7f185d106039 QWebEngineView::setUrl()
#15 0x7f185d32beb9 meth_QWebEngineView_setUrl
#16 0x0000004c53cd _PyCFunction_FastCallKeywords
#17 0x00000054ffe4 <unknown>
#18 0x0000005546cf _PyEval_EvalFrameDefault
#19 0x00000054f0e8 <unknown>
#20 0x000000550116 <unknown>
#21 0x0000005546cf _PyEval_EvalFrameDefault
#22 0x00000054fbe1 <unknown>
#23 0x000000558e19 _PyFunction_FastCallDict
#24 0x00000045a461 _PyObject_Call_Prepend
#25 0x000000459eee PyObject_Call
#26 0x0000004e15bb <unknown>
#27 0x0000004db337 <unknown>
#28 0x00000045a0e3 _PyObject_FastCallDict
#29 0x00000054fd37 <unknown>
#30 0x0000005546cf _PyEval_EvalFrameDefault
#31 0x00000054fbe1 <unknown>
#32 0x000000550b93 PyEval_EvalCode
#33 0x00000054dbfa <unknown>
#34 0x0000004c517d PyCFunction_Call
#35 0x000000557c60 _PyEval_EvalFrameDefault
#36 0x00000054fbe1 <unknown>
#37 0x00000054fe6d <unknown>
#38 0x0000005546cf _PyEval_EvalFrameDefault
#39 0x00000054f0e8 <unknown>
#40 0x000000550116 <unknown>
#41 0x0000005546cf _PyEval_EvalFrameDefault
#42 0x00000054f0e8 <unknown>
#43 0x000000550116 <unknown>
#44 0x0000005546cf _PyEval_EvalFrameDefault
#45 0x00000054f0e8 <unknown>
#46 0x000000550116 <unknown>
#47 0x0000005546cf _PyEval_EvalFrameDefault
#48 0x00000054f0e8 <unknown>
#49 0x000000558ef2 _PyFunction_FastCallDict
#50 0x00000045a1d1 _PyObject_FastCallDict
#51 0x00000045b884 _PyObject_CallMethodIdObjArgs
#52 0x000000575c7a PyImport_ImportModuleLevelObject
#53 0x0000005576fd _PyEval_EvalFrameDefault
#54 0x00000054f0e8 <unknown>
#55 0x000000550116 <unknown>
#56 0x0000005546cf _PyEval_EvalFrameDefault
#57 0x00000054fbe1 <unknown>
#58 0x000000550b93 PyEval_EvalCode
#59 0x00000042b519 PyRun_FileExFlags
#60 0x00000042b705 PyRun_SimpleFileExFlags
#61 0x000000441fcb Py_Main
Received signal 6
#0 0x7f18583f70a5 <unknown>
#1 0x7f1857138141 <unknown>
#2 0x7f18583f743d <unknown>
#3 0x7f1866034890 <unknown>
#4 0x7f186507be97 gsignal
#5 0x7f186507d801 abort
#6 0x7f18583f6dc5 <unknown>
#7 0x7f185840d1ed <unknown>
#8 0x7f1857a4ffc3 <unknown>
#9 0x7f1857a4ec3b <unknown>
#10 0x7f1857a4f219 <unknown>
#11 0x7f185769293a <unknown>
#12 0x7f1857697e76 <unknown>
#13 0x7f18571b5600 <unknown>
#14 0x7f18571b6b25 <unknown>
#15 0x7f18571a5ee9 <unknown>
#16 0x7f18571a60be QtWebEngineCore::WebContentsAdapter::WebContentsAdapter()
#17 0x7f185d0f7441 <unknown>
#18 0x7f185d0f7f24 QWebEnginePage::QWebEnginePage()
#19 0x7f185d105ebb QWebEngineView::page()
#20 0x7f185d106039 QWebEngineView::setUrl()
#21 0x7f185d32beb9 meth_QWebEngineView_setUrl
#22 0x0000004c53cd _PyCFunction_FastCallKeywords
#23 0x00000054ffe4 <unknown>
#24 0x0000005546cf _PyEval_EvalFrameDefault
#25 0x00000054f0e8 <unknown>
#26 0x000000550116 <unknown>
#27 0x0000005546cf _PyEval_EvalFrameDefault
#28 0x00000054fbe1 <unknown>
#29 0x000000558e19 _PyFunction_FastCallDict
#30 0x00000045a461 _PyObject_Call_Prepend
#31 0x000000459eee PyObject_Call
#32 0x0000004e15bb <unknown>
#33 0x0000004db337 <unknown>
#34 0x00000045a0e3 _PyObject_FastCallDict
#35 0x00000054fd37 <unknown>
#36 0x0000005546cf _PyEval_EvalFrameDefault
#37 0x00000054fbe1 <unknown>
#38 0x000000550b93 PyEval_EvalCode
#39 0x00000054dbfa <unknown>
#40 0x0000004c517d PyCFunction_Call
#41 0x000000557c60 _PyEval_EvalFrameDefault
#42 0x00000054fbe1 <unknown>
#43 0x00000054fe6d <unknown>
#44 0x0000005546cf _PyEval_EvalFrameDefault
#45 0x00000054f0e8 <unknown>
#46 0x000000550116 <unknown>
#47 0x0000005546cf _PyEval_EvalFrameDefault
#48 0x00000054f0e8 <unknown>
#49 0x000000550116 <unknown>
#50 0x0000005546cf _PyEval_EvalFrameDefault
#51 0x00000054f0e8 <unknown>
#52 0x000000550116 <unknown>
#53 0x0000005546cf _PyEval_EvalFrameDefault
#54 0x00000054f0e8 <unknown>
#55 0x000000558ef2 _PyFunction_FastCallDict
#56 0x00000045a1d1 _PyObject_FastCallDict
#57 0x00000045b884 _PyObject_CallMethodIdObjArgs
#58 0x000000575c7a PyImport_ImportModuleLevelObject
#59 0x0000005576fd _PyEval_EvalFrameDefault
#60 0x00000054f0e8 <unknown>
#61 0x000000550116 <unknown>
r8: 0000000000000000 r9: 00007fff7b6613c0 r10: 0000000000000008 r11: 0000000000000246
r12: 00007fff7b661640 r13: 00000000000000ac r14: 00007fff7b661870 r15: 00007fff7b661fe0
di: 0000000000000002 si: 00007fff7b6613c0 bp: 00007f18625a3d60 bx: 00007fff7b661dc0
dx: 0000000000000000 ax: 0000000000000000 cx: 00007f186507be97 sp: 00007fff7b6613c0
ip: 00007f186507be97 efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000
trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.
Step 9Uninstalling PyQt5 with pip3
- Code: Select all
testUser@COMP2:~/Games/fafclient$ pip3 uninstall PyQt5
Step 10Installing PyQt5 exact version: v5.10.0 that doesn't have this above problem.
- Code: Select all
testUser@COMP2:~/Games/fafclient$ pip3 install PyQt5==5.10.0
Collecting PyQt5==5.10.0
Downloading https://files.pythonhosted.org/packages/ae/4b/c7315ba7a266d493ee50c4597b1b4dea2348896a49115b5192b21adf1a47/PyQt5-5.10-5.10.0-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl (110.0MB)
100% |████████████████████████████████| 110.0MB 6.0kB/s
Collecting sip<4.20,>=4.19.4 (from PyQt5==5.10.0)
Using cached https://files.pythonhosted.org/packages/8a/ea/d317ce5696dda4df7c156cd60447cda22833b38106c98250eae1451f03ec/sip-4.19.8-cp36-cp36m-manylinux1_x86_64.whl
Installing collected packages: sip, PyQt5
Successfully installed PyQt5-5.10 sip-4.19.8
Step 11I'm trying to run this
This is where it gets chaotic.
- Code: Select all
testUser@COMP2:~/Games/fafclient$ python3 client-0.16.1/src/__main__.py
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_num_locks
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_id_callback
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_locking_callback
qt.network.ssl: QSslSocket: cannot resolve ERR_free_strings
qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_cleanup
qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_init
qt.network.ssl: QSslSocket: cannot resolve sk_new_null
qt.network.ssl: QSslSocket: cannot resolve sk_push
qt.network.ssl: QSslSocket: cannot resolve sk_free
qt.network.ssl: QSslSocket: cannot resolve sk_num
qt.network.ssl: QSslSocket: cannot resolve sk_pop_free
qt.network.ssl: QSslSocket: cannot resolve sk_value
qt.network.ssl: QSslSocket: cannot resolve SSL_library_init
qt.network.ssl: QSslSocket: cannot resolve SSL_load_error_strings
qt.network.ssl: QSslSocket: cannot resolve SSL_get_ex_new_index
qt.network.ssl: QSslSocket: cannot resolve SSLv3_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv23_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv3_server_method
qt.network.ssl: QSslSocket: cannot resolve SSLv23_server_method
qt.network.ssl: QSslSocket: cannot resolve X509_STORE_CTX_get_chain
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
qt.network.ssl: QSslSocket: cannot resolve SSLeay
qt.network.ssl: Incompatible version of OpenSSL
Received signal 11 SEGV_MAPERR 000000000000
#0 0x7f60135c19a5 <unknown>
#1 0x7f6012301501 <unknown>
#2 0x7f60135c1d3d <unknown>
#3 0x7f60219be890 <unknown>
r8: 0000000000000001 r9: 00000000026fc300 r10: 0000000000000002 r11: 00007f601e435000
r12: 00000000026cb380 r13: 00000000025dddc0 r14: 0000000000000000 r15: 00007f601e526280
di: 0000000000001f01 si: 00007f601e528210 bp: 0000000002401df0 bx: 0000000000000001
dx: 00000000026cb680 ax: 00000000026cb680 cx: 0000000000000000 sp: 00007ffe0bed42c8
ip: 0000000000000000 efl: 0000000000010206 cgf: 002b000000000033 erf: 0000000000000014
trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.
Step 12 ??Installing libssl1.0-dev on Ubuntu because it solves the problem kind of...
Ubuntu 18.04 has two libssl.so libraries: libssl.so.1.0.0 and libssl.so.1.1 on my comp.
Please confirm this with:
dpkg -L libssl1.0.0
and
dpkg -L libssl1.1
and
openssl version > output: OpenSSL 1.1.0g 2 Nov 2017
My old Ubuntu 16.04 only has libssl1.0.0 and the 0.16.1 client works on it.
- Code: Select all
testUser@COMP2:~/Games/fafclient$ sudo apt-get install libssl1.0-dev
[sudo] password for testUser:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
libssl1.0-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1.364 kB of archives.
After this operation, 7.243 kB of additional disk space will be used.
Get:1 http://hu.archive.ubuntu.com/ubuntu bionic/main amd64 libssl1.0-dev amd64 1.0.2n-1ubuntu5 [1.364 kB]
Fetched 1.364 kB in 1s (1.780 kB/s)
Selecting previously unselected package libssl1.0-dev:amd64.
(Reading database ... 183446 files and directories currently installed.)
Preparing to unpack .../libssl1.0-dev_1.0.2n-1ubuntu5_amd64.deb ...
Unpacking libssl1.0-dev:amd64 (1.0.2n-1ubuntu5) ...
Setting up libssl1.0-dev:amd64 (1.0.2n-1ubuntu5) ...
Step 13I'm trying to run this
And got stuck here. Notice how the open SSL error disappeared but what to do with this??
After searching on google, I've found similar errors that boil down to the qt5 webengine old chrome/webkit/whatever implementation and it's not finding MS fonts etc. I've installed MS fonts just in case but it didn't solve the problem. Probably something else is going on but the error message doesn't really tell anything. DD:
- Code: Select all
testUser@COMP2:~/Games/fafclient$ python3 client-0.16.1/src/__main__.py
Received signal 11 SEGV_MAPERR 000000000000
#0 0x7f0be517d9a5 <unknown>
#1 0x7f0be3ebd501 <unknown>
#2 0x7f0be517dd3d <unknown>
#3 0x7f0bf357a890 <unknown>
r8: 0000000000000001 r9: 00000000022c9990 r10: 0000000000000002 r11: 00007f0befff1000
r12: 0000000002298ab0 r13: 0000000001ed6520 r14: 0000000000000000 r15: 00007f0bf00e2280
di: 0000000000001f01 si: 00007f0bf00e4210 bp: 0000000002249610 bx: 0000000000000001
dx: 0000000002298db0 ax: 0000000002298db0 cx: 0000000000000000 sp: 00007fff2e37d698
ip: 0000000000000000 efl: 0000000000010206 cgf: 002b000000000033 erf: 0000000000000014
trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.
HELP