English Amiga Board

English Amiga Board (http://eab.abime.net/index.php)
-   support.FS-UAE (http://eab.abime.net/forumdisplay.php?f=122)
-   -   Problems with the introduction of QT5 (Linux) (http://eab.abime.net/showthread.php?t=76690)

toxicshadow 19 January 2015 21:47

Problems with the introduction of QT5 (Linux)
 
Hi Frode,

Get the following error when trying to launch fs-uae-launcher:

Code:

toxicshadow@toxicshadow-pc:~$ fs-uae-launcher
checking /usr/bin/Portable.ini
checking /usr/Portable.ini
checking /Portable.ini
no Portable.ini found in search path
base_dir not decided yet, checking FS_UAE_BASE_DIR
using default base_dir
- checking /home/toxicshadow/.config/fs-uae-launcher/base-dir
- checking /home/toxicshadow/.config/fs-uae/base-dir
XDG user dir DOCUMENTS => '/home/toxicshadow/Documents'
base dir is /home/toxicshadow/Documents/FS-UAE
fs-uae-launcher
2.5.24dev
devel
enabling except hook
enable tread exception handler
uname_result(system='Linux', node='toxicshadow-pc', release='3.16.0-29-generic', version='#39-Ubuntu SMP Mon Dec 15 22:27:29 UTC 2014', machine='x86_64', processor='x86_64')
['/usr/bin/fs-uae-launcher']
FS-UAE Launcher 2.5.24dev

Unhandled exception detected in thread MainThread:
  ImportError:qt.py:<module>:35

Traceback (most recent call last):
  File "/usr/bin/fs-uae-launcher", line 84, in <module>
    from fs_uae_launcher.FSUAELauncher import FSUAELauncher
  File "/usr/share/fs-uae-launcher/fs_uae_launcher/FSUAELauncher.py", line 6, in <module>
    from fs_uae_launcher.ui.download import DownloadGameWindow, DownloadTermsDialog
  File "/usr/share/fs-uae-launcher/fs_uae_launcher/ui/download.py", line 4, in <module>
    import fsui
  File "/usr/share/fs-uae-launcher/fsui/__init__.py", line 14, in <module>
    from .qt import *
  File "/usr/share/fs-uae-launcher/fsui/qt/__init__.py", line 4, in <module>
    from .qt import *
  File "/usr/share/fs-uae-launcher/fsui/qt/qt.py", line 35, in <module>
    from PyQt5.QtOpenGL import *
ImportError: No module named 'PyQt5.QtOpenGL'


Unhandled exception detected in thread MainThread:
  ImportError:qt.py:<module>:35

Traceback (most recent call last):
  File "/usr/bin/fs-uae-launcher", line 84, in <module>
    from fs_uae_launcher.FSUAELauncher import FSUAELauncher
  File "/usr/share/fs-uae-launcher/fs_uae_launcher/FSUAELauncher.py", line 6, in <module>
    from fs_uae_launcher.ui.download import DownloadGameWindow, DownloadTermsDialog
  File "/usr/share/fs-uae-launcher/fs_uae_launcher/ui/download.py", line 4, in <module>
    import fsui
  File "/usr/share/fs-uae-launcher/fsui/__init__.py", line 14, in <module>
    from .qt import *
  File "/usr/share/fs-uae-launcher/fsui/qt/__init__.py", line 4, in <module>
    from .qt import *
  File "/usr/share/fs-uae-launcher/fsui/qt/qt.py", line 35, in <module>
    from PyQt5.QtOpenGL import *
ImportError: No module named 'PyQt5.QtOpenGL'

Is there now a dependency on QT5?

toxicshadow 19 January 2015 21:56

To fix the issue I had to install the following:

qt5-default
qttools5-dev-tools
python3-pyqt5.qtopengl

Guess its a problem detecting that qt5 is not installed

FrodeSolheim 21 January 2015 21:14

The problem was most likely that python3-pyqt5 was installed (so fs-uae-launcher found that), but python3-pyqt5.qtopengl was not installed. Anyway, I'm reverting to prefer pyqt4. Among other things, it wasn't a good idea to change the preference without also changing the package dependencies :)


All times are GMT +2. The time now is 05:10.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.

Page generated in 0.04351 seconds with 11 queries