Printer stay processing

Asked by Kristian Benoit on 2019-01-30

I installed hplip and it seem to be incorrectly supported. You could see my initial question here :
https://askubuntu.com/questions/1112099/trouble-configuring-a-printer

After running hp-doctor, which had to be patched and run explicitly through: ( $ python3 `which hp-doctor` ), it starts with the following:

    error: This distro (i.e ubuntu 18.04) is either deprecated or not yet supported.
    The diagnosis is limited on unsupported platforms. Do you want to continue?(y=yes*, n=no):

and ends with the following:

        Missing Required Dependencies
        -----------------------------
        error: 'libcups2' package is missing or 'cups' service is not running.
        error: 'libjpeg-dev' package is missing/incompatible
        error: 'libcups2-dev' package is missing or 'cups' service is not running.
        error: 'cups-bsd' package is missing or 'cups' service is not running.
        error: 'cups-client' package is missing or 'cups' service is not running.
        error: 'libcupsimage2-dev' package is missing or 'cups' service is not running.
        error: 'libusb-1.0.0-dev' package is missing/incompatible
        error: 'libsane-dev' package is missing/incompatible
        error: 'libsnmp-dev' package is missing/incompatible
        error: 'snmp-mibs-downloader' package is missing/incompatible
        error: 'python3-pyqt4' package is missing/incompatible
        error: 'gtk2-engines-pixbuf' package is missing/incompatible
        error: 'libtool' package is missing/incompatible
        error: 'libtool-bin' package is missing/incompatible
        Missing Optional Dependencies
        -----------------------------
        error: 'python3-notify2' package is missing/incompatible
        error: 'python3-dbus.mainloop.qt' package is missing/incompatible

What I did to patch hp-doctor (as "ver='2.7.15rc1'") was:

        --- /usr/share/hplip/base/g.py 2019-01-30 11:15:53.613381558 -0500
        +++ /usr/share/hplip/base/g.py.orig 2019-01-30 11:12:15.943652664 -0500
        @@ -325,7 +325,7 @@ def cleanup_spinner():
         # Convert string to int and return a list.
         def xint(ver):
             try:
        - l = [int(x) for x in re.findall('\d+', ver)]
        + l = [int(x) for x in ver.split('.')]
             except:
                 pass
             return l

As the askubuntu post tell, I'm using the official dpkg installed through apt.

Kristian

Question information

Language:
English Edit question
Status:
Expired
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
2019-01-30
Last reply:
2019-02-15
Launchpad Janitor (janitor) said : #1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.