Announcement

Collapse
No announcement yet.

LPrinter installation problem

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    LPrinter installation problem

    It's a "Printer Installation Problem"--not a "LPrinter ...".

    I ran hp-setup to install my new printer (Laserjet M277dw Color), and it failed. I got a 2567 Segmentation fault. It says, "Python gobject/dbus may be not installed". I'm running Kubuntu 16.10.Python is installed, but I know nil about "gobject/dbus".

    The printer requires HPLIP version 3.15.4 or higher. Kubuntu 16.10 has HPLIP 3.16.7. The HPLIP documentation tells me that a driver plug-in is required to enable print, fax, or scan support. hp-setup is supposed to install the printer and download and install the plug-in.

    Here is some of the output:

    Checking for network connection...
    Downloading plug-in from:
    Receiving digital keys: /usr/bin/gpg --homedir /home/bb/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
    Creating directory plugin_tmp
    Verifying archive integrity... All good.
    Uncompressing HPLIP 3.16.7 Plugin Self Extracting Archive...

    HP Linux Imaging and Printing System (ver. 3.16.7)
    Plugin Installer ver. 3.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.

    Plug-in version: 3.16.7
    Installed HPLIP version: 3.16.7
    Number of files to install: 42

    note: Using PyQt5

    Done.
    ./hplip-plugin-install: line 16: 2567 Segmentation fault (core dumped) $6 ./plugin_install.py $1 $2 $3 $4 $5
    error: Python gobject/dbus may be not installed
    error: Plug-in install failed.

    Done.

    Done.
    Segmentation fault (core dumped)

    END OF OUTPUT

    Any suggestions you may have for a way to solve this problem will be appreciated.
    Last edited by wtb32141; Dec 12, 2016, 01:24 PM.

    #2
    This morning I ran this command: hp-check -t
    with (1) the new HP Laser Jet M277 dw Color printer turned on and (2) the HP Laser Jet 1022 printed disconnected. The output is:

    Saving output in log file: /home/bb/hp-check.log

    HP Linux Imaging and Printing System (ver. 3.16.7)
    Dependency/Version Check Utility ver. 15.1

    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.

    Note: hp-check can be run in three modes:
    1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper
    dependencies are installed to successfully compile HPLIP.
    2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has
    the proper dependencies installed to successfully run.
    3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies).

    Check types:
    a. EXTERNALDEP - External Dependencies
    b. GENERALDEP - General Dependencies (required both at compile and run time)
    c. COMPILEDEP - Compile time Dependencies
    d. [All are run-time checks]
    PYEXT SCANCONF QUEUES PERMISSION

    Status Types:
    OK
    MISSING - Missing Dependency or Permission or Plug-in
    INCOMPAT - Incompatible dependency-version or Plugin-version

    warning: 12-16.10 version is not supported. Using 12-16.04 versions dependencies to verify and install...

    ---------------
    | SYSTEM INFO |
    ---------------

    Kernel: 4.8.0-30-generic #32-Ubuntu SMP Fri Dec 2 03:43:27 UTC 2016 GNU/Linux
    Host: bb-GA-MA78GM-S2HP
    Proc: 4.8.0-30-generic #32-Ubuntu SMP Fri Dec 2 03:43:27 UTC 2016 GNU/Linux
    Distribution: 12 16.10
    Bitness: 64 bit


    -----------------------
    | HPLIP CONFIGURATION |
    -----------------------

    HPLIP-Version: HPLIP 3.16.7
    HPLIP-Home: /usr/share/hplip
    warning: HPLIP-Installation: Auto installation is not supported for 12 distro 16.10 version

    Current contents of '/etc/hp/hplip.conf' file:
    # hplip.conf. Generated from hplip.conf.in by configure.

    [hplip]
    version=3.16.7

    [dirs]
    home=/usr/share/hplip
    run=/var/run
    ppd=/usr/share/ppd/hplip/HP
    ppdbase=/usr/share/ppd/hplip
    doc=/usr/share/doc/hplip
    html=/usr/share/doc/hplip-doc
    icon=no
    cupsbackend=/usr/lib/cups/backend
    cupsfilter=/usr/lib/cups/filter
    drv=/usr/share/cups/drv
    bin=/usr/bin
    apparmor=/etc/apparmor.d
    # Following values are determined at configure time and cannot be changed.
    [configure]
    network-build=yes
    libusb01-build=no
    pp-build=yes
    gui-build=yes
    scanner-build=yes
    fax-build=yes
    dbus-build=yes
    cups11-build=no
    doc-build=yes
    shadow-build=no
    hpijs-install=yes
    foomatic-drv-install=yes
    foomatic-ppd-install=yes
    foomatic-rip-hplip-install=no
    hpcups-install=yes
    cups-drv-install=yes
    cups-ppd-install=no
    internal-tag=3.16.7
    restricted-build=no
    ui-toolkit=qt5
    qt3=no
    qt4=no
    qt5=yes
    policy-kit=yes
    lite-build=no
    udev_sysfs_rules=no
    hpcups-only-build=no
    hpijs-only-build=no
    apparmor_build=no

    Current contents of '/var/lib/hp/hplip.state' file:
    [plugin]
    installed = 1
    eula = 1
    version = 3.16.7

    Current contents of '~/.hplip/hplip.conf' file:
    [installation]
    date_time = 12/14/16 06:00:41
    version = 3.16.7

    <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>

    --------------
    | COMPILEDEP |
    --------------

    make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.1 OK -
    error: libtool libtool - Library building support services REQUIRED - - MISSING 'libtool needs to be installed'
    error: gcc gcc - GNU Project C and C++ Compiler REQUIRED - 6.2.0 MISSING 'gcc needs to be installed'

    -------------------------
    | External Dependencies |
    -------------------------

    error: xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 - MISSING 'xsane needs to be installed'
    error: cups CUPS - Common Unix Printing System REQUIRED 1.1 - INCOMPAT 'CUPS may not be installed or not running'
    error: avahi-utils avahi-utils OPTIONAL - - MISSING 'avahi-utils needs to be installed'
    gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.19 OK -
    scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.25 OK -
    network network -wget OPTIONAL - 1.18 OK -
    policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
    error: dbus DBus - Message bus system REQUIRED - 1.10.10 MISSING 'DBUS may not be installed or not running'

    ----------------------
    | Scan Configuration |
    ----------------------

    scanext Scan-SANE-Extension REQUIRED - 3.16.7 OK -
    '/etc/sane.d/dll.d/hpaio' not found.
    hpaio HPLIP-SANE-Backend REQUIRED - 3.16.7 OK 'hpaio found in /etc/sane.d/dll.conf'

    ------------------------
    | General Dependencies |
    ------------------------

    error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - MISSING 'python3-notify2 needs to be installed'
    error: libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.2 MISSING 'libcrypto needs to be installed'
    sane SANE - Scanning library REQUIRED - - OK -
    error: sane-devel SANE - Scanning library development files REQUIRED - - MISSING 'sane-devel needs to be installed'
    python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
    error: libjpeg libjpeg - JPEG library REQUIRED - - MISSING 'libjpeg needs to be installed'
    python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.5.2 OK -
    python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.4 OK -
    error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 4.11.4 MISSING 'python3-pyqt4-dbus needs to be installed'
    libpthread libpthread - POSIX threads library REQUIRED - b'2.24' OK -
    error: python3-devel Python devel - Python development files REQUIRED 2.2 3.5.2 MISSING 'python3-devel needs to be installed'
    error: cups-image CUPS image - CUPS image development files REQUIRED - - MISSING 'cups-image needs to be installed'
    error: libusb libusb - USB library REQUIRED - 1.0 MISSING 'libusb needs to be installed'
    python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.11.4 OK -
    python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.3.0 OK -
    error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 - MISSING 'libnetsnmp-devel needs to be installed'
    python3-xml Python XML libraries REQUIRED - 2.2.0 OK -
    error: cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - - MISSING 'cups-devel needs to be installed'

    ---------------------
    | Python Extentions |
    ---------------------

    cupsext CUPS-Extension REQUIRED - 3.16.7 OK -
    hpmudext IO-Extension REQUIRED - 3.16.7 OK -

    ------------------------------
    | DISCOVERED SCANNER DEVICES |
    ------------------------------

    device `hpaio:/usb/HP_Color_LaserJet_MFP_M277dw?serial=VNB8J4J9GY' is a Hewlett-Packard HP_Color_LaserJet_MFP_M277dw all-in-one

    --------------------------
    | DISCOVERED USB DEVICES |
    --------------------------

    Device URI Model
    ------------------------------------------------------ -------------------------------
    hp:/usb/HP_Color_LaserJet_MFP_M277dw?serial=VNB8J4J9GY HP Color LaserJet MFP M277dw

    ---------------------------------
    | INSTALLED CUPS PRINTER QUEUES |
    ---------------------------------


    HP-Color-LaserJet-MFP-M277dw
    ----------------------------
    Type: Printer
    Device URI: hp:/usb/HP_Color_LaserJet_MFP_M277dw?serial=VNB8J4J9GY
    PPD: /etc/cups/ppd/HP-Color-LaserJet-MFP-M277dw.ppd
    warning: Failed to read /etc/cups/ppd/HP-Color-LaserJet-MFP-M277dw.ppd ppd file
    PPD Description:
    Printer status: printer HP-Color-LaserJet-MFP-M277dw is idle. enabled since Wed 14 Dec 2016 06:00:12 AM CST
    Required plug-in status: Installed
    Communication status: Good

    HP-Color-LaserJet-MFP-M277dw-Fax-2
    ----------------------------------
    Type: Fax
    Device URI: hpfax:/usb/HP_Color_LaserJet_MFP_M277dw?serial=VNB8J4J9GY
    PPD: /etc/cups/ppd/HP-Color-LaserJet-MFP-M277dw-Fax-2.ppd
    warning: Failed to read /etc/cups/ppd/HP-Color-LaserJet-MFP-M277dw-Fax-2.ppd ppd file
    PPD Description:
    Printer status: printer HP-Color-LaserJet-MFP-M277dw-Fax-2 is idle. enabled since Wed 14 Dec 2016 06:00:12 AM CST
    Required plug-in status: Installed
    Communication status: Good

    HP-LaserJet-1022
    ----------------
    Type: Printer
    Device URI: hp:/usb/HP_LaserJet_1022?serial=JM0QEYN
    PPD: /etc/cups/ppd/HP-LaserJet-1022.ppd
    warning: Failed to read /etc/cups/ppd/HP-LaserJet-1022.ppd ppd file
    PPD Description:
    Printer Unplugged or turned offrJet-1022 disabled since Tue 13 Dec 2016 07:01:06 AM CST -
    Optional plug-in status: Installed
    error: Unable to communicate with device (code=12): hp:/usb/HP_LaserJet_1022?serial=JM0QEYN
    error: Device not found
    error: Communication status: Failed

    HP_Color_LaserJet_MFP_M277dw
    ----------------------------
    Type: Printer
    Device URI: hp:/usb/HP_Color_LaserJet_MFP_M277dw?serial=VNB8J4J9GY
    PPD: /etc/cups/ppd/HP_Color_LaserJet_MFP_M277dw.ppd
    warning: Failed to read /etc/cups/ppd/HP_Color_LaserJet_MFP_M277dw.ppd ppd file
    PPD Description:
    Printer status: printer HP_Color_LaserJet_MFP_M277dw is idle. enabled since Wed 14 Dec 2016 06:00:12 AM CST
    Required plug-in status: Installed
    Communication status: Good

    HP_Color_LaserJet_MFP_M277dw_2
    ------------------------------
    Type: Printer
    Device URI: hp:/usb/HP_Color_LaserJet_MFP_M277dw?serial=VNB8J4J9GY
    PPD: /etc/cups/ppd/HP_Color_LaserJet_MFP_M277dw_2.ppd
    warning: Failed to read /etc/cups/ppd/HP_Color_LaserJet_MFP_M277dw_2.ppd ppd file
    PPD Description:
    Printer status: printer HP_Color_LaserJet_MFP_M277dw_2 is idle. enabled since Wed 14 Dec 2016 06:00:12 AM CST
    Required plug-in status: Installed
    Communication status: Good

    HP_Color_LaserJet_MFP_M277dw_fax
    --------------------------------
    Type: Fax
    Device URI: hpfax:/usb/HP_Color_LaserJet_MFP_M277dw?serial=VNB8J4J9GY
    PPD: /etc/cups/ppd/HP_Color_LaserJet_MFP_M277dw_fax.ppd
    warning: Failed to read /etc/cups/ppd/HP_Color_LaserJet_MFP_M277dw_fax.ppd ppd file
    PPD Description:
    Printer status: printer HP_Color_LaserJet_MFP_M277dw_fax is idle. enabled since Wed 14 Dec 2016 06:00:12 AM CST
    Required plug-in status: Installed
    Communication status: Good

    --------------
    | PERMISSION |
    --------------

    USB HP-Color-LaserJet-MFP-M277dw Required - - OK Node:'/dev/bus/usb/001/003' Perm:' root lp rw- rw- rw- rw- r--'

    -----------
    | SUMMARY |
    -----------

    Missing Required Dependencies
    -----------------------------
    error: 'libtool' package is missing/incompatible
    error: 'libtool-bin' package is missing/incompatible
    error: 'build-essential' package is missing/incompatible
    error: 'libcups2' package is missing/incompatible
    error: 'libdbus-1-dev' package is missing/incompatible
    error: 'openssl' package is missing/incompatible
    error: 'libsane-dev' package is missing/incompatible
    error: 'libjpeg-dev' package is missing/incompatible
    error: 'python3-dev' package is missing/incompatible
    error: 'libcupsimage2-dev' package is missing/incompatible
    error: 'libusb-1.0.0-dev' package is missing/incompatible
    error: 'libsnmp-dev' package is missing/incompatible
    error: 'snmp-mibs-downloader' package is missing/incompatible
    error: 'libcups2-dev' package is missing/incompatible
    error: 'cups-bsd' package is missing/incompatible
    error: 'cups-client' package is missing/incompatible

    Missing Optional Dependencies
    -----------------------------
    error: 'gtk2-engines-pixbuf' package is missing/incompatible
    error: 'xsane' package is missing/incompatible
    error: 'avahi-utils' package is missing/incompatible
    error: 'python3-notify2' package is missing/incompatible
    error: 'python3-dbus.mainloop.qt' package is missing/incompatible

    Total Errors: 17
    Total Warnings: 0

    Done.
    Apparently the M277 dw's required plug-in was installed OK (did not fail), but a slew of HPLIP's required package dependencies are missing. I don't understand. The printer requires version 3.15.4 of HPLIP. I'm running Kubuntu 16.10, which contains HPLIP version 3.16.7. Can someone please explain to me the apparent inconsistency of the HPLIP version numbers and the missing dependencies noted in hp-check -t's output?
    Last edited by Snowhog; Dec 14, 2016, 02:56 PM.

    Comment


      #3
      Have you tried installing the missing depends?

      BTW, it would be helpful if you enclosed a long output like the above with Quote tags. It makes the post more readable.

      Please Read Me

      Comment


        #4
        (typo) quote tags --> code tags
        An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

        Comment


          #5
          Originally posted by Qqmike View Post
          (typo) quote tags --> code tags
          Either would do IMO

          Please Read Me

          Comment


            #6
            Looks like it might be one of those slows days around here! Where's Woody? (I like the vertical scroll bar on the right of a code box.)
            An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

            Comment


              #7
              I have some interesting news re my "printer problem." Despite all those error messages and missing dependencies, the printer works great. It prints (in color!), copies, scans, the automatic duplexer works, and I can print pages in landscape or portrait orientation. I have done not one thing to "fix" the printer. I decided to try it before installing a bunch of stuff to solve "missing packages" that turned out to be unnecessary. I have not tried the unit's fax feature because I no longer have a land-line phone. It's doing everything I wanted it to do.

              Comment


                #8
                I have some interesting news re my "printer problem." Despite all those error messages and missing dependencies, the printer works great.
                I believe it. I've had such issues, too, now and then, in Kubuntu and in Windows. I concluded, as you have, that as long as the printer "works," I can disregard what my OS is upset about.
                An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                Comment

                Working...
                X