Bug 32694 - Nothing happens when you launch qflipper from Menu. It works from AppImage
Summary: Nothing happens when you launch qflipper from Menu. It works from AppImage
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: I027614@gmail.com
Whiteboard: I027614@gmail.com
Keywords: advisory
Depends on:
Blocks:
 
Reported: 2024-01-05 23:14 CET by I027614 I027614
Modified: 2024-09-18 21:03 CEST (History)
7 users (show)

See Also:
Source RPM: qflipper-1.3.2-1.mga9.src.rpm
CVE:
Status comment:


Attachments

Description I027614 I027614 2024-01-05 23:14:53 CET
Description of problem:

When launching qflipper from Menu nothing happens. When launched from console you get:

qFlipper
13 [default] QQmlApplicationEngine failed to load component
13 [default] qrc:/main.qml:2:1: module "QtQuick.Window" is not installed
13 [default] qrc:/main.qml: module "QtQml.WorkerScript" is not installed
13 [default] qrc:/main.qml:2:1: module "QtQuick.Window" is not installed
13 [default] qrc:/main.qml: module "QtQml.WorkerScript" is not installed
13 [APP] qFlipper version 1.3.2 commit 7b0839e 2023-06-08T12:58:22
13 [APP] OS info: Mageia 9 9 6.5.13-desktop-6.mga9 Qt 6.4.1

After installing qtdeclarative6 the graphic environment works, but it doesn't recognize the device. Apparently a question of permissions.

It works from its AppImage.

Version-Release number of selected component (if applicable):

qflipper.1.3.2-1.mga9

How reproducible:

Installing qflipper from repositories and running it

Steps to Reproduce:
1. Install qflipper from repositories
2. Run it
3. Install qtdeclarative6 and run qflipper. Connect a Flipper Zero device through USB
4. Run qflipper from AppImage to compare
I027614 I027614 2024-01-05 23:16:01 CET

Source RPM: qflipper.1.3.2-1.mga9 => qflipper.1.3.2-1.mga9.src.rpm

Comment 1 Lewis Smith 2024-01-09 19:17:18 CET
Thank you for the report.

Description : Desktop application for updating Flipper Zero firmware via PC.
Group       : System/Kernel and hardware

Re the requirement you discovered for qtdeclarative6, it is true that currently qflipper has no even indirect declared requirement for it; and conversely, qtdeclarative[5|6] is not required even indirectly by qflipper.

Installed & ran qFlipper, Confirmed the terminal output in comment 0.
Installed qtdeclarative6, running qFlipper from menu or terminal pops its primitive GUI "Connect your Flipper"; "Waiting for devices"; and this is logged:
[APP] qFlipper version 1.3.2 commit 7b0839e 2023-06-08T12:58:22
[APP] OS info: Mageia 9 9 6.5.13-desktop-6.mga9 Qt 6.4.1

So we need to see why the device - what is it? - is not seen. If it is a USB thingy, please pôst the O/P of:
 $ lsusb
or if a PCI device:
 $ lspci

A newer version: 1.3.3 exists in Cauldron. Maybe it would be simplest to try that. It was done by DavidG, so assigning this bug to him to make that available. Oh - and add the requirement for 'qtdeclarative6'.

@I027614 I027614
Are you able to get things from updates_testing repository if required? You would be the best person to try the update if David does it.

CC: (none) => lewyssmith
Assignee: bugsquad => geiger.david68210

Comment 2 I027614 I027614 2024-01-10 20:31:24 CET
Hello.

The device is a Flipper Zero (connected through USB).

lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 010: ID 0b05:190e ASUSTek Computer, Inc. ASUS USB-BT500
Bus 001 Device 008: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 001 Device 005: ID 413c:2107 Dell Computer Corp. KB212-B Quiet Key Keyboard
Bus 001 Device 006: ID 07ca:a801 AVerMedia Technologies, Inc. AVerTV DVB-T (A800)
Bus 001 Device 003: ID 0409:0058 NEC Corp. HighSpeed Hub
Bus 001 Device 012: ID 0483:5740 STMicroelectronics Virtual COM Port
Bus 001 Device 009: ID 046d:08e5 Logitech, Inc. C920 PRO HD Webcam
Bus 001 Device 011: ID 046d:0a66 Logitech, Inc. [G533 Wireless Headset Dongle]
Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I may add that repository if required, just let me know.

Thanks

URL: (none) => I027614@gmail.com

Comment 3 David GEIGER 2024-08-12 08:55:07 CEST
Could you please test with this upstream udev rules files at:

https://raw.githubusercontent.com/flipperdevices/qFlipper/dev/installer-assets/udev/42-flipperzero.rules

Simply replace the "/usr/lib/udev/rules.d/42-flipperzero.rules" file

And add you user in Group "dialout"
Comment 4 I027614 I027614 2024-08-12 12:42:59 CEST
Sorry to say that was already the running configuration.

By the way, it is the same problem with Arduino Lab for Micropython: no way to connect the device, endless loop.

Thanks

Whiteboard: (none) => I027614@gmail.com

Comment 5 katnatek 2024-08-12 18:23:21 CEST
Try install lib64qt6serialport6
Comment 6 David GEIGER 2024-08-13 09:21:38 CEST
Could you test with new qflipper 1.3.3, please?

Assigning to QA,

Package in 9/Core/Updates_testing:
=====================
qflipper-1.3.3-1.mga9

From SRPMS:
qflipper-1.3.3-1.mga9.src.rpm

Assignee: geiger.david68210 => qa-bugs

Comment 7 I027614 I027614 2024-08-13 14:33:59 CEST
These are the screenshots of the new version and the Appimage:

https://wetransfer.com/downloads/c818bdaf0c8db673913d11971fd5b79f20240813121058/2cf7010f1cc7a2171a9fa78690cd21d620240813121126/16abe1?trk=TRN_TDL_01&utm_campaign=TRN_TDL_01&utm_medium=email&utm_source=sendgrid

(Link valid for three days).

As you can see, the AppImage version works fine, but the packaged one doesn't recognize the device as a valid one. Both have the same version number.

I have followed the instructions shown in qFlipper screen, but to no avail:

https://pastebin.com/V8AKbDEM

Thanks
Comment 8 David GEIGER 2024-08-14 09:35:23 CEST
What is the content of the udev rules file used by the Appimage one?

CC: (none) => geiger.david68210

Comment 9 I027614 I027614 2024-08-14 18:10:17 CEST
Here you are:

https://pastebin.com/LdWHk7xW

Thanks
Comment 10 Herman Viaene 2024-08-15 12:03:21 CEST
MGA9-64 Plasma Wayland on HP-Pavillion.
No installation issues.
$ qFlipper
1526 [APP] qFlipper version 1.3.3 commit bfce851 2023-11-10T10:40:31
1527 [APP] OS info: Mageia 9 9 6.6.43-server-1.mga9 Qt 6.4.1
A window appears "Connect your flipper" I have no idea what  that is, but apparently it does not disturb anything else
Better waiting for someone equipped with a flipper???

CC: (none) => herman.viaene

Comment 11 Thomas Andrews 2024-08-18 03:48:20 CEST
@Herman:   https://en.wikipedia.org/wiki/Flipper_Zero

I think we are probably going to have to rely on the reporter to test anything beyond a clean install on this one.

CC: (none) => andrewsfarm

Len Lawrence 2024-08-19 12:26:04 CEST

CC: (none) => tarazed25
Keywords: (none) => advisory

papoteur 2024-08-22 19:58:32 CEST

Source RPM: qflipper.1.3.2-1.mga9.src.rpm => qflipper-1.3.2-1.mga9.src.rpm
CC: (none) => yvesbrungard

Comment 12 mesb mesb 2024-09-18 21:03:52 CEST
(In reply to David GEIGER from comment #6)
> Could you test with new qflipper 1.3.3, please?
> 
> Assigning to QA,
> 
> Package in 9/Core/Updates_testing:
> =====================
> qflipper-1.3.3-1.mga9
> 
> From SRPMS:
> qflipper-1.3.3-1.mga9.src.rpm

Nothing works for me also.

Just says connect your flipper.

1509 [APP] qFlipper version 1.3.3 commit bfce851 2023-11-10T12:40:31
1509 [APP] OS info: Mageia 9 9 6.6.43-desktop-1.mga9 Qt 6.4.1
3326 [RPC] Starting RPC session...
3526 [RPC] RPC session started successfully.
3538 [RPC] (1) System Protobuf Version START
3608 [RPC] (1) System Protobuf Version SUCCESS
3619 [RPC] (2) Property Get START
9101 [RPC] Serial connection was lost.
9103 [RPC] Stopping RPC session...
9127 [default] qrc:/components/StatusBar.qml:22:9: QML IconImage: Error decoding: qrc:/assets/gfx/symbolic/info-small.svg: Unsupported image format
9130 [RPC] (2) Property Get ERROR: RPC session was stopped with operations still running
9131 [RPC] RPC session stopped successfully.
9234 [default] qrc:/styles/DefaultAmber/IconLabelEx.qml:20:5: QML IconImage: Error decoding: qrc:/assets/gfx/symbolic/arrow-back.svg: Unsupported image format
12436 [RPC] Starting RPC session...
12573 [RPC] RPC session started successfully.
12574 [RPC] (1) System Protobuf Version START
12652 [RPC] (1) System Protobuf Version SUCCESS
12664 [RPC] (2) Property Get START
16385 [default] qrc:/styles/DefaultAmber/IconLabelEx.qml:20:5: QML IconImage: Error decoding: qrc:/assets/gfx/symbolic/arrow-back.svg: Unsupported image format
17118 [default] qrc:/styles/DefaultAmber/IconLabelEx.qml:20:5: QML IconImage: Error decoding: qrc:/assets/gfx/symbolic/arrow-back.svg: Unsupported image format
17300 [default] qrc:/styles/DefaultAmber/IconLabelEx.qml:20:5: QML IconImage: Error decoding: qrc:/assets/gfx/symbolic/arrow-back.svg: Unsupported image format
17306 [default] qrc:/components/StatusBar.qml:22:9: QML IconImage: Error decoding: qrc:/assets/gfx/symbolic/info-small.svg: Unsupported image format
17310 [default] qrc:/styles/DefaultAmber/IconLabelEx.qml:20:5: QML IconImage: Error decoding: qrc:/assets/gfx/symbolic/arrow-back.svg: Unsupported image format
17451 [default] qrc:/styles/DefaultAmber/IconLabelEx.qml:20:5: QML IconImage: Error decoding: qrc:/assets/gfx/symbolic/arrow-back.svg: Unsupported image format
29122 [APP] qFlipper exited
29315 [default] "There are still \"1\" items in the process of being created at engine destruction."

CC: (none) => b116d


Note You need to log in before you can comment on or make changes to this bug.