hp-plugin fail installation scan not works 3.19.1 3.18.12

Asked by Douglas G. Oechsler

Hello!
How are you?

I did try install hp-plugin at:
Ubuntu mate 18.04,
Mint 19.1,
Opensuse 15.0 all 64 bits

First:
hplip version installed was 3.18.12 for printers models: hp m125a, M1212 and M1120. On all printers models was not possible run hp-plugin, give me error. And even do it download hp-plugin 3.18.12 by hand and manual installation the scanner cannot works.

Second:
I did download hplip 3.19.1 and hp-plugin 3.19.1 in Ubuntu 18.04 64 bits for printer M1212 (printer Works but NOT printer)

Result about command: hp-check -t

hp-check -t
Saving output in log file: /home/oksana/hp3/hp-check.log

HP Linux Imaging and Printing System (ver. 3.19.1)
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

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

 Kernel: 4.15.0-44-generic #47-Ubuntu SMP Mon Jan 14 11:26:59 UTC 2019 GNU/Linux
 Host: oksana-turimo
 Proc: 4.15.0-44-generic #47-Ubuntu SMP Mon Jan 14 11:26:59 UTC 2019 GNU/Linux
 Distribution: 12 18.04
 Bitness: 64 bit

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

HPLIP-Version: HPLIP 3.19.1
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for ubuntu distro 18.04 version

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

[hplip]
version=3.19.1

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.19.1
html=/usr/share/doc/hplip-3.19.1
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
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=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.19.1
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
qt5=no
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
class-driver=no

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

Current contents of '~/.hplip/hplip.conf' file:
[upgrade]
notify_upgrade = false
last_upgraded_time = 1548852719
pending_upgrade_time = 0
latest_available_version = 3.17.10

[installation]
date_time = 30/01/2019 11:46:28
version = 3.19.1

[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hp:/usb/HP_LaserJet_Professional_M1212nf_MFP?serial=000000000QJ59NDPPR1a"
printer_name = HP-LaserJet-Professional-M1212nf-MFP
working_dir = /home/oksana/hp3/hplip-3.19.1-plugin.run

[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
interval = 5
device_list =

[fax]
voice_phone =
email_address =

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

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

 gcc gcc - GNU Project C and C++ Compiler REQUIRED - 7.3.0 OK -
 make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.1 OK -
 libtool libtool - Library building support services REQUIRED - 2.4.6 OK -

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

 libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.0 OK -
 python-xml Python XML libraries REQUIRED - 2.2.5 OK -
 libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.3 OK -
 sane-devel SANE - Scanning library development files REQUIRED - - OK -
 pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
 pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 REQUIRED 4.0 4.12.1 OK -
 libpthread libpthread - POSIX threads library REQUIRED - 2.27 OK -
 python-devel Python devel - Python development files REQUIRED 2.2 2.7.15 OK -
 cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.2.7 OK -
 python-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.6 OK -
 cups-ddk CUPS DDK - CUPS driver development kit OPTIONAL - - OK -
 reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.4.0 OK -
 pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.12.1 OK -
 libusb libusb - USB library REQUIRED - 1.0 OK -
 cups-image CUPS image - CUPS image development files REQUIRED - 2.2.7 OK -
 python2X Python 2.2 or greater - Python programming language REQUIRED 2.2 2.7.15 OK -
 python-notify Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
 libjpeg libjpeg - JPEG library REQUIRED - - OK -
 sane SANE - Scanning library REQUIRED - - OK -

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

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

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

 gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.26 OK -
 scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.27 OK -
 cups CUPS - Common Unix Printing System REQUIRED 1.1 2.2.7 OK 'CUPS Scheduler is running'
 network network -wget OPTIONAL - 1.19.4 OK -
 policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
 xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
 dbus DBus - Message bus system REQUIRED - 1.12.2 OK -
 avahi-utils avahi-utils OPTIONAL - 0.7 OK -

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

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

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

device `hpaio:/usb/HP_LaserJet_Professional_M1212nf_MFP?serial=000000000QJ59NDPPR1a' is a Hewlett-Packard HP_LaserJet_Professional_M1212nf_MFP all-in-one

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

  Device URI Model
  -------------------------------- --------------------------------
  hp:/usb/HP_LaserJet_Professional HP LaserJet Professional M1212nf
  _M1212nf_MFP?serial=000000000QJ5 MFP
  9NDPPR1a

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

Epsonl380
---------
Type: Unknown
Device URI: lpd://192.168.10.14/epsonl380
PPD: /etc/cups/ppd/Epsonl380.ppd
warning: Failed to read /etc/cups/ppd/Epsonl380.ppd ppd file
PPD Description:
Printer status: impressora Epsonl380 está inativa; habilitada desde qui 24 jan 2019 15:39:37 -02
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

HP-LaserJet-Professional-M1212nf-MFP
------------------------------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_Professional_M1212nf_MFP?serial=000000000QJ59NDPPR1a
PPD: /etc/cups/ppd/HP-LaserJet-Professional-M1212nf-MFP.ppd
warning: Failed to read /etc/cups/ppd/HP-LaserJet-Professional-M1212nf-MFP.ppd ppd file
PPD Description:
Printer status: impressora HP-LaserJet-Professional-M1212nf-MFP está inativa; habilitada desde qua 30 jan 2019 11:24:30 -02
Communication status: Good

HP-LaserJet-Professional-M1212nf-MFP-Fax-3
------------------------------------------
Type: Fax
Device URI: hpfax:/usb/HP_LaserJet_Professional_M1212nf_MFP?serial=000000000QJ59NDPPR1a
PPD: /etc/cups/ppd/HP-LaserJet-Professional-M1212nf-MFP-Fax-3.ppd
warning: Failed to read /etc/cups/ppd/HP-LaserJet-Professional-M1212nf-MFP-Fax-3.ppd ppd file
PPD Description:
Printer status: impressora HP-LaserJet-Professional-M1212nf-MFP-Fax-3 está inativa; habilitada desde qui 17 jan 2019 13:14:48 -02
Communication status: Good

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

USB HP-LaserJet-Professional-M1212nf-MFP Required - - OK Node:'/dev/bus/usb/003/006' Perm:' root lp rw- rw- rw- rw- r--'

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

Missing Required Dependencies
-----------------------------
None

Missing Optional Dependencies
-----------------------------
None

Total Errors: 0
Total Warnings: 1

Done.

____________________________________________________________________________

Result about command: ./hplip-3.19.1-plugin.run

./hplip-3.19.1-plugin.run
Verifying archive integrity... All good.
Uncompressing HPLIP 3.19.1 Plugin Self Extracting Archive..............................................................

HP Linux Imaging and Printing System (ver. 3.19.1)
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.19.1
Installed HPLIP version: 3.19.1
Number of files to install: 64

Done.

__________________________________________________________-

HP-PLUGIN
Install hp-plugin by command:

./hplip-3.19.1.run
Creating directory hplip-3.19.1
Verifying archive integrity... All good.
Uncompressing HPLIP 3.19.1 Self Extracting Archive.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................chown: alterando o dono de './.libs/cupsext.soT': Operação não permitida
chown: alterando o dono de './.libs/libhpmud.so.0.0.6T': Operação não permitida
chown: alterando o dono de './.libs/libhpipp.so.0.0.1T': Operação não permitida
chown: alterando o dono de './.libs/libsane-hpaio.so.1.0.0T': Operação não permitida
chown: alterando o dono de './.libs/hpmudext.soT': Operação não permitida
chgrp: alterando o grupo de './.libs/cupsext.soT': Operação não permitida
chgrp: alterando o grupo de './.libs/libhpmud.so.0.0.6T': Operação não permitida
chgrp: alterando o grupo de './.libs/libhpipp.so.0.0.1T': Operação não permitida
chgrp: alterando o grupo de './.libs/libsane-hpaio.so.1.0.0T': Operação não permitida
chgrp: alterando o grupo de './.libs/hpmudext.soT': Operação não permitida

HP Linux Imaging and Printing System (ver. 3.19.1)
HPLIP Installer ver. 5.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.

Installer log saved in: hplip-install_Wed-30-Jan-2019_13:07:57.log

\
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.

INSTALLATION MODE
-----------------
Automatic mode will install the full HPLIP solution with the most common options.
Custom mode allows you to choose installation options to fit specific requirements.

Please choose the installation mode (a=automatic*, c=custom, q=quit) : a

INTRODUCTION
------------
This installer will install HPLIP version 3.19.1 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).

DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Ubuntu 18.04.

Is "Ubuntu 18.04" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y

Initializing. Please wait...

ENTER USER PASSWORD
-------------------
Please enter the sudoer (oksana)'s password:

INSTALLATION NOTES
------------------
Enable the universe/multiverse repositories. Also be sure you are using the Ubuntu "Main" Repositories. See: https://help.ubuntu.com/community/Repositories/Ubuntu for more information. Disable the CD-ROM/DVD source if you do not have the Ubuntu installation media inserted in the drive.

Please read the installation notes. Press <enter> to continue or 'q' to quit:

SECURITY PACKAGES
-----------------
AppArmor is installed.
AppArmor protects the application from external intrusion attempts making the application secure

Would you like to have this installer install the hplip specific policy/profile (y=yes*, n=no, q=quit) ? y

RUNNING PRE-INSTALL COMMANDS
----------------------------
OK

CHECKING FOR NETWORK CONNECTION
-------------------------------
Network connection present.

RUNNING PRE-PACKAGE COMMANDS
----------------------------
sudo dpkg --configure -a (Pre-depend step 1)
sudo apt-get install --yes --force-yes -f (Pre-depend step 2)
sudo apt-get update (Pre-depend step 3)
OK

DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
HPLIP-3.19.1 exists, this may conflict with the new one being installed.
Do you want to ('i'= Remove and Install*, 'q'= Quit)? :i
Starting uninstallation...
HPLIP uninstallation is completed

RUNNING POST-PACKAGE COMMANDS
-----------------------------
OK

RE-CHECKING DEPENDENCIES
------------------------
OK

RUNNING SCANJET DEPENDENCY COMMANDS
-----------------------------------
sudo apt-get install --assume-yes python-pip (Scanjet-depend step 1)
sudo pip2 install --upgrade pip (Scanjet-depend step 2)
sudo apt-get install --assume-yes libleptonica-dev (Scanjet-depend step 3)
sudo apt-get install --assume-yes tesseract-ocr (Scanjet-depend step 4)
sudo apt-get install --assume-yes libtesseract-dev (Scanjet-depend step 5)
sudo -H pip2 install tesserocr (Scanjet-depend step 6)
sudo apt-get install --assume-yes tesseract-ocr-all (Scanjet-depend step 7)
sudo apt-get install --assume-yes libzbar-dev (Scanjet-depend step 8)
sudo apt-get install --assume-yes python-zbar (Scanjet-depend step 9)
sudo -H pip2 install opencv-python (Scanjet-depend step 10)
sudo -H pip2 install PyPDF2 (Scanjet-depend step 11)
sudo -H pip2 install imutils (Scanjet-depend step 12)
sudo -H pip2 install pypdfocr (Scanjet-depend step 13)
sudo -H pip2 install scikit-image (Scanjet-depend step 14)
OK

PRE-BUILD COMMANDS
------------------
OK

BUILD AND INSTALL
-----------------
Running './configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib --prefix=/usr --enable-qt4 --disable-qt5 --enable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --disable-libusb01_build --disable-foomatic-ppd-install --disable-hpijs-install --disable-class-driver --disable-udev_sysfs_rules --disable-policykit --enable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build --enable-apparmor_build'
Please wait, this may take several minutes...
Command completed successfully.

Running 'make clean'
Please wait, this may take several minutes...
Command completed successfully.

Running 'make'
Please wait, this may take several minutes...
Command completed successfully.

Running 'sudo make install'
Please wait, this may take several minutes...
Command completed successfully.

Build complete.

POST-BUILD COMMANDS
-------------------

CLOSE HP_SYSTRAY
----------------
Sending close message to hp-systray (if it is currently running)...
OK

HPLIP UPDATE NOTIFICATION
-------------------------
Do you want to check for HPLIP updates?. (y=yes*, n=no) : n

HPLIP PLUGIN UPDATE NOTIFICATION
--------------------------------
HPLIP Plug-in's needs to be installed/updated. Do you want to update plug-in's?. (y=yes*, n=no) : y
Do you want to install plug-in's in GUI mode?. (u=GUI mode*, i=Interactive mode) : u

HP Linux Imaging and Printing System (ver. 3.19.1)
Plugin Download and Install Utility ver. 2.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.

HP Linux Imaging and Printing System (ver. 3.19.1)
Plugin Download and Install Utility ver. 2.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.

Checking for network connection...
Downloading plug-in from:
Plugin is not accessible. Trying to download it from fallback location: [https://developers.hp.com/sites/default/files/hplip-3.19.1-plugin.run]
Receiving digital keys: /usr/bin/gpg --homedir /home/oksana/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.19.1 Plugin Self Extracting Archive..............................................................

HP Linux Imaging and Printing System (ver. 3.19.1)
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.19.1
Installed HPLIP version: 3.19.1
Number of files to install: 64

Plugin installation failed
error: Python gobject/dbus may be not installed
error: Plug-in install failed.

After this, the system give a window error about install filed
So, I press q (to quit). And do the commad:

./hplip-3.19.1-plugin.run

Verifying archive integrity... All good.
Uncompressing HPLIP 3.19.1 Plugin Self Extracting Archive..............................................................

HP Linux Imaging and Printing System (ver. 3.19.1)
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.19.1
Installed HPLIP version: 3.19.1
Number of files to install: 64

Done.

I reboot the system and try use scan again. Simple-scan installed and xsane too. NOT WORKS

I don't know what to do more!

Thanks attention and help!

Douglas

Question information

Language:
English Edit question
Status:
Expired
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

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