Bug 470585 - "Show network's QR Code" feature does not work due to lack of Prison framework
Summary: "Show network's QR Code" feature does not work due to lack of Prison framework
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages Unstable Edition (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-06-03 11:16 UTC by Patrick Silva
Modified: 2023-07-03 12:31 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2023-06-03 11:16:51 UTC
STEPS TO REPRODUCE
1. connect to a wi-fi network
2. click on the plasma-nm applet
3. click on the connected wi-fi network and then click on its "Show network's QR Code" button

OBSERVED RESULT
nothing happens

EXPECTED RESULT
network's QR Code is shown

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240.0
Qt Version: 6.5.0
Graphics Platform: Wayland
Comment 1 Nate Graham 2023-06-03 17:43:26 UTC
This is working for me; I suspect a packaging bug. Can you kill plasmashell, run it in a terminal window, and print the console output that appears when you click on the "Show network's QR Code" button?
Comment 2 Patrick Silva 2023-06-03 17:56:53 UTC
org.kde.UserFeedback: failed to probe user feedback submission interface: "Error transferring https://telemetry.kde.org/receiver/submit/org.kde.plasmashell - server replied: " "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.52 (Ubuntu) Server at telemetry.kde.org Port 443</address>\n</body></html>\n"
Could not create Plasma Calendar Plugin:  "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasmacalendarplugins/holidaysevents.so"
"The shared library was not found."
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/plasma/components/mobiletextselection/MobileCursor.qml:34:13: Unable to assign [undefined] to bool
kf.idletime: Could not find any system poller plugin
qt.core.qobject.connect: QObject::connect(KAbstractIdleTimePoller, KIdleTime): invalid nullptr parameter
qt.core.qobject.connect: QObject::connect(KAbstractIdleTimePoller, KIdleTime): invalid nullptr parameter
qml: Barcodes not supported: Error: Qt.createQmlObject(): failed to create object: 
    file:///usr/share/plasma/plasmoids/org.kde.plasma.clipboard/contents/ui/inline:1:19: module "org.kde.prison" is not installed
file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/plasma/components/mobiletextselection/MobileCursor.qml:34:13: Unable to assign [undefined] to bool
file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/plasma/components/mobiletextselection/MobileCursor.qml:34:13: Unable to assign [undefined] to bool
qt.dbus.integration: Could not connect "com.canonical.dbusmenu" to "ItemsPropertiesUpdated"
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
file:///usr/share/plasma/plasmoids/org.kde.plasma.clipboard/contents/ui/UrlItemDelegate.qml:55: TypeError: Cannot read property 'preview' of undefined
file:///usr/share/plasma/plasmoids/org.kde.plasma.clipboard/contents/ui/UrlItemDelegate.qml:55: TypeError: Cannot read property 'preview' of undefined
file:///usr/share/plasma/plasmoids/org.kde.plasma.clipboard/contents/ui/UrlItemDelegate.qml:55: TypeError: Cannot read property 'preview' of undefined
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
kf.kio.core: "/usr/lib/x86_64-linux-gnu/qt6/plugins/kf6/kio/kio_file.so" doesn't implement WorkerFactory?
kf.kio.core: "/usr/lib/x86_64-linux-gnu/qt6/plugins/kf6/kio/kio_file.so" doesn't implement WorkerFactory?
qt.qml.context: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/CompactRepresentation.qml:26:5 Parameter "mouse" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead.
trying to show an empty dialog
file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/TrafficMonitor.qml:94: TypeError: Cannot insert into a readonly container
file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/TrafficMonitor.qml:91: TypeError: Cannot insert into a readonly container
Vertex input 7 is present in material but not in shader. This is wrong.
qml: Cannot create QR code component: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/ShareNetworkQrCodePage.qml:14 module "org.kde.prison" is not installed

file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/plasma/components/ScrollView.qml:53:29: QML ScrollBar: Binding loop detected for property "visible"
file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/plasma/components/ScrollView.qml:53:29: QML ScrollBar: Binding loop detected for property "visible"
file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/plasma/components/ScrollView.qml:45:27: QML ScrollBar: Binding loop detected for property "visible"
file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/plasma/components/ScrollView.qml:45:27: QML ScrollBar: Binding loop detected for property "visible"
Comment 3 Nate Graham 2023-06-03 18:05:17 UTC
> qml: Cannot create QR code component: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/ShareNetworkQrCodePage.qml:14 module "org.kde.prison" is not installed

Yep, Neon packaging bug. The Prison framework isn't installed, or is being installed from its Qt5 version, or isn't available in some other way.
Comment 4 Carlos De Maine 2023-07-03 12:31:52 UTC
kf6-prison was lacking quite a few deps.  now fixed and nm applet has been recompiled and confirmed to show qr code.