Error updating ICEWM menu

Forum › Forums › News › Sid Upgraders › Error updating ICEWM menu

  • This topic has 49 replies, 8 voices, and was last updated Oct 6-4:29 pm by Dave.
Viewing 15 posts - 1 through 15 (of 50 total)
  • Author
    Posts
  • #186429
    Xunzi_23
    Member

      Just ran in to below error while updating.

      »Umleitung von /usr/share/applications/sysv-rc-conf.desktop zu /usr/local/lib/antiX/antix23-desktop-files/originale/sysv-rc-conf.desktop durch antix23-desktop-files« wird entfernt
      Writing Menu: fluxbox
      %s
      Writing Menu: jwm
      <!– %s –>
      Writing Menu: icewm
      %s
      {‘hpold’: [1000, 1000, ‘/home/hpold’]}
      1000
      1000
      Traceback (most recent call last):
      File “/usr/local/bin/desktop-menu”, line 723, in <module>
      with AsUser(user_info[0], user_info[1]):
      ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File “/usr/local/bin/desktop-menu”, line 545, in __enter__
      os.setgid(self.gid)
      ~~~~~~~~~^^^^^^^^^^
      PermissionError: [Errno 1] Die Operation ist nicht erlaubt

      And many thanks to anticapitalista for all the the nosystemd package updates.

      #186431
      Robin
      Member

        What does
        $ desktop-menu --version
        return?

        Windows is like a submarine. Open a window and serious problems will start.

        #186433
        sybok
        Member

          I’ve seen it today too (Trixie-upgraded antiX), output of the command suggested by @robin is ‘desktop-menu version 3.33’.
          The log-file ‘/var/log/apt/history.log’ contains the following line
          Upgrade: desktop-menu-antix:amd64 (0.3.1, 0.3.2)

          #186435
          Xunzi_23
          Member

            Hi Robin, on sid
            Same as sybok noted version 0.3.1, 0.3.2

            #186437
            Robin
            Member

              I had asked for

              $ desktop-menu --version
              desktop-menu version 3.34

              or

              $ desktop-menu --version
              desktop-menu version 4.00

              Windows is like a submarine. Open a window and serious problems will start.

              #186438
              anticapitalista
              Forum Admin

                Latest was built from dave’s repo here –

                https://gitlab.com/antiX-Dave/desktop-menu-antix

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

                antiX with runit - leaner and meaner.

                #186441
                Xunzi_23
                Member

                  On my sid install ICEWM

                  $ desktop-menu –version
                  desktop-menu version 3.33

                  #186442
                  Robin
                  Member

                    File “/usr/local/bin/desktop-menu”, line 723, in <module>

                    On my sid install ICEWM

                    $ desktop-menu –version
                    desktop-menu version 3.33

                    @Xunzi_23 This is impossible, since the script in ver 3.33 has merely 698 lines, while your error message states an issue in line 723. You must have some version mismatch. 3.x and 4.x seem not to be interchangeable easily. So I guess this error you’ve reported is the upcoming 4.x version, not from legacy 3.33 or 3.34.

                    (Reason for asking that precisely is: If it is an error in 3.x, I’ll take care of it, while if it is in 4.x, Dave is the one who knows what to do.)

                    Windows is like a submarine. Open a window and serious problems will start.

                    #186444
                    Brian Masinick
                    Moderator

                      Something is indeed messed up with the desktop-menu today, and also some weird problems with the usual runit package; the environment is behaving as if init-diversity is in place.

                      Have their been any changes in the Bookworm repos with runit recently?
                      If so, they had an unintended side effect; I’ve been rebuilding my system for a while
                      because of these two things.

                      --
                      Brian Masinick
                      Alternate "Search B":
                      This search page

                      #186445
                      anticapitalista
                      Forum Admin

                        @masinick – do you have the dev repo enabled in antiX repos?
                        You shouldn’t have for bookworm.

                        • This reply was modified 12 months ago by Brian Masinick.

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

                        antiX with runit - leaner and meaner.

                        #186447
                        Xunzi_23
                        Member

                          The desktop menu says #!/usr/bin/python3
                          #Version: 3.33

                          as indicated in the error
                          line 723 with AsUser(user_info[0], user_info[1]):
                          724 print(“Current UID: {}”.format(os.getuid()))
                          725 print(“Current GID: {}”.format(os.getgid()))723

                          725 is last line

                          #186448
                          Brian Masinick
                          Moderator

                            @masinick – do you have the dev repo enabled in antiX repos?
                            You shouldn’t have for bookworm.

                            I didn’t realize that dev was included, but it was; got rid of it, and then the problem went away.
                            I think there was a repo package update; I sure don’t remember putting dev in there myself.

                            In any case, it’s gone now and so is that problem; thank goodness! I want to keep my stable
                            runit setup in place until we’re done with the next release; it had been rock solid until today.
                            Now that I have that “dev” out of there it’s back to normal.

                            --
                            Brian Masinick
                            Alternate "Search B":
                            This search page

                            #186449
                            anticapitalista
                            Forum Admin

                              Latest was built from dave’s repo here –

                              https://gitlab.com/antiX-Dave/desktop-menu-antix

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

                              antiX with runit - leaner and meaner.

                              #186453
                              stevesr0
                              Member

                                Hi all,

                                My Sid install didn’t have dev repo included and I use Openbox without the other desktops installed, as far as I can tell.

                                So I just updated the antix list to include dev and only got gstreamer upgrades. No desktop-menu upgrade.

                                Like Xunzi, I also have a 725 line /usr/local/bin/desktop-menu file. (mine is for version 0.3.2 tho).

                                #186454
                                Brian Masinick
                                Moderator

                                  All is back to normal (thankfully) for me now.
                                  The only thing I don’t know is how dev was added to my repo list.
                                  Maybe I messed it up accidentally without realizing it, but that’s
                                  not a typical mistake that I would make, hence my confusion and
                                  curiosity.

                                  --
                                  Brian Masinick
                                  Alternate "Search B":
                                  This search page

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