Simple Scan and HPLIP do not recognize my scanner

Asked by Lefol Laurent on 2018-10-16

I own an HP Officejet 6500 A. I use Ubuntu 18.04.1 LTS. dpkg -l hplip says that HPLIP (3.17.10+repa) is installed. I suspect that HPLIP is not installed properly.
The printer is connected to my Ethernet network and works fine for printing tasks. However the scanner is not recognized (I use Simple Scan). The scanner used to work when I installed Ubuntu and HPLIP the first time. But I had a message at boot "Systray missing". I also had error messages regarding Python at every Ubuntu update. I tried to fix it, uninstalled HPLIP and re-installed it but I guess I did something wrong as I am very novice with Linux.
hp-check -t provides an error message: error: Unable to locate models.dat file
Here is the log:
Any help will be appreciated.

hp-check[8924]: info: :
hp-check[8924]: info: :HP Linux Imaging and Printing System (ver. 3.18.6)
hp-check[8924]: info: :Dependency/Version Check Utility ver. 15.1
hp-check[8924]: info: :
hp-check[8924]: info: :Copyright (c) 2001-15 HP Development Company, LP
hp-check[8924]: info: :This software comes with ABSOLUTELY NO WARRANTY.
hp-check[8924]: info: :This is free software, and you are welcome to distribute it
hp-check[8924]: info: :under certain conditions. See COPYING file for more details.
hp-check[8924]: info: :
hp-check[8924]: info: :Note: hp-check can be run in three modes:
hp-check[8924]: info: :1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP
hp-check[8924]: info: :supplied tarball (.tar.gz or .run) to determine if the proper dependencies are installed to
hp-check[8924]: info: :successfully compile HPLIP.
hp-check[8924]: info: :2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package
hp-check[8924]: info: :(.deb, .rpm, etc) or an already built HPLIP supplied tarball has the proper dependencies
hp-check[8924]: info: :installed to successfully run.
hp-check[8924]: info: :3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both
hp-check[8924]: info: :of the above cases (both compile- and run-time dependencies).
hp-check[8924]: info: :
hp-check[8924]: info: :Check types:
hp-check[8924]: info: :a. EXTERNALDEP - External Dependencies
hp-check[8924]: info: :b. GENERALDEP - General Dependencies (required both at compile and run time)
hp-check[8924]: info: :c. COMPILEDEP - Compile time Dependencies
hp-check[8924]: info: :d. [All are run-time checks]
hp-check[8924]: info: :PYEXT SCANCONF QUEUES PERMISSION
hp-check[8924]: info: :
hp-check[8924]: info: :Status Types:
hp-check[8924]: info: : OK
hp-check[8924]: info: : MISSING - Missing Dependency or Permission or Plug-in
hp-check[8924]: info: : INCOMPAT - Incompatible dependency-version or Plugin-version
hp-check[8924]: info: :
warning: 12-18.04 version is not supported. Using 12-17.04 versions dependencies to verify and install...
hp-check[8924]: info: :
hp-check[8924]: info: :---------------
hp-check[8924]: info: :| SYSTEM INFO |
hp-check[8924]: info: :---------------
hp-check[8924]: info: :
hp-check[8924]: info: : Kernel: 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 GNU/Linux
 Host: laurent-Vostro-430
 Proc: 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 GNU/Linux
 Distribution: 12 18.04
hp-check[8924]: info: : Bitness: 64 bit

hp-check[8924]: info: :
hp-check[8924]: info: :-----------------------
hp-check[8924]: info: :| HPLIP CONFIGURATION |
hp-check[8924]: info: :-----------------------
hp-check[8924]: info: :
hp-check[8924]: info: :HPLIP-Version: HPLIP 3.18.6
hp-check[8924]: info: :HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 12 distro 18.04 version
hp-check[8924]: info: :
hp-check[8924]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[8924]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.18.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-3.18.6
html=/usr/share/doc/hplip-3.18.6
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.18.6
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=yes
class-driver=no

hp-check[8924]: info: :
hp-check[8924]: info: :Current contents of '/var/lib/hp/hplip.state' file:
hp-check[8924]: info: :Plugins are not installed. Could not access file: No such file or directory
hp-check[8924]: info: :
hp-check[8924]: info: :Current contents of '~/.hplip/hplip.conf' file:
hp-check[8924]: info: :[upgrade]
notify_upgrade = true
last_upgraded_time = 1529168995
pending_upgrade_time = 0
latest_available_version = 3.17.10

[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hpfax:/net/Officejet_6500_E710a-f?ip=192.168.1.10"
printer_name =
working_dir = .

[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 =

[installation]
date_time = 10/16/18 16:31:56
version = 3.18.6

hp-check[8924]: info: : <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
hp-check[8924]: info: :
hp-check[8924]: info: :-------------------------
hp-check[8924]: info: :| External Dependencies |
hp-check[8924]: info: :-------------------------
hp-check[8924]: info: :
hp-check[8924]: info: : cups CUPS - Common Unix Printing System REQUIRED 1.1 2.2.7 OK 'CUPS Scheduler is running'
hp-check[8924]: info: : gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.25 OK -
hp-check[8924]: info: : xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
hp-check[8924]: info: : scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.27 OK -
hp-check[8924]: info: : dbus DBus - Message bus system REQUIRED - 1.12.2 OK -
hp-check[8924]: info: : policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
hp-check[8924]: info: : network network -wget OPTIONAL - 1.19.4 OK -
hp-check[8924]: info: : avahi-utils avahi-utils OPTIONAL - 0.7 OK -
hp-check[8924]: info: :
hp-check[8924]: info: :------------------------
hp-check[8924]: info: :| General Dependencies |
hp-check[8924]: info: :------------------------
hp-check[8924]: info: :
hp-check[8924]: info: : libjpeg libjpeg - JPEG library REQUIRED - - OK -
hp-check[8924]: info: : cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.2.7 OK -
hp-check[8924]: info: : cups-image CUPS image - CUPS image development files REQUIRED - 2.2.7 OK -
hp-check[8924]: info: : libpthread libpthread - POSIX threads library REQUIRED - b'2.27' OK -
hp-check[8924]: info: : libusb libusb - USB library REQUIRED - 1.0 OK -
hp-check[8924]: info: : sane SANE - Scanning library REQUIRED - - OK -
hp-check[8924]: info: : sane-devel SANE - Scanning library development files REQUIRED - - OK -
hp-check[8924]: info: : libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.3 OK -
hp-check[8924]: info: : libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.0 OK -
hp-check[8924]: info: : python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.6.6 OK -
hp-check[8924]: info: : python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
hp-check[8924]: info: : python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 4.12.1 OK -
hp-check[8924]: info: : python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.12.1 OK -
hp-check[8924]: info: : python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.6 OK -
hp-check[8924]: info: : python3-xml Python XML libraries REQUIRED - 2.2.5 OK -
hp-check[8924]: info: : python3-devel Python devel - Python development files REQUIRED 2.2 3.6.6 OK -
hp-check[8924]: info: : python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
hp-check[8924]: info: : python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.4.0 OK -
hp-check[8924]: info: :
hp-check[8924]: info: :--------------
hp-check[8924]: info: :| COMPILEDEP |
hp-check[8924]: info: :--------------
hp-check[8924]: info: :
hp-check[8924]: info: : libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
hp-check[8924]: info: : gcc gcc - GNU Project C and C++ Compiler REQUIRED - 7.3.0 OK -
hp-check[8924]: info: : make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.1 OK -
hp-check[8924]: info: :
hp-check[8924]: info: :---------------------
hp-check[8924]: info: :| Python Extentions |
hp-check[8924]: info: :---------------------
hp-check[8924]: info: :
hp-check[8924]: info: : cupsext CUPS-Extension REQUIRED - 3.18.6 OK -
hp-check[8924]: info: : hpmudext IO-Extension REQUIRED - 3.18.6 OK -
hp-check[8924]: info: :
hp-check[8924]: info: :----------------------
hp-check[8924]: info: :| Scan Configuration |
hp-check[8924]: info: :----------------------
hp-check[8924]: info: :
hp-check[8924]: info: : hpaio HPLIP-SANE-Backend REQUIRED - 3.18.6 OK 'hpaio found in /etc/sane.d/dll.conf'
hp-check[8924]: info: : scanext Scan-SANE-Extension REQUIRED - 3.18.6 OK -
hp-check[8924]: info: :
hp-check[8924]: info: :------------------------------
hp-check[8924]: info: :| DISCOVERED SCANNER DEVICES |
hp-check[8924]: info: :------------------------------
hp-check[8924]: info: :
hp-check[8924]: info: :No Scanner found.
hp-check[8924]: info: :
hp-check[8924]: info: :--------------------------
hp-check[8924]: info: :| DISCOVERED USB DEVICES |
hp-check[8924]: info: :--------------------------
hp-check[8924]: info: :
hp-check[8924]: info: :No devices found.
hp-check[8924]: info: :
hp-check[8924]: info: :---------------------------------
hp-check[8924]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[8924]: info: :---------------------------------
hp-check[8924]: info: :
hp-check[8924]: info: :
hp-check[8924]: info: :
hp-check[8924]: info: :
hp-check[8924]: info: :Type: Printer
hp-check[8924]: info: :Device URI: hp:/net/Officejet_6500_E710a-f?ip=192.168.1.10

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Lefol Laurent
Solved:
2018-10-16
Last query:
2018-10-16
Last reply:
Lefol Laurent (lololapile) said : #1

I finally managed to solve my problem. I downloaded hplip-3.18.9.run and installed it following the instructions given at https://developers.hp.com/hp-linux-imaging-and-printing/howtos/install#howtocheck2
The automatic installer managed to uninstall my previous hplip version.
It worked fine apart from some minor issues. Printer and scanner work now.
Laurent