Moin,
na hoffentlich bist Du jetzt wieder korrekt "abonniert".
Kellerkind_2009 schrieb:
nach einem Neustart nochmal
Ok, kleine Veränderung, $USER ist jetzt Mitglied von lp
aber dafür meckert hp-doctor
nun und fordert zur Neukonfiguration auf:
$ id
uid=1000(ich) gid=1000(ich) Gruppen=1000(ich),4(adm),7(lp),20(dialout),24(cdrom),27(sudo),30(dip),46(plugdev),116(lpadmin),126(sambashare)
$ dpkg -l python3-dbus.mainloop.qt
dpkg-query: Kein Paket gefunden, das auf python3-dbus.mainloop.qt passt
$ dpkg -l | egrep HP
ii hplip 3.17.10+repack0-5 amd64 HP Linux Printing and Imaging System (HPLIP)
ii hplip-data 3.17.10+repack0-5 all HP Linux Printing and Imaging - data files
ii hplip-gui 3.17.10+repack0-5 all HP Linux Printing and Imaging - GUI utilities (Qt-based)
ii libhpmud0:amd64 3.17.10+repack0-5 amd64 HP Multi-Point Transport Driver (hpmud) run-time libraries
ii libsane-hpaio:amd64 3.17.10+repack0-5 amd64 HP SANE backend for multi-function peripherals
ii printer-driver-hpcups 3.17.10+repack0-5 amd64 HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
ii printer-driver-pnm2ppa 1.13+nondbs-0ubuntu6 amd64 printer driver for HP-GDI printers
ii printer-driver-postscript-hp 3.17.10+repack0-5 all HP Printers PostScript Descriptions
ii printer-driver-pxljr 1.4+repack0-5 amd64 printer driver for HP Color LaserJet 35xx/36xx
$ hp-doctor
Traceback (most recent call last):
File "/usr/bin/hp-doctor", line 42, in <module>
check_extension_module_env('cupsext')
File "/usr/share/hplip/base/g.py", line 339, in check_extension_module_env
python_ver = xint((sys.version).split(' ')[0]) #find the current python version ; xint() to convert string to int, returns a list
File "/usr/share/hplip/base/g.py", line 331, in xint
return l
UnboundLocalError: local variable 'l' referenced before assignment
ich@T500:~$ hp-diagnose_queues -i
HP Linux Imaging and Printing System (ver. 3.17.10)
AutoConfig Utility to check queues configuration ver. 1.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.
unknown protocol device_uri=socket://fritz.box:9100
unknown protocol device_uri=cnijusb:/dev/usb/lp0
unknown protocol device_uri=socket://fritz.box:9100
warning: Device Canon-MX880-3.90_USB is not HPLIP installed. Device must use the hp: or hpfax: to function in HPLIP.
warning: Canon-MX880-3.90_USB is not HP Device.
warning: Device Epson-WF-2630_USB is not HPLIP installed. Device must use the hp: or hpfax: to function in HPLIP.
warning: Epson-WF-2630_USB is not HP Device.
warning: Device Hewlett-Packard-hp-LaserJet-1320-series is not HPLIP installed. Device must use the hp: or hpfax: to function in HPLIP.
unknown protocol device_uri=socket://fritz.box:9100
warning: Device MX880-series_USB is not HPLIP installed. Device must use the hp: or hpfax: to function in HPLIP.
warning: MX880-series_USB is not HP Device.
error: 'Hewlett-Packard-hp-LaserJet-1320-series' is not configured using HPLIP. Need to remove and re-cofigure using hp-setup.
Do you want to remove and re-configure? (y=yes*, n=no, q=quit) ? y
' Hewlett-Packard-hp-LaserJet-1320-series' removed successfully.
Re-configuring this printer by hp-setup...
HP Linux Imaging and Printing System (ver. 3.17.10)
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.
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------
Num Connection Description
Type
-------- ---------- ----------------------------------------------------------
0* usb Universal Serial Bus (USB)
1 net Network/Ethernet/Wireless (direct connection or JetDirect)
2 par Parallel Port (LPT:)
Enter number 0...2 for connection type (q=quit, enter=usb*) ? 0
Using connection type: usb
Setting up device: hp:/usb/hp_LaserJet_1320_series?serial=00CNHW55TGZ5
---------------------
| PRINT QUEUE SETUP |
---------------------
Please enter a name for this print queue (m=use model name:'hp_LaserJet_1320'*, q=quit) ?m
Using queue name: hp_LaserJet_1320
Locating PPD file... Please wait.
Found PPD file: hplip:0/ppd/hplip/HP/hp-laserjet_1320-ps.ppd
Description:
Note: The model number may vary slightly from the actual model number on the device.
Does this PPD file appear to be the correct one (y=yes*, n=no, q=quit) ? y
Enter a location description for this printer (q=quit) ?USB
Enter additonal information or notes for this printer (q=quit) ?q
OK, done.
Tja, nix OK leider, denn nun ist der zuvor vorhandene Drucker einfach aus system-config-printer
verschwunden, und Testseite drucken geht auch nicht mehr:
$ hp-info -i
HP Linux Imaging and Printing System (ver. 3.17.10)
Device Information Utility ver. 5.2
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.
error: No device found that support this feature.
$ hp-doctor
Traceback (most recent call last):
File "/usr/bin/hp-doctor", line 42, in <module>
check_extension_module_env('cupsext')
File "/usr/share/hplip/base/g.py", line 339, in check_extension_module_env
python_ver = xint((sys.version).split(' ')[0]) #find the current python version ; xint() to convert string to int, returns a list
File "/usr/share/hplip/base/g.py", line 331, in xint
return l
UnboundLocalError: local variable 'l' referenced before assignment
$ hp-testpage -i
HP Linux Imaging and Printing System (ver. 3.17.10)
Testpage Print Utility ver. 6.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.
error: No device found that support this feature.
error: No installed printers found (or) Invalid printer device selected
Also habe ich den Drucker wieder per system-config-printer
hinzugefügt. Jetzt druckt er wieder die Testseite. 👍 Eigentlich könnte ich jetzt hier wieder aufhören, doch wollen wir ja ein korrektes Gesamtsystem und gucken mal weiter ...
$ sudo hp-check -r
Saving output in log file: /home/ich/hp-check.log
HP Linux Imaging and Printing System (ver. 3.17.10)
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
\Gtk-Message: 16:04:49.828: Failed to load module "canberra-gtk-module"
warning: 12-18.04 version is not supported. Using 12-17.04 versions dependencies to verify and install...
---------------
| SYSTEM INFO |
---------------
Kernel: 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 GNU/Linux
Host: T500
Proc: 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 GNU/Linux
Distribution: 12 18.04
Bitness: 64 bit
-----------------------
| HPLIP CONFIGURATION |
-----------------------
HPLIP-Version: HPLIP 3.17.10
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 12 distro 18.04 version
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.17.10
[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.17.10
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:
Plugins are not installed. Could not access file: No such file or directory
Current contents of '~/.hplip/hplip.conf' file:
[commands]
scan = /usr/bin/simple-scan %SANE_URI%
[fax]
email_address =
voice_phone =
[last_used]
device_uri = hp:/usb/hp_LaserJet_1320_series?serial=00CNHW55TGZ5
printer_name = hp_LaserJet_1320
working_dir = .
[polling]
device_list =
enable = false
interval = 5
[refresh]
enable = false
rate = 30
type = 1
[settings]
systray_messages = 0
systray_visible = 0
[upgrade]
last_upgraded_time = 1570658566
notify_upgrade = false
pending_upgrade_time = 0
[installation]
date_time = 10/15/19 23:04:34
version = 3.17.10
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
-------------------------
| External Dependencies |
-------------------------
error: cups CUPS - Common Unix Printing System REQUIRED 1.1 - INCOMPAT 'CUPS may not be installed or not running'
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.26 OK -
Gtk-Message: 16:04:51.974: Failed to load module "canberra-gtk-module"
Gtk-Message: 16:04:52.012: Failed to load module "canberra-gtk-module"
xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.27 OK -
dbus DBus - Message bus system REQUIRED - 1.12.2 OK -
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
network network -wget OPTIONAL - 1.19.4 OK -
avahi-utils avahi-utils OPTIONAL - 0.7 OK -
------------------------
| General Dependencies |
------------------------
error: libjpeg libjpeg - JPEG library REQUIRED - - MISSING 'libjpeg needs to be installed'
error: cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - - MISSING 'cups-devel needs to be installed'
error: cups-image CUPS image - CUPS image development files REQUIRED - - MISSING 'cups-image needs to be installed'
libpthread libpthread - POSIX threads library REQUIRED - b'2.27' OK -
error: libusb libusb - USB library REQUIRED - 1.0 MISSING 'libusb 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'
error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 - MISSING 'libnetsnmp-devel needs to be installed'
error: libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 MISSING 'libcrypto needs to be installed'
python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.6.8 OK -
python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 - MISSING 'python3-pyqt4-dbus needs to be installed'
error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 - MISSING 'python3-pyqt4 needs to be installed'
python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.6 OK -
python3-xml Python XML libraries REQUIRED - 2.2.5 OK -
error: python3-devel Python devel - Python development files REQUIRED 2.2 3.6.8 MISSING 'python3-devel needs to be installed'
python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.4.0 OK -
--------------
| COMPILEDEP |
--------------
error: libtool libtool - Library building support services REQUIRED - - MISSING 'libtool needs to be installed'
gcc gcc - GNU Project C and C++ Compiler REQUIRED - 7.4.0 OK -
make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.1 OK -
---------------------
| Python Extentions |
---------------------
cupsext CUPS-Extension REQUIRED - 3.17.10 OK -
hpmudext IO-Extension REQUIRED - 3.17.10 OK -
----------------------
| Scan Configuration |
----------------------
'/etc/sane.d/dll.d/hpaio' not found.
hpaio HPLIP-SANE-Backend REQUIRED - 3.17.10 OK 'hpaio found in /etc/sane.d/dll.conf'
scanext Scan-SANE-Extension REQUIRED - 3.17.10 OK -
------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------
No Scanner found.
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
Device URI Model
-------------------------------- -----------------------
hp:/usb/hp_LaserJet_1320_series? HP LaserJet 1320 series
serial=00CNHW55TGZ5
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
Canon-MX880-3.50-1_FRITZ!Box
----------------------------
Type: Unknown
Device URI: socket://fritz.box:9100
PPD: /etc/cups/ppd/Canon-MX880-3.50-1_FRITZ!Box.ppd
PPD Description: Canon MX880 series Ver.3.50
Printer status: Drucker Canon-MX880-3.50-1_FRITZ!Box ist im Leerlauf. Aktiviert seit So 23 Sep 2018 04:08:10 CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
Canon-MX880-3.50-1_USB
----------------------
Type: Unknown
Device URI: cnijusb:/dev/usb/lp0
PPD: /etc/cups/ppd/Canon-MX880-3.50-1_USB.ppd
PPD Description: Canon MX880 series Ver.3.50
Printer status: Drucker Canon-MX880-3.50-1_USB ist im Leerlauf. Aktiviert seit So 23 Sep 2018 04:00:16 CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
Canon-MX880-3.90_FRITZ!Box
--------------------------
Type: Unknown
Device URI: socket://fritz.box:9100
PPD: /etc/cups/ppd/Canon-MX880-3.90_FRITZ!Box.ppd
PPD Description: Canon MX880 series Ver.3.90
Printer status: Drucker Canon-MX880-3.90_FRITZ!Box ist im Leerlauf. Aktiviert seit Do 08 Nov 2018 14:55:34 CET
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
Canon-MX880-3.90_USB
--------------------
Type: Unknown
Device URI: usb://Canon/MX880%20series?serial=10283A&interface=1
PPD: /etc/cups/ppd/Canon-MX880-3.90_USB.ppd
PPD Description: Canon MX880 series Ver.3.90
Printer status: Drucker Canon-MX880-3.90_USB ist im Leerlauf. Aktiviert seit So 23 Sep 2018 02:49:32 CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
Epson-WF-2630_USB
-----------------
Type: Unknown
Device URI: usb://EPSON/WF-2630%20Series?serial=554D43593237333652&interface=1
PPD: /etc/cups/ppd/Epson-WF-2630_USB.ppd
PPD Description: Epson WF-2530 Series - epson-inkjet-printer-escpr 1.6.33-1lsb3.2 (Seiko Epson Corporation LSB 3.2)
Printer status: Drucker Epson-WF-2630_USB ist im Leerlauf. Aktiviert seit Do 13 Jun 2019 23:44:31 CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
Hewlett-Packard-hp-LaserJet-1320-series
---------------------------------------
Type: Unknown
Device URI: usb://HP/LaserJet%201320%20series?serial=00CNHW55TGZ5
PPD: /etc/cups/ppd/Hewlett-Packard-hp-LaserJet-1320-series.ppd
PPD Description: HP LaserJet 1320 Foomatic/pxlmono (recommended)
Printer status: Drucker Hewlett-Packard-hp-LaserJet-1320-series ist im Leerlauf. Aktiviert seit Mi 16 Okt 2019 16:00:50 CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
MX880-series_FRITZ!Box
----------------------
Type: Unknown
Device URI: socket://fritz.box:9100
PPD: /etc/cups/ppd/MX880-series_FRITZ!Box.ppd
PPD Description: Canon MX880 series - CUPS+Gutenprint v5.2.13
Printer status: Drucker MX880-series_FRITZ!Box ist im Leerlauf. Aktiviert seit So 23 Sep 2018 04:10:31 CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
MX880-series_USB
----------------
Type: Unknown
Device URI: usb://Canon/MX880%20series?serial=10283A&interface=1
PPD: /etc/cups/ppd/MX880-series_USB.ppd
PPD Description: Canon MX880 series - CUPS+Gutenprint v5.2.13
Printer status: Drucker MX880-series_USB ist im Leerlauf. Aktiviert seit So 23 Sep 2018 02:06:02 CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
--------------
| PERMISSION |
--------------
USB None Required - - OK Node:'/dev/bus/usb/003/002' Perm:' root saned rw- rw- rw- rw- r--'
-----------
| SUMMARY |
-----------
Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing/incompatible
error: 'libjpeg-dev' 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
error: 'libcupsimage2-dev' package is missing/incompatible
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: 'openssl' package is missing/incompatible
error: 'python3-pyqt4' package is missing/incompatible
error: 'gtk2-engines-pixbuf' package is missing/incompatible
error: 'python3-dev' package is missing/incompatible
error: 'libtool' package is missing/incompatible
error: 'libtool-bin' package is missing/incompatible
Missing Optional Dependencies
-----------------------------
error: 'python3-dbus.mainloop.qt' package is missing/incompatible
Total Errors: 12
Total Warnings: 8
Done.
Da fällt mir auf:
Die warning: Printer is not HPLIP installed. taucht nicht nur für die Nicht-HP-Drucker auf.
python3-dbus.mainloop.qt
ist als optional deklariert, aber 12 erforderliche Pakete fehlen.
und
sudo apt install python3-dbus.mainloop.qt
resutiert weiterhin in
[.....]
Missing Optional Dependencies
-----------------------------
error: 'python3-dbus.mainloop.qt' package is missing/incompatible