Announcement

Collapse
No announcement yet.

Kubuntu 24.04 to 24.10 Upgrade: module "org.kde.plasma.components" 2.0 not installed

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Kubuntu 24.04 to 24.10 Upgrade: module "org.kde.plasma.components" 2.0 not installed

    Upon upgrading to 24.10 from 24.04.1, I receive the error
    file:///home/archibald/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:14:1: module "org.kde.plasma.components" version 2.0 is not installed
    when signing in to my desktop. My desktop doesn't show anything apart from that error and many of the buttons on the dock are missing. I noticed this might be due to a theme issue, so I tried switching between Breeze and the default Kubuntu theme, but received the same error in both.
    Last edited by archibald-sassafrassalad; Oct 10, 2024, 04:50 PM. Reason: I added in the full error

    #2
    Never mind, this is an error with my configuration.

    Comment


      #3
      Hello, I got the same error, but at different place - I upgraded from 24.04 to 24.10 (thus Plasma 5 to Plasma 6), and when I install new plasma widget, I got exactly that error:
      Code:
      ~/.local/share/plasma/plasmoids/com.github.zren.commandoutput/contents/ui/main.qml:5:1: module "org.kde.plasma.components" version 2.0 is not installed
      I tried to uninstall the widget, then remove the dir in plasmoids, then install again, but still getting the same error.
      Can anyone help please?

      Comment


        #4
        Are you sure you installed the plasma6 version of the applet: https://store.kde.org/p/2136636/ (probably not)

        Comment


          #5
          Yes, I installed v14 (for the plasma 6). I even tried it both ways - install using local file and install directly from the widget menu.
          (There was version for plasma 5 just after the update from 24.04 to 24.10, and there was an error saying it is a widget for older unknown version of plasma. So I uninstalled it and installed version for Plasma 6. Since then I have the error described above.)

          Comment


            #6
            I don't know what widget would be creating the directory ~/.local/share/plasma/plasmoids/org.kde.desktopcontainment/ , the name doesn't make sense for user-installed widgets. I suggest (re)moving that to some other location temporarily and seeing if that clears things up.

            Possible source:
            https://discuss.kde.org/t/updated-to...appenned/12037
            Last edited by claydoh; Oct 15, 2024, 10:39 PM.

            Comment


              #7
              Originally posted by MikeDef View Post
              Yes, I installed v14 (for the plasma 6). I even tried it both ways - install using local file and install directly from the widget menu.
              (There was version for plasma 5 just after the update from 24.04 to 24.10, and there was an error saying it is a widget for older unknown version of plasma. So I uninstalled it and installed version for Plasma 6. Since then I have the error described above.)
              Can you post the contents of the file ~/.local/share/plasma/plasmoids/com.github.zren.commandoutput/contents/ui/main.qml (only the 'import' rows should be enough)

              Code:
              import QtQuick
              import QtQuick.Layouts
              
              import org.kde.kirigami as Kirigami
              import org.kde.plasma.plasmoid
              import org.kde.plasma.core as PlasmaCore
              import org.kde.plasma.components as PlasmaComponent
              import org.kde.plasma.plasma5support as Plasma5Support
              These imports work fine on my end (I'm on Neon, though), the ​org.kde.plasma.components import loads version 3.0 (which is installed), not version 2.0 that your import's try to load (judging by the error message)

              Comment


                #8
                Originally posted by claydoh View Post
                I suggest (re)moving that to some other location temporarily and seeing if that clears things up.
                This doesn't work for me, as I mentioned above.



                Originally posted by kubicle View Post
                Can you post the contents of the file ~/.local/share/plasma/plasmoids/com.github.zren.commandoutput/contents/ui/main.qml (only the 'import' rows should be enough)
                Here it is:
                Code:
                import QtQuick
                import QtQuick.Layouts
                
                import org.kde.kirigami as Kirigami
                import org.kde.plasma.plasmoid
                import org.kde.plasma.core as PlasmaCore
                import org.kde.plasma.components as PlasmaComponent
                import org.kde.plasma.plasma5support as Plasma5Support​
                It looks exactly the same as yours.

                Comment


                  #9
                  Originally posted by MikeDef View Post
                  when I install new plasma widget,
                  Any widget, or did this happen with a specific widget, and if so, which widget?
                  Windows no longer obstructs my view.
                  Using Kubuntu Linux since March 23, 2007.
                  "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                  Comment


                    #10
                    This one particular is Command Output. I tried several other widgets but none of them had this error.

                    Comment


                      #11
                      I use this widget myself, but never on Plasma 5.
                      I spy this one as well.
                      https://github.com/Zren/plasma-apple...tput/issues/55
                      Similar, but different directories.

                      I wonder if testing things by not only uninstalling the widget, but also clearing out any related directories in ~/.local/share/plasma/plasmoids​ (or all of them, even), restarting Plasmashell, and re-installing the widget.

                      Comment

                      Working...
                      X