antiX-19.2 (testing) “Applications” from the desktop menu are missing

Forum Forums Official Releases antiX-19 “Marielle Franco, Hannie Schaft, Manolis Glezos, Grup Yorum, Wobblies” antiX-19.2 (testing) “Applications” from the desktop menu are missing

  • This topic has 26 replies, 5 voices, and was last updated Nov 2-7:09 pm by sta.
Viewing 15 posts - 1 through 15 (of 27 total)
  • Author
    Posts
  • #42438
    Member
    sta

      I run antiX-19.2_x64 with some extra packages from Debian testing.
      As a desktop session I use rox-icewm.

      From about one month I found a disappearance of the item “Applications” from the desktop menu (the screenshot is attached).

      While updating .deb packages I get an error like this:
      “…
      Writing Menu: icewm
      Traceback (most recent call last):
      File “/usr/local/bin/desktop-menu”, line 326, in <module>
      build_menu()
      File “/usr/local/bin/desktop-menu”, line 289, in build_menu
      menu = xdg.Menu.parse(menu_file)
      File “/usr/lib/python3/dist-packages/xdg/Menu.py”, line 1137, in parse
      return XMLMenuBuilder(debug).parse(filename)
      File “/usr/lib/python3/dist-packages/xdg/Menu.py”, line 646, in parse
      self.post_parse(menu)
      File “/usr/lib/python3/dist-packages/xdg/Menu.py”, line 992, in post_parse
      self.post_parse(submenu)
      File “/usr/lib/python3/dist-packages/xdg/Menu.py”, line 1006, in post_parse
      elif menuentry.Type == MenuEntry.TYPE_SYSTEM:
      AttributeError: ‘MenuEntry’ object has no attribute ‘Type’
      …”

      As a result the file “/usr/share/desktop-menu/.icewm/menu-applications” becomes empty. Overwriting this file with some earlier version fixes the problem temporarily, although the Applications menu is out of date.

      Attachments:
      #42440
      Forum Admin
      Dave
        Helpful
        Up
        0
        ::

        Is python3-xdg installed?

        Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown

        #42441
        Member
        sta
          Helpful
          Up
          0
          ::

          Is python3-xdg installed?

          Yes, of course. The following xdg-related packages are installed:

          dpkg-query -l|grep xdg
          ii menu-manager-antix 0.1.2 all User friendly front-end to the xdg-utils mechanism for antiX
          ii python3-xdg 0.26-3 all Python 3 library to access freedesktop.org standards
          ii xdg-dbus-proxy 0.1.2-1 amd64 filtering D-Bus proxy
          ii xdg-user-dirs 0.17-2 amd64 tool to manage well known user directories
          ii xdg-utils 1.1.3-2 all desktop integration utilities from freedesktop.org

          #42442
          Forum Admin
          anticapitalista
            Helpful
            Up
            0
            ::

            Try sudo desktop-menu --write-out-global

            Philosophers have interpreted the world in many ways; the point is to change it.

            antiX with runit - leaner and meaner.

            #42443
            Member
            sta
              Helpful
              Up
              0
              ::

              Try sudo desktop-menu --write-out-global

              I tried and got exactly the same error as before.

              #42445
              Forum Admin
              anticapitalista
                Helpful
                Up
                0
                ::

                What apps from testing?

                Are you running antiX with Debian and antiX testing repos?

                Philosophers have interpreted the world in many ways; the point is to change it.

                antiX with runit - leaner and meaner.

                #42447
                Member
                sta
                  Helpful
                  Up
                  0
                  ::

                  What apps from testing?

                  Are you running antiX with Debian and antiX testing repos?

                  Yes.

                  /etc/apt/sources.list.d/antix.list:

                  # Use with Debian Testing/’rolling’ repositories.
                  deb http://ftp.icm.edu.pl/pub/Linux/dist/antix-workspace/antix/testing testing main nonfree nosystemd
                  deb-src http://ftp.icm.edu.pl/pub/Linux/dist/antix-workspace/antix/testing testing main nonfree nosystemd
                  ————————————————————————-
                  /etc/apt/sources.list.d/debian.list:

                  # Debian Testing.
                  # Testing enabled for ‘rolling’ release.
                  deb http://ftp.pl.debian.org/debian/ testing main contrib non-free
                  deb http://security.debian.org testing-security main contrib non-free
                  deb-src http://ftp.pl.debian.org/debian/ testing main contrib non-free

                  # Multimedia Stable and Testing
                  # Use to install libdvdcss2 and codecs.
                  deb http://www.deb-multimedia.org testing main non-free
                  ————————————————————————-

                  I have a lot (hundreds?) of packages from the Debian testing repository installed.

                  #42448
                  Forum Admin
                  anticapitalista
                    Helpful
                    Up
                    0
                    ::

                    Off-topic: I wouldn’t keep the deb-multimedia repo enabled.

                    What does apt dist-upgrade show?

                    Philosophers have interpreted the world in many ways; the point is to change it.

                    antiX with runit - leaner and meaner.

                    #42449
                    Member
                    sta
                      Helpful
                      Up
                      0
                      ::

                      Off-topic: I wouldn’t keep the deb-multimedia repo enabled.

                      What does apt dist-upgrade show?

                      # apt dist-upgrade
                      Reading package lists… Done
                      Building dependency tree
                      Reading state information… Done
                      Calculating upgrade… Done
                      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

                      #42452
                      Anonymous
                        Helpful
                        Up
                        0
                        ::

                        File “/usr/lib/python3/dist-packages/xdg/Menu.py”, line 1006, in post_parse

                        The hashbang within /usr/local/bin/desktop-menu
                        #!/usr/bin/python

                        On antiX 19 systems, on debian 10 systems, and AFAIK even on the current debian testing
                        the default python implementation is python2

                        On sta’s system, why is python3 being invoked ???

                        #42454
                        Forum Admin
                        anticapitalista
                          Helpful
                          Up
                          0
                          ::

                          @skidoo … because Debian testing has removed python2. antiX testing repos have python3 versions of all our python2 scripts.

                          Philosophers have interpreted the world in many ways; the point is to change it.

                          antiX with runit - leaner and meaner.

                          #42595
                          Member
                          sta
                            Helpful
                            Up
                            0
                            ::

                            @anticapitalista Do you think that the problem is caused be particular .desktop file? Have you got an idea how to find that file?

                            #42596
                            Forum Admin
                            anticapitalista
                              Helpful
                              Up
                              0
                              ::

                              Not sure what is causing this.
                              I have a different issue in that I get 2 “Applications” menus on antiX testing and antiX sid!

                              Philosophers have interpreted the world in many ways; the point is to change it.

                              antiX with runit - leaner and meaner.

                              #42600
                              Moderator
                              Brian Masinick
                                Helpful
                                Up
                                0
                                ::

                                I wonder if there is a functional regression that arose from the changes from python2 to python3. Perhaps it’s not immediately obvious, but the timing of the issues makes the question worth investigating.

                                --
                                Brian Masinick

                                #42610
                                Forum Admin
                                Dave
                                  Helpful
                                  Up
                                  0
                                  ::

                                  I have the same issue as anticapitalista on both my testing and sid vm. Have been trying to find a solution. If you do not mind sharing what you have currently installed could you pm me the output of “dpkg -l” so I can see what versions of packages you have installed?

                                  Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown

                                Viewing 15 posts - 1 through 15 (of 27 total)
                                • You must be logged in to reply to this topic.