LINUX SUPPORT IS HERE

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

Re: LINUX SUPPORT IS HERE

Postby kozy » 03 Nov 2017, 03:58

nrader wrote:
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?

You can't/don't want to use virtualenv (or equivalent ?)
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 nrader » 03 Nov 2017, 13:14

kozy wrote:
nrader wrote:
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?

You can't/don't want to use virtualenv (or equivalent ?)

Well i tried to use virtualenv before and it wasn't successful.So i doubt that approach would be any better.
For new pyqt i need python3.6, and new qt5 (while my 5.6 version have webengine, new pyqt's for other rpm-based distros that i've encountered require ~5.9). So basically without replacing many system packages(or changing the distro itself) i cant get it done. :?
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 » 03 Nov 2017, 16:29

yeah virtualenv is unclean.
nrader wrote:If so, my only option is to get 3.6, i guess?

yes, that it. :)

but this is why the simple solution to all this is finishing the java based client and porting it to linux.

python (not the language itself, but it's packages) is a shitshow.
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 BigBob » 05 Nov 2017, 02:36

When i try to run __main__, i get a segmentation fault, has anyone else gotten this?
BigBob
 
Posts: 4
Joined: 05 Nov 2017, 02:35
Has liked: 0 time
Been liked: 2 times
FAF User Name: ImHavingABlast

Re: LINUX SUPPORT IS HERE

Postby tatsu » 05 Nov 2017, 04:58

BigBob wrote:When i try to run __main__, i get a segmentation fault, has anyone else gotten this?

i dunno maybe in my first tries. what guide are you following and what os and version are you on?
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 GenoC » 11 Nov 2017, 18:32

Hey,

I get the following when i try to run the main script:

Traceback (most recent call last):
File "./__main__.py", line 42, in <module>
import util
File "/home/nicolai/Downloads/client-0.16.0/src/util/__init__.py", line 9, in <module>
from PyQt5.QtMultimedia import QSound
ModuleNotFoundError: No module named 'PyQt5.QtMultimedia'

How does one fix?
GenoC
 
Posts: 7
Joined: 11 Nov 2017, 18:25
Has liked: 0 time
Been liked: 0 time
FAF User Name: GenoC

Re: LINUX SUPPORT IS HERE

Postby tatsu » 11 Nov 2017, 18:52

GenoC wrote:Hey,

I get the following when i try to run the main script:

Traceback (most recent call last):
File "./__main__.py", line 42, in <module>
import util
File "/home/nicolai/Downloads/client-0.16.0/src/util/__init__.py", line 9, in <module>
from PyQt5.QtMultimedia import QSound
ModuleNotFoundError: No module named 'PyQt5.QtMultimedia'

How does one fix?

I'm not sure. which guide did you use and what OS are you on?
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 GenoC » 11 Nov 2017, 19:36

tatsu wrote:
GenoC wrote:Hey,

I get the following when i try to run the main script:

Traceback (most recent call last):
File "./__main__.py", line 42, in <module>
import util
File "/home/nicolai/Downloads/client-0.16.0/src/util/__init__.py", line 9, in <module>
from PyQt5.QtMultimedia import QSound
ModuleNotFoundError: No module named 'PyQt5.QtMultimedia'

How does one fix?

I'm not sure. which guide did you use and what OS are you on?


im on ubuntu 17.10
I tried following this guide: https://wiki.faforever.com/index.php?ti ... _FAF_Linux.

however things started falling apart at this part:

"Download and install the faf-uid smurf protection executable:
sudo wget https://github.com/FAForever/uid/releas ... .5/faf-uid -O /usr/local/bin/faf-uid
sudo chmod +x /usr/local/bin/faf-uid
(Note that faf-uid runs xrandr, lspci, lsblk and uname. You need an lspci version that supports the --json switch, which is util-linux-2.27 or greater.)
Create a version file:
echo "0.16.0" > res/RELEASE-VERSION"

I didnt really know what to do with the file, and the echo command didnt work for me aswell
GenoC
 
Posts: 7
Joined: 11 Nov 2017, 18:25
Has liked: 0 time
Been liked: 0 time
FAF User Name: GenoC

Re: LINUX SUPPORT IS HERE

Postby Wesmania » 12 Nov 2017, 19:08

GenoC wrote:
tatsu wrote:
GenoC wrote:Hey,

I get the following when i try to run the main script:

Traceback (most recent call last):
File "./__main__.py", line 42, in <module>
import util
File "/home/nicolai/Downloads/client-0.16.0/src/util/__init__.py", line 9, in <module>
from PyQt5.QtMultimedia import QSound
ModuleNotFoundError: No module named 'PyQt5.QtMultimedia'

How does one fix?

I'm not sure. which guide did you use and what OS are you on?


im on ubuntu 17.10
I tried following this guide: https://wiki.faforever.com/index.php?ti ... _FAF_Linux.

however things started falling apart at this part:

"Download and install the faf-uid smurf protection executable:
sudo wget https://github.com/FAForever/uid/releas ... .5/faf-uid -O /usr/local/bin/faf-uid
sudo chmod +x /usr/local/bin/faf-uid
(Note that faf-uid runs xrandr, lspci, lsblk and uname. You need an lspci version that supports the --json switch, which is util-linux-2.27 or greater.)
Create a version file:
echo "0.16.0" > res/RELEASE-VERSION"

I didnt really know what to do with the file, and the echo command didnt work for me aswell


Concerning the import problem, it seems there's at least one more package that needs to be installed. Try installing python3-pyqt5.qtmultimedia. In general if you get such missing qt imports, looking for an appropriate python3-pyqt5.* package should solve the issue. As for the file - you simply need to make a file in <wherever you unpacked the source package>/res called RELEASE-VERSION, and put 0.16.0 (or any current version) as the only thing in it. You can do it with any text editor you want.
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 GenoC » 12 Nov 2017, 21:24

Wesmania wrote:
GenoC wrote:
tatsu wrote:I'm not sure. which guide did you use and what OS are you on?


im on ubuntu 17.10
I tried following this guide: https://wiki.faforever.com/index.php?ti ... _FAF_Linux.

however things started falling apart at this part:

"Download and install the faf-uid smurf protection executable:
sudo wget https://github.com/FAForever/uid/releas ... .5/faf-uid -O /usr/local/bin/faf-uid
sudo chmod +x /usr/local/bin/faf-uid
(Note that faf-uid runs xrandr, lspci, lsblk and uname. You need an lspci version that supports the --json switch, which is util-linux-2.27 or greater.)
Create a version file:
echo "0.16.0" > res/RELEASE-VERSION"

I didnt really know what to do with the file, and the echo command didnt work for me aswell


Concerning the import problem, it seems there's at least one more package that needs to be installed. Try installing python3-pyqt5.qtmultimedia. In general if you get such missing qt imports, looking for an appropriate python3-pyqt5.* package should solve the issue. As for the file - you simply need to make a file in <wherever you unpacked the source package>/res called RELEASE-VERSION, and put 0.16.0 (or any current version) as the only thing in it. You can do it with any text editor you want.


That seemed to work, but now i get this error instead:

Traceback (most recent call last):
File "__main__.py", line 42, in <module>
import util
File "/home/nicolai/Downloads/client-0.16.0/src/util/__init__.py", line 15, in <module>
from config import Settings
File "/home/nicolai/Downloads/client-0.16.0/src/config/__init__.py", line 5, in <module>
import trueskill
ModuleNotFoundError: No module named 'trueskill'

Am i doing something wrong here or what?
GenoC
 
Posts: 7
Joined: 11 Nov 2017, 18:25
Has liked: 0 time
Been liked: 0 time
FAF User Name: GenoC

PreviousNext

Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest