HPLIP SysTray icon is broken, crashes on every login - why?











up vote
1
down vote

favorite
1












I'm using Ubuntu MATE 16.04.5 LTS with all current updates and HPLIP from official Ubuntu repository:



$ dpkg -l | grep hplip
ii hplip 3.16.3+repack0-1 amd64 HP Linux Printing and Imaging System (HPLIP)
ii hplip-data 3.16.3+repack0-1 all HP Linux Printing and Imaging - data files
ii hplip-gui 3.16.3+repack0-1 all HP Linux Printing and Imaging - GUI utilities (Qt-based)

$ apt-cache policy hplip-gui
hplip-gui:
Installed: 3.16.3+repack0-1
Candidate: 3.16.3+repack0-1
Version table:
*** 3.16.3+repack0-1 500
500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
500 http://archive.ubuntu.com/ubuntu xenial/universe i386 Packages
100 /var/lib/dpkg/status


If I try to find its XDG-file I get:



$ dpkg -L hplip-gui | grep "xdg.*desktop"
/etc/xdg/autostart/hplip-systray.desktop


It starts with the command:



$ cat /etc/xdg/autostart/hplip-systray.desktop | grep Exec
Exec=hp-systray -x


If I launch it manually I get:



$ hp-systray -x

HP Linux Imaging and Printing System (ver. 3.16.3)
System Tray Status Service ver. 2.0

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Segmentation fault (core dumped)


The system integrity is OK - I do not get any error output from debsums --all --changed.



The question - why HPLIP Systray is crashed and what should I do to make it working again?










share|improve this question


























    up vote
    1
    down vote

    favorite
    1












    I'm using Ubuntu MATE 16.04.5 LTS with all current updates and HPLIP from official Ubuntu repository:



    $ dpkg -l | grep hplip
    ii hplip 3.16.3+repack0-1 amd64 HP Linux Printing and Imaging System (HPLIP)
    ii hplip-data 3.16.3+repack0-1 all HP Linux Printing and Imaging - data files
    ii hplip-gui 3.16.3+repack0-1 all HP Linux Printing and Imaging - GUI utilities (Qt-based)

    $ apt-cache policy hplip-gui
    hplip-gui:
    Installed: 3.16.3+repack0-1
    Candidate: 3.16.3+repack0-1
    Version table:
    *** 3.16.3+repack0-1 500
    500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
    500 http://archive.ubuntu.com/ubuntu xenial/universe i386 Packages
    100 /var/lib/dpkg/status


    If I try to find its XDG-file I get:



    $ dpkg -L hplip-gui | grep "xdg.*desktop"
    /etc/xdg/autostart/hplip-systray.desktop


    It starts with the command:



    $ cat /etc/xdg/autostart/hplip-systray.desktop | grep Exec
    Exec=hp-systray -x


    If I launch it manually I get:



    $ hp-systray -x

    HP Linux Imaging and Printing System (ver. 3.16.3)
    System Tray Status Service ver. 2.0

    Copyright (c) 2001-15 HP Development Company, LP
    This software comes with ABSOLUTELY NO WARRANTY.
    This is free software, and you are welcome to distribute it
    under certain conditions. See COPYING file for more details.

    Segmentation fault (core dumped)


    The system integrity is OK - I do not get any error output from debsums --all --changed.



    The question - why HPLIP Systray is crashed and what should I do to make it working again?










    share|improve this question
























      up vote
      1
      down vote

      favorite
      1









      up vote
      1
      down vote

      favorite
      1






      1





      I'm using Ubuntu MATE 16.04.5 LTS with all current updates and HPLIP from official Ubuntu repository:



      $ dpkg -l | grep hplip
      ii hplip 3.16.3+repack0-1 amd64 HP Linux Printing and Imaging System (HPLIP)
      ii hplip-data 3.16.3+repack0-1 all HP Linux Printing and Imaging - data files
      ii hplip-gui 3.16.3+repack0-1 all HP Linux Printing and Imaging - GUI utilities (Qt-based)

      $ apt-cache policy hplip-gui
      hplip-gui:
      Installed: 3.16.3+repack0-1
      Candidate: 3.16.3+repack0-1
      Version table:
      *** 3.16.3+repack0-1 500
      500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
      500 http://archive.ubuntu.com/ubuntu xenial/universe i386 Packages
      100 /var/lib/dpkg/status


      If I try to find its XDG-file I get:



      $ dpkg -L hplip-gui | grep "xdg.*desktop"
      /etc/xdg/autostart/hplip-systray.desktop


      It starts with the command:



      $ cat /etc/xdg/autostart/hplip-systray.desktop | grep Exec
      Exec=hp-systray -x


      If I launch it manually I get:



      $ hp-systray -x

      HP Linux Imaging and Printing System (ver. 3.16.3)
      System Tray Status Service ver. 2.0

      Copyright (c) 2001-15 HP Development Company, LP
      This software comes with ABSOLUTELY NO WARRANTY.
      This is free software, and you are welcome to distribute it
      under certain conditions. See COPYING file for more details.

      Segmentation fault (core dumped)


      The system integrity is OK - I do not get any error output from debsums --all --changed.



      The question - why HPLIP Systray is crashed and what should I do to make it working again?










      share|improve this question













      I'm using Ubuntu MATE 16.04.5 LTS with all current updates and HPLIP from official Ubuntu repository:



      $ dpkg -l | grep hplip
      ii hplip 3.16.3+repack0-1 amd64 HP Linux Printing and Imaging System (HPLIP)
      ii hplip-data 3.16.3+repack0-1 all HP Linux Printing and Imaging - data files
      ii hplip-gui 3.16.3+repack0-1 all HP Linux Printing and Imaging - GUI utilities (Qt-based)

      $ apt-cache policy hplip-gui
      hplip-gui:
      Installed: 3.16.3+repack0-1
      Candidate: 3.16.3+repack0-1
      Version table:
      *** 3.16.3+repack0-1 500
      500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
      500 http://archive.ubuntu.com/ubuntu xenial/universe i386 Packages
      100 /var/lib/dpkg/status


      If I try to find its XDG-file I get:



      $ dpkg -L hplip-gui | grep "xdg.*desktop"
      /etc/xdg/autostart/hplip-systray.desktop


      It starts with the command:



      $ cat /etc/xdg/autostart/hplip-systray.desktop | grep Exec
      Exec=hp-systray -x


      If I launch it manually I get:



      $ hp-systray -x

      HP Linux Imaging and Printing System (ver. 3.16.3)
      System Tray Status Service ver. 2.0

      Copyright (c) 2001-15 HP Development Company, LP
      This software comes with ABSOLUTELY NO WARRANTY.
      This is free software, and you are welcome to distribute it
      under certain conditions. See COPYING file for more details.

      Segmentation fault (core dumped)


      The system integrity is OK - I do not get any error output from debsums --all --changed.



      The question - why HPLIP Systray is crashed and what should I do to make it working again?







      16.04 printing hp hplip






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 7 at 21:10









      N0rbert

      19.2k54189




      19.2k54189






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          First of all we need to determine file type of hp-systray:



          $ which hp-systray 
          /usr/bin/hp-systray
          $ file $(which hp-systray)
          /usr/bin/hp-systray: symbolic link to ../share/hplip/systray.py
          $ file $(readlink -f $(which hp-systray))
          /usr/share/hplip/systray.py: Python script, ASCII text executable


          - so it is Python script.



          Then by reading crash dump at /var/crash/_usr_share_hplip_systray.py.1000.crash we can determine the following.
          The crashdump contain references to python modules, installed by pip3:



          ...
          ProcMaps:
          ...
          ... /usr/local/lib/python3.5/dist-packages/sip.so
          ... /usr/local/lib/python3.5/dist-packages/sip.so
          ... /usr/local/lib/python3.5/dist-packages/sip.so
          ... /usr/local/lib/python3.5/dist-packages/sip.so


          So we need to remove problematic sip module with



          sudo pip3 uninstall sip


          It solved HPLIP problem as it will use sip from python3-sip package.





          But removing sip breaks ReText which was installed from pip3 too.

          To fix it we need to:





          • adjust ReText dependencies to get it working:



            sudo -H pip3 install sip==4.18 PyQt5-sip==4.19.11 PyQt5==5.7 retext


            but this method results in slow text editing and cursor movement on some not too new hardware.




          • remove deb/APT version of hplip as described on my other answer and then install ReText with:



            sudo -H pip3 install PyQt5==5.9.2 retext 


            Note: PyQt 5.9.2 is needed to have normal operation of Chromium (WebKit) renderer and coexistence with Spyder3.








          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














             

            draft saved


            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1090943%2fhplip-systray-icon-is-broken-crashes-on-every-login-why%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote



            accepted










            First of all we need to determine file type of hp-systray:



            $ which hp-systray 
            /usr/bin/hp-systray
            $ file $(which hp-systray)
            /usr/bin/hp-systray: symbolic link to ../share/hplip/systray.py
            $ file $(readlink -f $(which hp-systray))
            /usr/share/hplip/systray.py: Python script, ASCII text executable


            - so it is Python script.



            Then by reading crash dump at /var/crash/_usr_share_hplip_systray.py.1000.crash we can determine the following.
            The crashdump contain references to python modules, installed by pip3:



            ...
            ProcMaps:
            ...
            ... /usr/local/lib/python3.5/dist-packages/sip.so
            ... /usr/local/lib/python3.5/dist-packages/sip.so
            ... /usr/local/lib/python3.5/dist-packages/sip.so
            ... /usr/local/lib/python3.5/dist-packages/sip.so


            So we need to remove problematic sip module with



            sudo pip3 uninstall sip


            It solved HPLIP problem as it will use sip from python3-sip package.





            But removing sip breaks ReText which was installed from pip3 too.

            To fix it we need to:





            • adjust ReText dependencies to get it working:



              sudo -H pip3 install sip==4.18 PyQt5-sip==4.19.11 PyQt5==5.7 retext


              but this method results in slow text editing and cursor movement on some not too new hardware.




            • remove deb/APT version of hplip as described on my other answer and then install ReText with:



              sudo -H pip3 install PyQt5==5.9.2 retext 


              Note: PyQt 5.9.2 is needed to have normal operation of Chromium (WebKit) renderer and coexistence with Spyder3.








            share|improve this answer



























              up vote
              1
              down vote



              accepted










              First of all we need to determine file type of hp-systray:



              $ which hp-systray 
              /usr/bin/hp-systray
              $ file $(which hp-systray)
              /usr/bin/hp-systray: symbolic link to ../share/hplip/systray.py
              $ file $(readlink -f $(which hp-systray))
              /usr/share/hplip/systray.py: Python script, ASCII text executable


              - so it is Python script.



              Then by reading crash dump at /var/crash/_usr_share_hplip_systray.py.1000.crash we can determine the following.
              The crashdump contain references to python modules, installed by pip3:



              ...
              ProcMaps:
              ...
              ... /usr/local/lib/python3.5/dist-packages/sip.so
              ... /usr/local/lib/python3.5/dist-packages/sip.so
              ... /usr/local/lib/python3.5/dist-packages/sip.so
              ... /usr/local/lib/python3.5/dist-packages/sip.so


              So we need to remove problematic sip module with



              sudo pip3 uninstall sip


              It solved HPLIP problem as it will use sip from python3-sip package.





              But removing sip breaks ReText which was installed from pip3 too.

              To fix it we need to:





              • adjust ReText dependencies to get it working:



                sudo -H pip3 install sip==4.18 PyQt5-sip==4.19.11 PyQt5==5.7 retext


                but this method results in slow text editing and cursor movement on some not too new hardware.




              • remove deb/APT version of hplip as described on my other answer and then install ReText with:



                sudo -H pip3 install PyQt5==5.9.2 retext 


                Note: PyQt 5.9.2 is needed to have normal operation of Chromium (WebKit) renderer and coexistence with Spyder3.








              share|improve this answer

























                up vote
                1
                down vote



                accepted







                up vote
                1
                down vote



                accepted






                First of all we need to determine file type of hp-systray:



                $ which hp-systray 
                /usr/bin/hp-systray
                $ file $(which hp-systray)
                /usr/bin/hp-systray: symbolic link to ../share/hplip/systray.py
                $ file $(readlink -f $(which hp-systray))
                /usr/share/hplip/systray.py: Python script, ASCII text executable


                - so it is Python script.



                Then by reading crash dump at /var/crash/_usr_share_hplip_systray.py.1000.crash we can determine the following.
                The crashdump contain references to python modules, installed by pip3:



                ...
                ProcMaps:
                ...
                ... /usr/local/lib/python3.5/dist-packages/sip.so
                ... /usr/local/lib/python3.5/dist-packages/sip.so
                ... /usr/local/lib/python3.5/dist-packages/sip.so
                ... /usr/local/lib/python3.5/dist-packages/sip.so


                So we need to remove problematic sip module with



                sudo pip3 uninstall sip


                It solved HPLIP problem as it will use sip from python3-sip package.





                But removing sip breaks ReText which was installed from pip3 too.

                To fix it we need to:





                • adjust ReText dependencies to get it working:



                  sudo -H pip3 install sip==4.18 PyQt5-sip==4.19.11 PyQt5==5.7 retext


                  but this method results in slow text editing and cursor movement on some not too new hardware.




                • remove deb/APT version of hplip as described on my other answer and then install ReText with:



                  sudo -H pip3 install PyQt5==5.9.2 retext 


                  Note: PyQt 5.9.2 is needed to have normal operation of Chromium (WebKit) renderer and coexistence with Spyder3.








                share|improve this answer














                First of all we need to determine file type of hp-systray:



                $ which hp-systray 
                /usr/bin/hp-systray
                $ file $(which hp-systray)
                /usr/bin/hp-systray: symbolic link to ../share/hplip/systray.py
                $ file $(readlink -f $(which hp-systray))
                /usr/share/hplip/systray.py: Python script, ASCII text executable


                - so it is Python script.



                Then by reading crash dump at /var/crash/_usr_share_hplip_systray.py.1000.crash we can determine the following.
                The crashdump contain references to python modules, installed by pip3:



                ...
                ProcMaps:
                ...
                ... /usr/local/lib/python3.5/dist-packages/sip.so
                ... /usr/local/lib/python3.5/dist-packages/sip.so
                ... /usr/local/lib/python3.5/dist-packages/sip.so
                ... /usr/local/lib/python3.5/dist-packages/sip.so


                So we need to remove problematic sip module with



                sudo pip3 uninstall sip


                It solved HPLIP problem as it will use sip from python3-sip package.





                But removing sip breaks ReText which was installed from pip3 too.

                To fix it we need to:





                • adjust ReText dependencies to get it working:



                  sudo -H pip3 install sip==4.18 PyQt5-sip==4.19.11 PyQt5==5.7 retext


                  but this method results in slow text editing and cursor movement on some not too new hardware.




                • remove deb/APT version of hplip as described on my other answer and then install ReText with:



                  sudo -H pip3 install PyQt5==5.9.2 retext 


                  Note: PyQt 5.9.2 is needed to have normal operation of Chromium (WebKit) renderer and coexistence with Spyder3.









                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Nov 13 at 11:52

























                answered Nov 7 at 21:10









                N0rbert

                19.2k54189




                19.2k54189






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1090943%2fhplip-systray-icon-is-broken-crashes-on-every-login-why%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

                    ComboBox Display Member on multiple fields

                    Is it possible to collect Nectar points via Trainline?