status-im / status-desktop

Status Desktop client made in Nim & QML
https://status.app
Mozilla Public License 2.0
304 stars 79 forks source link

[WalletConnect] Cannot load wallet connect SDK on linux #16391

Closed alexjba closed 1 month ago

alexjba commented 2 months ago

Bug Report

The WalletConnect html page cannot be loaded by the web view on linux. As a result the WC connection is disabled.

Description

Steps to reproduce

Try to pair any dApp. The URL validation fails. There's no init log in the console.

Expected behavior

Wallet connect gets initialised and dApp pairing works.

Actual behavior

Wallet connect is not initialised and dApp pairing doesn't work

Additional Information

alexjba commented 2 months ago

The nix build is missing the web engine dependency. But local builds without nix are not working either.

INF 2024-09-24 15:25:33.524Z mailserver available                       topics="mailservers-service" tid=5874 file=service.nim:160
INF 2024-09-24 15:25:34.273Z history request started                    topics="mailservers-service" tid=5874 file=service.nim:170 numBatches=1
INF 2024-09-24 15:25:34.686Z history request completed                  topics="mailservers-service" tid=5874 file=service.nim:175
WRN 2024-09-24 15:25:40.344Z qt warning                                 topics="qt" tid=5969 text="libpng warning: iCCP: known incorrect sRGB profile" file=:0 category=default
WRN 2024-09-24 15:25:40.842Z qt warning                                 topics="qt" tid=5969 text="libpng warning: iCCP: known incorrect sRGB profile" file=:0 category=default
WRN 2024-09-24 15:25:42.216Z qt warning                                 topics="qt" tid=5969 text="libpng warning: iCCP: known incorrect sRGB profile" file=:0 category=default
WRN 2024-09-24 15:25:42.217Z qt warning                                 topics="qt" tid=5969 text="libpng warning: iCCP: known incorrect sRGB profile" file=:0 category=default
FAT 2024-09-24 15:26:01.341Z qt fatal error                             topics="qt" tid=5874 text="Could not find QtWebEngineProcess" file=:0 category=default
SIGABRT: Abnormal termination.
Aborted (core dumped)

cc @yakimant @anastasiyaig

alexjba commented 2 months ago

cc @micieslak

caybro commented 2 months ago

The nix build is missing the web engine dependency. But local builds without nix are not working either.

INF 2024-09-24 15:25:33.524Z mailserver available                       topics="mailservers-service" tid=5874 file=service.nim:160
INF 2024-09-24 15:25:34.273Z history request started                    topics="mailservers-service" tid=5874 file=service.nim:170 numBatches=1
INF 2024-09-24 15:25:34.686Z history request completed                  topics="mailservers-service" tid=5874 file=service.nim:175
WRN 2024-09-24 15:25:40.344Z qt warning                                 topics="qt" tid=5969 text="libpng warning: iCCP: known incorrect sRGB profile" file=:0 category=default
WRN 2024-09-24 15:25:40.842Z qt warning                                 topics="qt" tid=5969 text="libpng warning: iCCP: known incorrect sRGB profile" file=:0 category=default
WRN 2024-09-24 15:25:42.216Z qt warning                                 topics="qt" tid=5969 text="libpng warning: iCCP: known incorrect sRGB profile" file=:0 category=default
WRN 2024-09-24 15:25:42.217Z qt warning                                 topics="qt" tid=5969 text="libpng warning: iCCP: known incorrect sRGB profile" file=:0 category=default
FAT 2024-09-24 15:26:01.341Z qt fatal error                             topics="qt" tid=5874 text="Could not find QtWebEngineProcess" file=:0 category=default
SIGABRT: Abnormal termination.
Aborted (core dumped)

cc @yakimant @anastasiyaig

Local build works fine here on Fedora:

❯ locate QtWebEngineProcess
/home/ltinkl/Qt/5.15.2/gcc_64/libexec/QtWebEngineProcess
/home/ltinkl/Qt/5.15.2/gcc_64/libexec/QtWebEngineProcess.debug
/home/ltinkl/Qt/6.7.2/gcc_64/libexec/QtWebEngineProcess
/nix/store/xwv8s8r2hxrp725r7qvd9kl0rskb3xf8-android-sdk-emulator-34.1.9/libexec/android-sdk/emulator/lib64/qt/libexec/QtWebEngineProcess
/usr/lib64/qt5/libexec/QtWebEngineProcess
/usr/lib64/qt6/libexec/QtWebEngineProcess
/var/lib/flatpak/app/net.xm1math.Texmaker/x86_64/stable/0db100eef807ce55b7572d4fabae2618b6d07b8cf041ebfb5b6d8504c4dd760b/files/bin/QtWebEngineProcess

❯ rpm -qf /usr/lib64/qt5/libexec/QtWebEngineProcess
qt5-qtwebengine-5.15.17-9.fc40.x86_64