LINUX SUPPORT IS HERE

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

Re: LINUX SUPPORT IS HERE

Postby Herby » 21 Oct 2017, 06:55

tatsu wrote:if the packages aren't available consider upgrading to kubuntu 17.04
I gave it a try and, as expected, some packages/dependencies are not available. Don't want to reinstall all my system now so I reinstalled the client with the old virtualenv method and it works. Not ideal but it does the job...
Herby
Crusader
 
Posts: 16
Joined: 18 Aug 2017, 13:36
Has liked: 0 time
Been liked: 5 times
FAF User Name: Herby

Re: LINUX SUPPORT IS HERE

Postby tatsu » 21 Oct 2017, 11:42

Herby wrote:I gave it a try and, as expected, some packages/dependencies are not available. Don't want to reinstall all my system now so I reinstalled the client with the old virtualenv method and it works. Not ideal but it does the job...

aw :( well it's way better than nothing.

they'll become available if the python deities decide to shine their light upon older distros.
User avatar
tatsu
Supreme Commander
 
Posts: 1553
Joined: 02 Jul 2012, 21:26
Has liked: 1952 times
Been liked: 171 times
FAF User Name: tatsu

Re: LINUX SUPPORT IS HERE

Postby kozy » 21 Oct 2017, 12:55

Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "client/src/__main__.py", line 128, in <module>
runFAF()
File "client/src/__main__.py", line 88, in runFAF
import client
File "client/src/client/__init__.py", line 31, in <module>
from ._clientwindow import ClientWindow
File "client/src/client/_clientwindow.py", line 55, in <module>
FormClass, BaseClass = util.THEME.loadUiType("client/client.ui")
File "client/src/util/theme.py", line 273, in _nullcheck
ret = fn(self, filename, themed)
File "client/src/util/theme.py", line 288, in loadUiType
return self._theme_callchain("loadUiType", filename, themed)
File "client/src/util/theme.py", line 264, in _theme_callchain
item = getattr(self._theme, fn_name)(filename)
File "client/src/util/theme.py", line 38, in _fun
return fun(self, filename)
ImportError: No module named 'QtWebEngineWidgets'

Runtime info:

FAF Username: pre-login
FAF Version: 0.16.1
FAF Environment: production
FAF Directory: /home/shoopea/FAForever
FA Path: : Unknown
Home Directory: /home/shoopea/Documents
Platform: Linux-4.10.0-37-generic-x86_64-with-Ubuntu-17.04-zesty
Uname: uname_result(system='Linux', node='lily', release='4.10.0-37-generic', version='#41-Ubuntu SMP Fri Oct 6 20:20:37 UTC 2017', machine='x86_64', processor='x86_64')


Yet, I have the following packages install :
libqt5webengine-data install
libqt5webengine5:amd64 install
libqt5webenginecore5:amd64 install
libqt5webenginewidgets5:amd64 install
python-pyqt5.qtwebengine install
python3-pyqt5.qtwebengine install
qtwebengine5-dev:amd64 install


Running this on linux is depressing :(
kozy
Crusader
 
Posts: 32
Joined: 19 Nov 2016, 04:33
Has liked: 1 time
Been liked: 11 times
FAF User Name: kozy

Re: LINUX SUPPORT IS HERE

Postby tatsu » 21 Oct 2017, 13:03

kozy wrote:Platform: Linux-4.10.0-37-generic-x86_64-with-Ubuntu-17.04-zesty

this guide should work :

viewtopic.php?f=2&t=4507&start=380#p154883
User avatar
tatsu
Supreme Commander
 
Posts: 1553
Joined: 02 Jul 2012, 21:26
Has liked: 1952 times
Been liked: 171 times
FAF User Name: tatsu

Re: LINUX SUPPORT IS HERE

Postby kozy » 22 Oct 2017, 12:28

tatsu wrote:
kozy wrote:Platform: Linux-4.10.0-37-generic-x86_64-with-Ubuntu-17.04-zesty

this guide should work :

viewtopic.php?f=2&t=4507&start=380#p154883

Sadly, this doesn't work for me :( I have ubuntu-gnome, not kubuntu maybe that's why ?
I'll try to go the virtualenv way !

Edit : done and easy : it worked super fast !
Now i've got one question : how do you point to your game ? I cannot select my ~/.wine/drive_c/... folder in the FAF client :(

Edit2 : Forget it, I'm reading https://wiki.faforever.com/index.php?ti ... _FAF_Linux and it's explained there !
Thanks guys :)
Last edited by kozy on 23 Oct 2017, 03:45, edited 2 times in total.
kozy
Crusader
 
Posts: 32
Joined: 19 Nov 2016, 04:33
Has liked: 1 time
Been liked: 11 times
FAF User Name: kozy

Re: LINUX SUPPORT IS HERE

Postby tatsu » 22 Oct 2017, 17:08

nah the guide i made is for vanilla ubuntu but it should work?

I'll do further testing perhaps it's things I installed in the past.
User avatar
tatsu
Supreme Commander
 
Posts: 1553
Joined: 02 Jul 2012, 21:26
Has liked: 1952 times
Been liked: 171 times
FAF User Name: tatsu

Re: LINUX SUPPORT IS HERE

Postby nrader » 31 Oct 2017, 20:59

tatsu wrote:*last guide version*

After doing as written in the guide:
Code: Select all
Traceback (most recent call last):
  File "./src/__main__.py", line 40, in <module>
    from PyQt5 import QtWebEngineWidgets
ImportError: cannot import name 'QtWebEngineWidgets'

I have pyqt and qtwebengine installed.
My distro is OpenSUSE 42.2

Any suggestions?
User avatar
nrader
Crusader
 
Posts: 16
Joined: 31 Oct 2017, 20:51
Has liked: 6 times
Been liked: 2 times
FAF User Name: nrader

Re: LINUX SUPPORT IS HERE

Postby tatsu » 01 Nov 2017, 16:28

nrader wrote:My distro is OpenSUSE 42.2

Any suggestions?

is it up to speed?

qtwebengine shouldn't be a dependency anymore, you're getting this because the version of python for your distro is not yet the latest. (as I understand things...., sorry I'm a noob in this too :S )
User avatar
tatsu
Supreme Commander
 
Posts: 1553
Joined: 02 Jul 2012, 21:26
Has liked: 1952 times
Been liked: 171 times
FAF User Name: tatsu

Re: LINUX SUPPORT IS HERE

Postby Wesmania » 02 Nov 2017, 01:11

QtWebEngine is still a dependency. I think what you've installed is just the qt stuff, but not the python bindings to the web engine. Try to look for a package named something like 'python3.pyqt5.qtwebengine'.
Wesmania
Contributor
 
Posts: 391
Joined: 19 Nov 2014, 19:17
Has liked: 2 times
Been liked: 79 times
FAF User Name: MazorNoob

Re: LINUX SUPPORT IS HERE

Postby nrader » 02 Nov 2017, 15:37

Wesmania wrote:QtWebEngine is still a dependency. I think what you've installed is just the qt stuff, but not the python bindings to the web engine. Try to look for a package named something like 'python3.pyqt5.qtwebengine'.

Is QtWebEngine available only for python 3.6 component? All rpms i've found that contained it required 3.6 python.
My system has 3.4 and system pyqt5 package doesn't have WebEngineWidgets component in it.

If so, my only option is to get 3.6, i guess?
User avatar
nrader
Crusader
 
Posts: 16
Joined: 31 Oct 2017, 20:51
Has liked: 6 times
Been liked: 2 times
FAF User Name: nrader

PreviousNext

Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest