Native linux client problem on arch linux

This is for troubleshooting of problems with the FAF client and Forged Alliance game.

Moderator: PhilipJFry

Native linux client problem on arch linux

Postby achiraaz » 09 Feb 2017, 15:02

Hi I have recently started using the native arch linux package of the client as described here:
http://wiki.faforever.com/index.php?tit ... _FAF_Linux

However since I recently updated PyQt to latest version (I assume thats why at least) I have had some problems as can be seen in stacktrace below:
Code: Select all
2017-02-09 11:45:19,321 INFO     root                           FAF version: 0.12.1 Environment: production
2017-02-09 11:45:19,321 INFO     util                           PERSONAL_DIR initial: /home/achiraaz/Documents
2017-02-09 11:45:19,321 INFO     util                           PERSONAL_DIR final: /home/achiraaz/Documents
2017-02-09 11:45:19,411 INFO     __main__                       >>> --------------------------- Application Launch
2017-02-09 11:45:19,420 ERROR    __main__                       Uncaught exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/lib/python2.7/site-packages/fafclient/__main__.py", line 130, in <module>
    runFAF()
  File "/usr/lib/python2.7/site-packages/fafclient/__main__.py", line 87, in runFAF
    import client
  File "/usr/lib/python2.7/site-packages/fafclient/client/__init__.py", line 43, in <module>
    from _clientwindow import ClientWindow
  File "/usr/lib/python2.7/site-packages/fafclient/client/_clientwindow.py", line 11, in <module>
    import chat
  File "/usr/lib/python2.7/site-packages/fafclient/chat/__init__.py", line 33, in <module>
    from _chatwidget import ChatWidget as Lobby
  File "/usr/lib/python2.7/site-packages/fafclient/chat/_chatwidget.py", line 15, in <module>
    from chat.channel import Channel
  File "/usr/lib/python2.7/site-packages/fafclient/chat/channel.py", line 2, in <module>
    from fa.replay import replay
  File "/usr/lib/python2.7/site-packages/fafclient/fa/__init__.py", line 18, in <module>
    from replay import replay
  File "/usr/lib/python2.7/site-packages/fafclient/fa/replay.py", line 5, in <module>
    from fa.check import check
  File "/usr/lib/python2.7/site-packages/fafclient/fa/check.py", line 7, in <module>
    from fa.mods import checkMods
  File "/usr/lib/python2.7/site-packages/fafclient/fa/mods.py", line 3, in <module>
    import modvault
  File "/usr/lib/python2.7/site-packages/fafclient/modvault/__init__.py", line 51, in <module>
    from modvault.utils import *
  File "/usr/lib/python2.7/site-packages/fafclient/modvault/utils.py", line 12, in <module>
    from vault import luaparser
  File "/usr/lib/python2.7/site-packages/fafclient/vault/__init__.py", line 2, in <module>
    from PyQt4 import QtWebKit
ImportError: cannot import name QtWebKit


I am guessing that the solution is to upgrade PyQt to version 5 or maybe fix the issue with QtWebKit in some other way... Alternatively, I could downgrade the PyQt package but I dont know if that is a viable solution in the long run.

Suggestions are more than welcome
achiraaz
Crusader
 
Posts: 12
Joined: 27 Feb 2016, 22:39
Has liked: 0 time
Been liked: 0 time
FAF User Name: Achiraaz

Re: Native linux client problem on arch linux

Postby DukeOfEarl » 10 Feb 2017, 09:10

For now you will probably need to downgrade.
DevOps Councillor and Maintainer of the FAF Python Client
aka Duke / OppressiveDuke / DukeOfEarl / duk3luk3 - call me Duke

Problems? Get help in the Tech Support Forum
Have I fixed your problems? You can support me on Patreon and LiberaPay!
User avatar
DukeOfEarl
Avatar-of-War
 
Posts: 206
Joined: 17 Apr 2013, 14:31
Has liked: 12 times
Been liked: 18 times
FAF User Name: OppressiveDuke

Re: Native linux client problem on arch linux

Postby poida » 13 Feb 2017, 12:14

I'm using arch and this also broke me.

Would you mind giving an arch noob some help on what commands I'd need to run to get it working again? I tried installing what I thought were the old dependencies out of /var/ but it didn't seem to help.
poida
 
Posts: 1
Joined: 13 Feb 2017, 12:12
Has liked: 0 time
Been liked: 0 time
FAF User Name: poida

Re: Native linux client problem on arch linux

Postby DukeOfEarl » 13 Feb 2017, 22:45

I think the main package you need to downgrade is python2-pyqt4 to 4.12-3.
DevOps Councillor and Maintainer of the FAF Python Client
aka Duke / OppressiveDuke / DukeOfEarl / duk3luk3 - call me Duke

Problems? Get help in the Tech Support Forum
Have I fixed your problems? You can support me on Patreon and LiberaPay!
User avatar
DukeOfEarl
Avatar-of-War
 
Posts: 206
Joined: 17 Apr 2013, 14:31
Has liked: 12 times
Been liked: 18 times
FAF User Name: OppressiveDuke


Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest