AusweisApp2 launches without UI, logs errors about missing QT Modules

Bug #1902897 reported by Leopold Seckendorff
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ausweisapp2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

initial installation via `sudo apt install ausweisapp2` caused the app to start without a UI. the sys tray icon was showing and the app could be exited. the log file yielded the following information:

```
init 2020.11.04 16:00:51.165 19817 I printInfo(init/Bootstrap.cpp:56) : ##################################################
init 2020.11.04 16:00:51.165 19817 I printInfo(init/Bootstrap.cpp:60) : ### Application: AusweisApp2
init 2020.11.04 16:00:51.165 19817 I printInfo(init/Bootstrap.cpp:60) : ### Application Version: 1.20.0
init 2020.11.04 16:00:51.165 19817 I printInfo(init/Bootstrap.cpp:60) : ### Organization:
init 2020.11.04 16:00:51.165 19817 I printInfo(init/Bootstrap.cpp:60) : ### Organization Domain:
init 2020.11.04 16:00:51.165 19817 I printInfo(init/Bootstrap.cpp:60) : ### System: Ubuntu 20.04.1 LTS
init 2020.11.04 16:00:51.165 19817 I printInfo(init/Bootstrap.cpp:60) : ### Kernel: 5.4.0-52-generic
init 2020.11.04 16:00:51.165 19817 I printInfo(init/Bootstrap.cpp:60) : ### Architecture: x86_64
init 2020.11.04 16:00:51.165 19817 I printInfo(init/Bootstrap.cpp:60) : ### Device: megapod-ubuntu
init 2020.11.04 16:00:51.165 19817 I printInfo(init/Bootstrap.cpp:60) : ### Qt Version: 5.12.8
init 2020.11.04 16:00:51.165 19817 I printInfo(init/Bootstrap.cpp:60) : ### OpenSSL Version: OpenSSL 1.1.1f 31 Mar 2020
init 2020.11.04 16:00:51.165 19817 I printInfo(init/Bootstrap.cpp:62) : ##################################################
init 2020.11.04 16:00:51.167 19817 printInfo(init/Bootstrap.cpp:77) : Library path: "/usr/lib/x86_64-linux-gnu/qt5/plugins"
init 2020.11.04 16:00:51.167 19817 printInfo(init/Bootstrap.cpp:77) : Library path: "/usr/bin"

default 2020.11.04 16:00:51.224 19817 W unknown(unknown:0) : qrc:/qml/main.qml:30 module "QtGraphicalEffects" is not installed
qrc:/qml/main.qml:29 module "QtQuick.Controls" is not installed
qrc:/qml/main.qml:27 module "QtQml.Models" is not installed
qrc:/qml/main.qml:28 module "QtQuick" is not installed
qrc:/qml/main.qml:30 module "QtGraphicalEffects" is not installed
qrc:/qml/main.qml:29 module "QtQuick.Controls" is not installed
qrc:/qml/main.qml:27 module "QtQml.Models" is not installed
qrc:/qml/main.qml:28 module "QtQuick" is not installed
qrc:/qml/main.qml:30 module "QtGraphicalEffects" is not installed
qrc:/qml/main.qml:29 module "QtQuick.Controls" is not installed
qrc:/qml/main.qml:27 module "QtQml.Models" is not installed
qrc:/qml/main.qml:28 module "QtQuick" is not installed
qrc:/qml/main.qml:30 module "QtGraphicalEffects" is not installed
qrc:/qml/main.qml:29 module "QtQuick.Controls" is not installed
qrc:/qml/main.qml:27 module "QtQml.Models" is not installed
qrc:/qml/main.qml:28 module "QtQuick" is not installed
```

the bug could be resolved by installing the following packages:

`sudo apt install qml-module-qtgraphicaleffects qml-module-qtqml-models2 qml-module-qtquick-controls2 qml-module-qtqml-models2 qml-module-qtquick-layouts`

note the layouts package is required as well, although not in the initial log file.

Revision history for this message
Tejas (tejaskale27-s) wrote :

+1 Thats the only thing stopping this from working on Linux.

Shouldnt these packages typically be dependencies of this one ?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ausweisapp2 (Ubuntu):
status: New → Confirmed
Revision history for this message
Leopold Seckendorff (poddus) wrote :

seems like a simple fix of adding the dependencies to the dist

Revision history for this message
André Klitzing (misery) wrote :

That should be fixed by latest backport in Debian.
https://packages.debian.org/buster-backports/ausweisapp2

Revision history for this message
Ahmad Gharbeia أحمد غربية (gharbeia) wrote :

I found out that installing qml-module-qtgraphicaleffects and qml-module-qtquick-layouts solves the issue and now AusweisApp2 shows its interface when launched in Ubuntu 20.04

Revision history for this message
André Klitzing (misery) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers