python3-gobject
Hallo Sauerland,
vielen Dank für Deine Hilfe, aber python3-gobject ist auch schon installiert.
python3-gobject
Hallo Sauerland,
vielen Dank für Deine Hilfe, aber python3-gobject ist auch schon installiert.
Hallo Sauerland,
es wird python gobject/dbus angemeckert
Was sagt als root:
CodeAlles anzeigenlinux:/home/alex/Downloads # hp-plugin HP Linux Imaging and Printing System (ver. 3.20.6) Plugin Download and Install Utility ver. 2.1 Copyright (c) 2001-18 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. warning: It is not recommended to run 'hp-plugin' in a root mode. HP Linux Imaging and Printing System (ver. 3.20.6) Plugin Download and Install Utility ver. 2.1 Copyright (c) 2001-18 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.) ----------------------------------------- | PLUG-IN INSTALLATION FOR HPLIP 3.20.6 | ----------------------------------------- Option Description ---------- -------------------------------------------------- d Download plug-in from HP (recommended) p Specify a path to the plug-in (advanced) q Quit hp-plugin (skip installation) Enter option (d=download*, p=specify path, q=quit) ? d ------------------- | DOWNLOAD PLUGIN | ------------------- Checking for network connection... Downloading plug-in from: Downloading plug-in: [\ ] 0% Receiving digital keys: /usr/bin/gpg --homedir /root/.hplip/.gnupg --no-permission-warning --keyserver pool.sks-keyservers.net --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9 ---------------------- | INSTALLING PLUG-IN | ---------------------- Creating directory plugin_tmp Verifying archive integrity... All good. Uncompressing HPLIP 3.20.6 Plugin Self Extracting Archive.Extraction failed. error: Python gobject/dbus may be not installed | gzip: stdout: Broken pipe Done.
Ich kann mit einem "schmutzigen", aber funktionierenden und für mich persönlich akzeptablen Workarround aufwarten.
Kurzer Hintergrund: Meinen HP LJ1018 bekomme ich aus irgendeinem Grund _nur_ unter Debian bzw. Debian basierten Systemen zum Laufen. Dort aber jedesmal idiotensicher und ratzfatz nach Ausführen von hp-setup, bzw. hp-plugin. Weder unter openSUSE, Fedora, Manajaro noch Arch funktioniert bei mir der Drucker.
Nach gefühlt 10000 Stunden der Fehlersuche und des Ausprobierens lautet meine _persönliche_ Lösung des Problems: Virtualbox mit Debian stable, dort den Drucker problemlos installieren und das ganze schließlich als Druckserver eingerichtet. Ich weiß, das ist keine saubere Lösung, für mich persönlich stellt dieser Workarround jedoch eine Akzeptable Lösung dar (ich muss auch nur sehr gelegentlich drucken).
Hallo Okrempel,
das ist ja verrückt.
Ich hatte mit meinem Drucker noch nie irgendwelche Probleme, egal ob das 11.2 oder später dann 42.2 war.
Einfach hp-setup gestartet und die IP-Adresse eingegeben. drei Minuten später lief der Drucker, und das bis heute absolut stabil.
Ich zweifel schon langsam an mir, ob ich beim Installieren hier nicht grundsätzlich was übersehen habe.
python3-qt5
python3-qt5 ist auch schon installiert
Hallo Sauerland,
ich finde in yast nur python-qt5-utils, und dieses Paket war bereits installiert.
Alles anzeigenDer 1102 ohne w
Das ist ja fast 9 Jahre her.
Ich hatte auch einmal versucht ihn im Netzwerk an einem Druckserver und auch an einem Usb-Anscluß eines DD-WRT Routers zu betreiben. Das scheiterte an dem hp-plugin.
Das habe ich gefunden.
https://developers.hp.com/hp-l…inting/binary_plugin.html
Hier sind die Plugins zum herunterladen.
Hallo,
für das plug-in fehlt PyQt5. Das finde ich bei yast nicht.
linux:/home/alex/Downloads # sh hplip-3.20.6-plugin.run
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.6 Plugin Self Extracting Archive..............................................................
HP Linux Imaging and Printing System (ver. 3.20.6)
Plugin Installer ver. 3.0
Copyright (c) 2001-18 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.20.6
Installed HPLIP version: 3.20.6
Number of files to install: 64
note: Using PyQt5
error: Unable to load Qt5 support. Is it installed? Try running with -i or --qt3 instead.
Alles anzeigen
Der Drucker ist direkt am PC angeschlossen
linux:/home/alex/Downloads # hp-setup -i
HP Linux Imaging and Printing System (ver. 3.20.6)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-18 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)
Enter number 0...1 for connection type (q=quit, enter=usb*) ?
Using connection type: usb
error: No device selected/specified or that supports this functionality.
Alles anzeigen
Laut hp-check -r fehlen keine Pakete mehr, es wird zumindest nichts mehr rot angemeckert:
linux:/home/alex # hp-check -r
Saving output in log file: /home/alex/hp-check.log
HP Linux Imaging and Printing System (ver. 3.20.6)
Dependency/Version Check Utility ver. 15.1
Copyright (c) 2001-18 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
/No protocol specified
warning: 3-15.2 version is not supported. Using 3-15.1 versions dependencies to verify and install...
---------------
| SYSTEM INFO |
---------------
Kernel: 5.3.18-lp152.20.7-default #1 SMP Mon Jun 29 14:58:38 UTC 2020 (2a0430f) GNU/Linux
Host: linux.fritz.box
Proc: 5.3.18-lp152.20.7-default #1 SMP Mon Jun 29 14:58:38 UTC 2020 (2a0430f) GNU/Linux
Distribution: 3 15.2
Bitness: 64 bit
-----------------------
| HPLIP CONFIGURATION |
-----------------------
HPLIP-Version: HPLIP 3.20.6
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 3 distro 15.2 version
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.20.6
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/cups/model/manufacturer-PPDs/hplip
ppdbase=/usr/share/cups/model/manufacturer-PPDs
doc=/usr/share/doc/packages/hplip
html=/usr/share/doc/packages/hplip
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/lib/cups/driver
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=yes
foomatic-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=no
cups-ppd-install=yes
internal-tag=3.20.6
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
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:
Plugins are not installed. Could not access file: No such file or directory
Current contents of '~/.hplip/hplip.conf' file:
warning: Could not access file: No such file or directory
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
-------------------------
| External Dependencies |
-------------------------
cups CUPS - Common Unix Printing System REQUIRED 1.1 2.2.7 OK 'CUPS Scheduler is running'
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.52 OK -
No protocol specified
No protocol specified
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.116 OK -
network network -wget OPTIONAL - 1.20.3 OK -
avahi-utils avahi-utils OPTIONAL - 0.7 OK -
------------------------
| General Dependencies |
------------------------
libjpeg libjpeg - JPEG library REQUIRED - - OK -
cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.2.7 OK -
cups-image CUPS image - CUPS image development files REQUIRED - 2.2.7 OK -
libpthread libpthread - POSIX threads library REQUIRED - b'2.26' OK -
libusb libusb - USB library REQUIRED - 1.0 OK -
sane SANE - Scanning library REQUIRED - 1.0.27 OK -
sane-devel SANE - Scanning library development files REQUIRED - 1.0.27 OK -
libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.3 OK -
libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 OK -
python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.6.10 OK -
python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
Traceback (most recent call last):
File "/usr/bin/hp-check", line 862, in <module>
num_errors, num_warns = dep.validate(time_flag, is_quiet_mode)
File "/usr/bin/hp-check", line 368, in validate
self.core.dependencies[dep])
File "/usr/bin/hp-check", line 210, in __update_deps_info
installed_ver = self.core.version_func[deps_info[6]]()
File "/usr/share/hplip/installer/dcheck.py", line 303, in get_pyQt4_version
from PyQt4 import QtCore
ImportError: cannot import name 'QtCore'
Alles anzeigen
Hallo Sauerland,
ich habe jetzt folgendes installiert:
hplip-3.20.6-lp152.2.1.x86_64
hplip-hpijs-3.20.6-lp152.2.1.x86_64
hplip-sane-3.20.6-lp152.2.1.x86_64
python3-notify2
hp-check -r meckert jetzt zwar keine fehlenden Pakete mehr an, aber der Drucker wird leider weder unter USB noch im Netzwerk gefunden
hp-setup mit USB:
linux:/home/alex # hp-setup -b usb
HP Linux Imaging and Printing System (ver. 3.20.6)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-18 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.
No protocol specified
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
Searching... (bus=usb, search=(None), desc=0)
error: No devices found on bus: usb
Done.
Alles anzeigen
hp-setup über Netzwerk:
linux:/home/alex # hp-setup -i 192.168.178.3
HP Linux Imaging and Printing System (ver. 3.20.6)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-18 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.)
Created directory: /var/lib/net-snmp/cert_indexes
Created directory: /var/lib/net-snmp/mib_indexes
--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------
Num Connection Description
Type
-------- ---------- ----------------------------------------------------------
0* usb Universal Serial Bus (USB)
1 net Network/Ethernet/Wireless (direct connection or JetDirect)
Enter number 0...1 for connection type (q=quit, enter=usb*) ? 1
Using connection type: net
error: No device selected/specified or that supports this functionality.
Alles anzeigen
Der Drucker wird über USB gefunden:
linux:/home/alex # lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 03f0:032a Hewlett-Packard
Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Die Firewall ist ausgeschaltet
Hallo zusammen,
ich habe einen LasetJet 1102w unter möchte diesen unter Leap15.2 zum Laufen bringen.
Ich hatte anfangs Tumbleweed probiert, leider tut er es dies dort nur mit USB, jedoch nicht unter LAN.
Deswegen bin ich jetzt auf Leap 15.2 gewechselt, dort geht er aber auch nicht.
Die Firewall ist ausgeschaltet.
hp-check -r meckert fehlende Pakete an, die ich aber unter yast nicht finde, zumindest unter Tumbleweed war das OK.
Ich nutze SuSe seit der Version 7.3, hatte auch immer HP Drucker, aber bisher nie Ärger mit den Druckern.
Hier mal die Ausgabe von hp-check -r:
linux:/home/alex # hp-check -r
Saving output in log file: /home/alex/hp-check.log
HP Linux Imaging and Printing System (ver. 3.19.12)
Dependency/Version Check Utility ver. 15.1
Copyright (c) 2001-18 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
/No protocol specified
warning: 3-15.2 version is not supported. Using 3-15.1 versions dependencies to verify and install...
---------------
| SYSTEM INFO |
---------------
Kernel: 5.3.18-lp152.20.7-default #1 SMP Mon Jun 29 14:58:38 UTC 2020 (2a0430f) GNU/Linux
Host: linux.fritz.box
Proc: 5.3.18-lp152.20.7-default #1 SMP Mon Jun 29 14:58:38 UTC 2020 (2a0430f) GNU/Linux
Distribution: 3 15.2
Bitness: 64 bit
-----------------------
| HPLIP CONFIGURATION |
-----------------------
HPLIP-Version: HPLIP 3.19.12
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 3 distro 15.2 version
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.19.12
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/cups/model/manufacturer-PPDs/hplip
ppdbase=/usr/share/cups/model/manufacturer-PPDs
doc=/usr/share/doc/packages/hplip
html=/usr/share/doc/packages/hplip
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/lib/cups/driver
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=yes
foomatic-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=no
cups-ppd-install=yes
internal-tag=3.19.12
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
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:
Plugins are not installed. Could not access file: No such file or directory
Current contents of '~/.hplip/hplip.conf' file:
warning: Could not access file: No such file or directory
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
-------------------------
| External Dependencies |
-------------------------
cups CUPS - Common Unix Printing System REQUIRED 1.1 2.2.7 OK 'CUPS Scheduler is running'
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.52 OK -
No protocol specified
No protocol specified
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 -
error: dbus DBus - Message bus system REQUIRED - 1.12.2 MISSING 'DBUS may not be installed or not running'
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.116 OK -
network network -wget OPTIONAL - 1.20.3 OK -
avahi-utils avahi-utils OPTIONAL - 0.7 OK -
------------------------
| General Dependencies |
------------------------
error: libjpeg libjpeg - JPEG library REQUIRED - - MISSING 'libjpeg needs to be installed'
cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.2.7 OK -
cups-image CUPS image - CUPS image development files REQUIRED - 2.2.7 OK -
libpthread libpthread - POSIX threads library REQUIRED - b'2.26' 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 5.7.3 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.10 OK -
python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
Traceback (most recent call last):
File "/usr/bin/hp-check", line 862, in <module>
num_errors, num_warns = dep.validate(time_flag, is_quiet_mode)
File "/usr/bin/hp-check", line 368, in validate
self.core.dependencies[dep])
File "/usr/bin/hp-check", line 210, in __update_deps_info
installed_ver = self.core.version_func[deps_info[6]]()
File "/usr/share/hplip/installer/dcheck.py", line 303, in get_pyQt4_version
from PyQt4 import QtCore
ImportError: cannot import name 'QtCore'
Alles anzeigen