Odd message during upgrade

Forum Forums New users New Users and General Questions Odd message during upgrade

  • This topic has 2 replies, 2 voices, and was last updated Mar 4-1:03 pm by MarkG_108.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #100981
    Member
    MarkG_108

      From running “apt update && apt full-upgrade”, I received the following message:

      Unable to init server: Could not connect: Connection refused
      Unable to init server: Could not connect: Connection refused
      
      (desktop-menu:4112): Gtk-CRITICAL **: 21:13:22.105: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
      Writing Menu: icewm
      Traceback (most recent call last):
        File "/usr/local/bin/desktop-menu", line 457, in <module>
          build_menu()
        File "/usr/local/bin/desktop-menu", line 301, in build_menu
          process_menu(menu)
        File "/usr/local/bin/desktop-menu", line 207, in process_menu
          icon = find_icon(entry) or default_folder_icon
        File "/usr/local/bin/desktop-menu", line 136, in find_icon
          if icon_theme.lookup_icon(appicon, icon_size, 0) and not no_gtk:
      AttributeError: 'NoneType' object has no attribute 'lookup_icon'

      Should I be concerned about this? I’m running antiX on a MacBook Pro 5,5.

      [edit] Subsequently running the same update command did not result in any errors. It simply stated that “All packages are up to date.” So, I assume everything is fine. But I did just want to check to be sure.

      • This topic was modified 2 months, 1 week ago by MarkG_108.
      • This topic was modified 2 months, 1 week ago by MarkG_108.
      #100987
      Member
      sybok
        Helpful
        Up
        1
        ::

        Hi, I sometimes see that when I run such an update remotely (connected via SSH) or when running as root.

        My guess is that it if you login as root (or remotely via SSH), the corresponding desktop session is not started and hence the corresponding Python class of the GTK-whatever is ‘None’ and it does not have the expected attributes.
        Hence I consider it harmless.
        If someone has another explanation, I am willing to learn.

        #101081
        Member
        MarkG_108
          Helpful
          Up
          0
          ::

          or when running as root.

          Okay, thanks. Yes, I was running it as root rather than sudo. So, that likely explains it.

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