NetworlManagement qml error

As usual, Hi there and thx for reading and answering this post.

When I click on the network management plasma widget, I don’t get the list of all the wifi around me, but this:

qrc:/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/main.qml:40:34: Type PopupDialog unavailable

 

 qrc:/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/PopupDialog.qml:51:9: Type Toolbar unavailable
 

 <Unknown File>:64:5: Element is not creatable.


I obviously checked if /usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/PopupDialog.qml is still there and also [FONT=monospace]/usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/Toolbar.qml

and they do.

What’s wrong with PopupDialog.qml ?

[/FONT]

  1. How did you instal Leap 15.4?
  2. If you search all the files located in ‘/etc/zypp/repos.d/’ for the string “baseurl” are the repositories either all pointing to a “15.4” URL or, do they contain the string “$releasever”? – Both of these strings are correct …
  3. If any of the repositories are pointing to URLs which are not those appropriate for Leap 15.4, please correct this error.
  4. After ensuring that, you’re using the correct repositories, please verify your installation.

 # zypper refresh --force
 # zypper patch
 # zypper update
 ** Reboot **
 # zypper verify --details
 # rpm --verify --all

Thx for answering.

All my repos have been checked and are for 15.4.

But I found out something strange. The involved PopupDialog.qml is present in /usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/ . However, when I remove it, I get the same error message as before:

qrc:/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/main.qml:40:34: Type PopupDialog unavailable

 

 qrc:/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/PopupDialog.qml:51:9: Type Toolbar unavailable

 

 <Unknown File>:64:5: Element is not creatable.


Then, the RPM Verify should indicate that the plasma-nm5 package is missing the file you removed –

  • You’ll have to forcibly re-install all the Plasma5 packages on your system.

[HR][/HR]Currently on my Leap 15.3 system – I’ll check with my Leap 15.4 Laptop in an hour or so – I was not experiencing your Network Manager issue after upgrading to Leap 15.4 yesterday.

@lader1:

On the following system, I’m not seeing the Network Manager Plasmoid issue you’re experiencing.

Operating System: openSUSE Leap 15.4
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.14.21-150400.22-default (64-bit)
Graphics Platform: X11
Processors: 4 × AMD A10-5750M APU with Radeon™ HD Graphics
Memory: 7.0 GiB of RAM
Graphics Processor: AMD ARUBA

One thing to note – the file ‘/usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/PopupDialog.qml’ doesn’t define the Popup dialogue as such – it only defines some objects used by the dialogue – the “PopupDialog” object is defined in the file ‘/usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/main.qml’ …

You may have noticed that, near the beginning of these QML files some files are imported –

  • Are you absolutely certain that, all the required Qt and KDE Plasma components have been installed by the upgrade you performed?

That’s true, I’m not certain that all the needed files have been installed. I think I have installed 15.4 over a 15.3 damaged structure. I had to rebuild the rpm database before, and since this moment, I experienced glitches.

Please check if, the list of repositories you’re using resembles something like this – the example is from a German language machine –

  • The Packman, KDE:Extra, Multimedia and VideoLAN repositories are optional – the rest are mandatory –

#  | Alias                         | Name                                                                                | Enabled  | GPG Check       | Refresh      | URI
---+-------------------------------+------------------------------------------------------------------------------------+-----------+---------------+----------------+-----------------------------------------------------------------------------------------
 1 | Essentials                    | Packman Repository - Essentials                                                     | Ja       | (r ) Ja         | Ja           | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.4/Essentials/
 2 | KDE:Extra                     | KDE: Extra                                                                          | Ja       | (r ) Ja         | Ja           | https://download.opensuse.org/repositories/KDE:/Extra/openSUSE_Leap_15.4/
 3 | Multimedia:Libs               | Multimedia: Libs                                                                    | Ja       | (r ) Ja         | Ja           | https://download.opensuse.org/repositories/multimedia:/libs/openSUSE_Leap_15.4/
 [size=2]4 | VideoLAN                      | VideoLAN                                                                            | Ja       | (r ) Ja         | Ja           | https://download.videolan.org/SuSE/15.4/
 5 | openSUSE-Leap-15.4-1          | openSUSE-Leap-15.4-1                                                                | Nein     | ----            | ----         | cd:/?devices=/dev/disk/by-id/ata-DRW-24D5MT_KLZJACF5004
 6 | repo-backports-update         | Update repository of openSUSE Backports                                             | Ja       | (r ) Ja         | Ja           | http://download.opensuse.org/update/leap/15.4/backports/
 7 | repo-non-oss                  | Non-OSS Repository                                                                  | Ja       | (r ) Ja         | Ja           | http://download.opensuse.org/distribution/leap/15.4/repo/non-oss/
 8 | repo-oss                      | Haupt-Repository                                                                    | Ja       | (r ) Ja         | Ja           | http://download.opensuse.org/distribution/leap/15.4/repo/oss/
 9 | repo-sle-update               | Update repository with updates from SUSE Linux Enterprise 15                        | Ja       | (r ) Ja         | Ja           | http://download.opensuse.org/update/leap/15.4/sle/
10 | repo-update                   | Hauptaktualisierungs-Repository                                                     | Ja       | (r ) Ja         | Ja           | http://download.opensuse.org/update/leap/15.4/oss
11 | repo-update-non-oss           | Aktualisierungs-Repository (Nicht-Open-Source-Software)                             | Ja       | (r ) Ja         | Ja           | http://download.opensuse.org/update/leap/15.4/non-oss/[/size]

Then –

 # zypper refresh --force
  • N.B.: FORCE

Then, rebuild the RPM database.
Then, in YaST, within the Package Groups view, select the KDE Pattern and, forcibly re-install everything from KDE which you have already installed –

  • It may well be that, there’ll be some package conflicts – please resolve these conflicts such that, the Leap 15.4 packages are forcibly re-installed.