Hi, I've got the same problem, I've got:
error: Python gobject/dbus may be not installed
error: Plug-in install failed.
then the script stops and a widow with: lug-In install failed appears.
My Python 2.7.15rc1
My hp-check log:
-desktop:~$ hp-check log
Saving output in log file: /home/juan/hp-check.log
HP Linux Imaging and Printing System (ver. 3.18.12)
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: 22-19.1 version is not supported. Using 22-19 versions
dependencies to verify and install...
---------------
| SYSTEM INFO |
---------------
Kernel: 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 GNU/Linux
Host: juan-desktop
Proc: 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 GNU/Linux
Distribution: 22 19.1
Bitness: 64 bit
-----------------------
| HPLIP CONFIGURATION |
-----------------------
HPLIP-Version: HPLIP 3.18.12
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 22 distro
19.1 version
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.18.12
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.18.12
html=/usr/share/doc/hplip-3.18.12
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.12
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
Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.18.12
Current contents of '~/.hplip/hplip.conf' file:
[upgrade]
notify_upgrade = true
last_upgraded_time = 1547657460
pending_upgrade_time = 0
latest_available_version = 3.17.10
[installation]
date_time = 01/21/19 16:39:24
version = 3.18.12
<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.18.12 OK -
hpaio HPLIP-SANE-Backend
REQUIRED - 3.18.12 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.18.12 OK -
cupsext CUPS-Extension
REQUIRED - 3.18.12 OK -
------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------
No Scanner found.
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
Device URI Model
-------------------------------- --------------------------------
hp:/usb/HP_LaserJet_Professional HP LaserJet Professional P 1102w
_P_1102w?serial=000000000W436C8R
PR1a
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
HP-LaserJet-Professional-P-1102w
--------------------------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_Professional_P_1102w?serial=000000000W436C8RPR1a
PPD: /etc/cups/ppd/HP-LaserJet-Professional-P-1102w.ppd
PPD Description: HP LaserJet Professional p 1102w, hpcups 3.18.12, requires
proprietary plugin
Printer status: printer HP-LaserJet-Professional-P-1102w is idle. enabled
since Mon Jan 14 09:54:45 2019
Communication status: Good
--------------
| PERMISSION |
--------------
USB HP-LaserJet-Professional-P-1102w Required - -
OK Node:'/dev/bus/usb/001/007' Perm:' root lp rw- rw- rw- rw- r--'
No errors or warnings.
Done.
I've been in this since installed mint 19, Ubuntu 18 worked ok, I hope
you can help me thanks in advance, regards.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to hplip in Ubuntu.
https://bugs.launchpad.net/bugs/1812582
Title:
Unable to install hplip 3.18.12 on linux mint 19.1
Status in hplip package in Ubuntu:
Confirmed
Bug description:
RESTART OR RE-PLUG IS REQUIRED
------------------------------
If you are installing a USB connected printer, and the printer was plugged in
when you started this installer, you
will need to either restart your PC or unplug and re-plug in your printer
(USB cable only). If you choose to restart,
run this command after restarting: hp-setup (Note: If you are using a
parallel connection, you will have to restart
your PC. If you are using network/wireless, you can ignore and continue).
Restart or re-plug in your printer (r=restart, p=re-plug in*,
i=ignore/continue, q=quit) : i
PRINTER SETUP
-------------
Please make sure your printer is connected and powered on at this time.
Do you want to setup printer in GUI mode? (u=GUI mode*, i=Interactive mode) :
u
HP Linux Imaging and Printing System (ver. 3.18.12)
Printer/Fax Setup Utility ver. 9.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.
Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=slp)
Segmentation fault
error: The device you are trying to setup requires a binary plug-in. Some
functionalities may not work as expected without plug-ins. Please run
'hp-plugin' as normal user to install plug-ins. Visit
http://hplipopensource.com for more infomation.
Segmentation fault
error: The device you are trying to setup requires a binary plug-in. Some
functionalities may not work as expected without plug-ins. Please run
'hp-plugin' as normal user to install plug-ins. Visit
http://hplipopensource.com for more infomation.
Done.
RE-STARTING HP_SYSTRAY
----------------------
HP Linux Imaging and Printing System (ver. 3.18.12)
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.
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:127: RuntimeWarning:
PyOS_InputHook is not available for interactive use of PyGTK
set_interactive(1)
:~/Downloads$ hp-plugin
HP Linux Imaging and Printing System (ver. 3.18.12)
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.18.12)
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:
Receiving digital keys: /usr/bin/gpg --homedir /<HOME_DIR>/.hplip/.gnupg
--no-permission-warning --keyserver pgp.mit.edu --recv-keys
0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.18.12 Plugin Self Extracting
Archive.........................................................
HP Linux Imaging and Printing System (ver. 3.18.12)
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.18.12
Installed HPLIP version: 3.18.12
Number of files to install: 55
Plugin installation failed
error: Python gobject/dbus may be not installed
error: Plug-in install failed.
Done.
From kernel log
hplip/plugin.py" name="/etc/xdg/Trolltech.conf" pid=4238 comm="python"
requested_mask="k" denied_mask="k" fsuid=1000 ouid=0
[ 9015.754212] audit: type=1400 audit(1548011993.816:100): apparmor="DENIED"
operation="file_lock" profile="/usr/share/hplip/plugin.py"
name="/run/sudo/ts/<USER>" pid=4240 comm="sudo" requested_mask="k"
denied_mask="k" fsuid=0 ouid=0
[ 9015.862631] audit: type=1400 audit(1548011993.924:101): apparmor="DENIED"
operation="file_lock" profile="/usr/share/hplip/plugin.py" name="/run/utmp"
pid=4240 comm="sudo" requested_mask="k" denied_mask="k" fsuid=0 ouid=0
[ 9015.995294] audit: type=1400 audit(1548011994.056:102): apparmor="DENIED"
operation="file_lock" profile="/usr/share/hplip/plugin.py"
name="/run/sudo/ts/<USER>" pid=4242 comm="sudo" requested_mask="k"
denied_mask="k" fsuid=0 ouid=0
[ 9016.106213] audit: type=1400 audit(1548011994.168:103): apparmor="DENIED"
operation="file_lock" profile="/usr/share/hplip/plugin.py" name="/run/utmp"
pid=4242 comm="sudo" requested_mask="k" denied_mask="k" fsuid=0 ouid=0
[ 9016.114315] audit: type=1400 audit(1548011994.176:104): apparmor="DENIED"
operation="open" profile="/usr/share/hplip/plugin.py"
name="/home/.ecryptfs/<USER>/.Private/ECRYPTFS_FNEK_ENCRYPTED.FWZXLgkUO3wJxkRDnmEPEkMeOnALnTtt920ecJj9Pt4lU9dfOWMTFwQYvk--/ECRYPTFS_FNEK_ENCRYPTED.FWZXLgkUO3wJxkRDnmEPEkMeOnALnTtt920eHjAxQuUSzNFFOdW3jm3H7k--/ECRYPTFS_FNEK_ENCRYPTED.FXZXLgkUO3wJxkRDnmEPEkMeOnALnTtt920eaW2zvma1kEIjAS0cwDBZOKA9gPAlivefjKuXjwidMp2-"
pid=4243 comm="python" requested_mask="w" denied_mask="w" fsuid=0 ouid=1000
[ 9016.114378] audit: type=1400 audit(1548011994.176:105): apparmor="DENIED"
operation="open" profile="/usr/share/hplip/plugin.py"
name="/home/.ecryptfs/<USER>/.Private/ECRYPTFS_FNEK_ENCRYPTED.FWZXLgkUO3wJxkRDnmEPEkMeOnALnTtt920ecJj9Pt4lU9dfOWMTFwQYvk--/ECRYPTFS_FNEK_ENCRYPTED.FWZXLgkUO3wJxkRDnmEPEkMeOnALnTtt920eHjAxQuUSzNFFOdW3jm3H7k--/ECRYPTFS_FNEK_ENCRYPTED.FXZXLgkUO3wJxkRDnmEPEkMeOnALnTtt920eaW2zvma1kEIjAS0cwDBZOKA9gPAlivefjKuXjwidMp2-"
pid=4243 comm="python" requested_mask="w" denied_mask="w" fsuid=0 ouid=1000
[ 9016.186780] audit: type=1400 audit(1548011994.248:106): apparmor="DENIED"
operation="open" profile="/usr/share/hplip/plugin.py"
name="/home/.ecryptfs/<USER>/.Private/ECRYPTFS_FNEK_ENCRYPTED.FWZXLgkUO3wJxkRDnmEPEkMeOnALnTtt920ecJj9Pt4lU9dfOWMTFwQYvk--/ECRYPTFS_FNEK_ENCRYPTED.FWZXLgkUO3wJxkRDnmEPEkMeOnALnTtt920eHjAxQuUSzNFFOdW3jm3H7k--/ECRYPTFS_FNEK_ENCRYPTED.FWZXLgkUO3wJxkRDnmEPEkMeOnALnTtt920e1RYG.lYwop-QFddC5DZWIk--"
pid=4243 comm="python" requested_mask="w" denied_mask="w" fsuid=0 ouid=1000
[ 9016.190209] audit: type=1400 audit(1548011994.252:107): apparmor="DENIED"
operation="open" profile="/usr/share/hplip/plugin.py"
name="/home/.ecryptfs/<USER>/.Private/ECRYPTFS_FNEK_ENCRYPTED.FWZXLgkUO3wJxkRDnmEPEkMeOnALnTtt920ecJj9Pt4lU9dfOWMTFwQYvk--/ECRYPTFS_FNEK_ENCRYPTED.FWZXLgkUO3wJxkRDnmEPEkMeOnALnTtt920eHjAxQuUSzNFFOdW3jm3H7k--/ECRYPTFS_FNEK_ENCRYPTED.FWZXLgkUO3wJxkRDnmEPEkMeOnALnTtt920e1RYG.lYwop-QFddC5DZWIk--"
pid=4243 comm="python" requested_mask="w" denied_mask="w" fsuid=0 ouid=1000
[ 9016.199871] audit: type=1400 audit(1548011994.260:108): apparmor="DENIED"
operation="open" profile="/usr/share/hplip/plugin.py"
name="/home/.ecryptfs/<USER>/.Private/ECRYPTFS_FNEK_ENCRYPTED.FWZXLgkUO3wJxkRDnmEPEkMeOnALnTtt920ecJj9Pt4lU9dfOWMTFwQYvk--/ECRYPTFS_FNEK_ENCRYPTED.FWZXLgkUO3wJxkRDnmEPEkMeOnALnTtt920eHjAxQuUSzNFFOdW3jm3H7k--/ECRYPTFS_FNEK_ENCRYPTED.FXZXLgkUO3wJxkRDnmEPEkMeOnALnTtt920eaW2zvma1kEIjAS0cwDBZOTmtNSeLXbLHjbwAeADKu-2-"
pid=4243 comm="python" requested_mask="w" denied_mask="w" fsuid=0 ouid=1000
[ 9016.199977] audit: type=1400 audit(1548011994.260:109): apparmor="DENIED"
operation="mknod" profile="/usr/share/hplip/plugin.py"
name="/etc/udev/rules.d/S99-2000S1.rules" pid=4243 comm="python"
requested_mask="c" denied_mask="c" fsuid=0 ouid=0
Can you not deal with encrypted home dirs?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/1812582/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp