[Leap 15] HP All-in-One printer setup
My system is Leap 15.2 and KDE Plasma desktop I am trying to setup a Hewlett-Packard Color Laserjet Pro MFP M477fnw all-in-one printer/scanner. Using YaST, the printer is seen and recognised, and the correct driver for this model is found. Everything works as expected. Using the YaST Scanner module, the scanner is not detected. I have tried using Add, which brings up a long list of scanner models, but not mine. Even if I select the HP generic driver for all-in-one devices, it loads the hpaio driver, but says 'No scanner recognized by this driver' in the Scanner configuration window. Using 'Run hp-setup' gets me to the same list of scanners. Actually, pretty nearly all HP scanners use the hpaio driver (it's part of hplip). What is so frustrating is that both printer and scanner were working perfectly a month ago, so something has changed recently. But what? I have tried connecting the M477 device both wirelessly and through a wired connection, but both give the same result. Something makes me think that YaST's scanner detection has broken. Can anyone confirm this or suggest a workaround? Bob -- Bob Williams System: Linux 5.3.18-lp152.57-default Desktop: KDE Frameworks: 5.71.0, Qt: 5.12.7 and Plasma: 5.18.5 https://useplaintext.email/
Hi Bob, On Mon, 14 Dec 2020, 18:25:03 +0100, Bob Williams wrote:
My system is Leap 15.2 and KDE Plasma desktop
I am trying to setup a Hewlett-Packard Color Laserjet Pro MFP M477fnw all-in-one printer/scanner.
I have an M475dw here, but if "f" means FAX, my one can send and receive FAX, too.
Using YaST, the printer is seen and recognised, and the correct driver for this model is found. Everything works as expected.
Using the YaST Scanner module, the scanner is not detected. I have tried using Add, which brings up a long list of scanner models, but not mine. Even if I select the HP generic driver for all-in-one devices, it loads the hpaio driver, but says 'No scanner recognized by this driver' in the Scanner configuration window. Using 'Run hp-setup' gets me to the same list of scanners. Actually, pretty nearly all HP scanners use the hpaio driver (it's part of hplip).
What is so frustrating is that both printer and scanner were working perfectly a month ago, so something has changed recently. But what?
I have tried connecting the M477 device both wirelessly and through a wired connection, but both give the same result. Something makes me think that YaST's scanner detection has broken.
Can anyone confirm this or suggest a workaround?
The scanner module needs some proprietary modules downloaded via hp-setup. In order to ensure the scanner is usable for all users on your system, I'd suggest to run "hp-setup -i" as root and follow the various steps. The downloading part of the modules took some time here, but in the end everything is setup properly both for printing and scanning. BTW, I've tested this on 15.1, 15.2 and Tumbleweed.
Bob
HTH, cheers. l8er manfred
On Mon, 14 Dec 2020 18:41:22 +0100 Manfred Hollstein wrote:
Hi Bob,
On Mon, 14 Dec 2020, 18:25:03 +0100, Bob Williams wrote:
My system is Leap 15.2 and KDE Plasma desktop
I am trying to setup a Hewlett-Packard Color Laserjet Pro MFP M477fnw all-in-one printer/scanner.
I have an M475dw here, but if "f" means FAX, my one can send and receive FAX, too.
Using YaST, the printer is seen and recognised, and the correct driver for this model is found. Everything works as expected.
Using the YaST Scanner module, the scanner is not detected. I have tried using Add, which brings up a long list of scanner models, but not mine. Even if I select the HP generic driver for all-in-one devices, it loads the hpaio driver, but says 'No scanner recognized by this driver' in the Scanner configuration window. Using 'Run hp-setup' gets me to the same list of scanners. Actually, pretty nearly all HP scanners use the hpaio driver (it's part of hplip).
What is so frustrating is that both printer and scanner were working perfectly a month ago, so something has changed recently. But what?
I have tried connecting the M477 device both wirelessly and through a wired connection, but both give the same result. Something makes me think that YaST's scanner detection has broken.
Can anyone confirm this or suggest a workaround?
The scanner module needs some proprietary modules downloaded via hp-setup. In order to ensure the scanner is usable for all users on your system, I'd suggest to run "hp-setup -i" as root and follow the various steps. The downloading part of the modules took some time here, but in the end everything is setup properly both for printing and scanning. BTW, I've tested this on 15.1, 15.2 and Tumbleweed.
Bob
HTH, cheers.
l8er manfred
Thanks Manfred, I get this error: :~ # hp-setup -i Traceback (most recent call last): File "/usr/bin/hp-setup", line 48, in <module> from base import device, utils, tui, models, module, services, os_utils File "/usr/share/hplip/base/device.py", line 42, in <module> from . import status File "/usr/share/hplip/base/status.py", line 50, in <module> import hpmudext ImportError: /usr/lib64/python3.6/site-packages/hpmudext.so: undefined symbol: mdns_lookup -- Bob Williams System: Linux 5.3.18-lp152.57-default Desktop: KDE Frameworks: 5.71.0, Qt: 5.12.7 and Plasma: 5.18.5 https://useplaintext.email/
On 14/12/2020 19.06, Bob Williams wrote:
On Mon, 14 Dec 2020 18:41:22 +0100 Manfred Hollstein wrote:
...
Can anyone confirm this or suggest a workaround?
The scanner module needs some proprietary modules downloaded via hp-setup. In order to ensure the scanner is usable for all users on your system, I'd suggest to run "hp-setup -i" as root and follow the various steps. The downloading part of the modules took some time here, but in the end everything is setup properly both for printing and scanning. BTW, I've tested this on 15.1, 15.2 and Tumbleweed.
Thanks Manfred,
I get this error:
:~ # hp-setup -i Traceback (most recent call last): File "/usr/bin/hp-setup", line 48, in <module> from base import device, utils, tui, models, module, services, os_utils File "/usr/share/hplip/base/device.py", line 42, in <module> from . import status File "/usr/share/hplip/base/status.py", line 50, in <module> import hpmudext ImportError: /usr/lib64/python3.6/site-packages/hpmudext.so: undefined symbol: mdns_lookup
Wild guess: you two don't have the same "/usr/lib64/python3.6/site-packages/hpmudext.so" file. So you two compare it. In my case, on 15.1: cer@Telcontar:~> l /usr/lib64/python3.6/site-packages/hpmudext.so -rwxr-xr-x 1 root root 15288 Apr 21 2019 /usr/lib64/python3.6/site-packages/hpmudext.so* cer@Telcontar:~> rpm -qf /usr/lib64/python3.6/site-packages/hpmudext.so hplip-3.18.6-lp151.1.1.x86_64 cer@Telcontar:~> -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
On Mon, 14 Dec 2020 20:03:58 +0100 Carlos E. R. wrote:
On 14/12/2020 19.06, Bob Williams wrote:
On Mon, 14 Dec 2020 18:41:22 +0100 Manfred Hollstein wrote:
...
Can anyone confirm this or suggest a workaround?
The scanner module needs some proprietary modules downloaded via hp-setup. In order to ensure the scanner is usable for all users on your system, I'd suggest to run "hp-setup -i" as root and follow the various steps. The downloading part of the modules took some time here, but in the end everything is setup properly both for printing and scanning. BTW, I've tested this on 15.1, 15.2 and Tumbleweed.
Thanks Manfred,
I get this error:
:~ # hp-setup -i Traceback (most recent call last): File "/usr/bin/hp-setup", line 48, in <module> from base import device, utils, tui, models, module, services, os_utils File "/usr/share/hplip/base/device.py", line 42, in <module> from . import status File "/usr/share/hplip/base/status.py", line 50, in <module> import hpmudext ImportError: /usr/lib64/python3.6/site-packages/hpmudext.so: undefined symbol: mdns_lookup
Wild guess: you two don't have the same "/usr/lib64/python3.6/site-packages/hpmudext.so" file. So you two compare it.
In my case, on 15.1:
cer@Telcontar:~> l /usr/lib64/python3.6/site-packages/hpmudext.so -rwxr-xr-x 1 root root 15288 Apr 21 2019 /usr/lib64/python3.6/site-packages/hpmudext.so* cer@Telcontar:~> rpm -qf /usr/lib64/python3.6/site-packages/hpmudext.so hplip-3.18.6-lp151.1.1.x86_64 cer@Telcontar:~>
I'm not sure what you're saying.. blackbox:~ # l /usr/lib64/python3.6/site-packages/hpmudext.so -rwxr-xr-x 1 root root 15288 May 30 2020 /usr/lib64/python3.6/site-packages/hpmudext.so* blackbox:~ # rpm -qf /usr/lib64/python3.6/site-packages/hpmudext.so hplip-3.19.12-lp152.1.1.x86_64 -- Bob Williams System: Linux 5.3.18-lp152.57-default Desktop: KDE Frameworks: 5.71.0, Qt: 5.12.7 and Plasma: 5.18.5 https://useplaintext.email/
On 14/12/2020 20.25, Bob Williams wrote:
On Mon, 14 Dec 2020 20:03:58 +0100 Carlos E. R. wrote:
On 14/12/2020 19.06, Bob Williams wrote:
On Mon, 14 Dec 2020 18:41:22 +0100 Manfred Hollstein wrote:
...
Wild guess: you two don't have the same "/usr/lib64/python3.6/site-packages/hpmudext.so" file. So you two compare it.
In my case, on 15.1:
cer@Telcontar:~> l /usr/lib64/python3.6/site-packages/hpmudext.so -rwxr-xr-x 1 root root 15288 Apr 21 2019 /usr/lib64/python3.6/site-packages/hpmudext.so* cer@Telcontar:~> rpm -qf /usr/lib64/python3.6/site-packages/hpmudext.so hplip-3.18.6-lp151.1.1.x86_64 cer@Telcontar:~>
I'm not sure what you're saying..
blackbox:~ # l /usr/lib64/python3.6/site-packages/hpmudext.so -rwxr-xr-x 1 root root 15288 May 30 2020 /usr/lib64/python3.6/site-packages/hpmudext.so* blackbox:~ # rpm -qf /usr/lib64/python3.6/site-packages/hpmudext.so hplip-3.19.12-lp152.1.1.x86_64
Exactly that. Now we need Manfred to post the same info of his machine. See if it is the same or not. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
On Mon, 14 Dec 2020 20:28:19 +0100 Carlos E. R. wrote:
On 14/12/2020 20.25, Bob Williams wrote:
On Mon, 14 Dec 2020 20:03:58 +0100 Carlos E. R. wrote:
On 14/12/2020 19.06, Bob Williams wrote:
On Mon, 14 Dec 2020 18:41:22 +0100 Manfred Hollstein wrote:
...
Wild guess: you two don't have the same "/usr/lib64/python3.6/site-packages/hpmudext.so" file. So you two compare it.
In my case, on 15.1:
cer@Telcontar:~> l /usr/lib64/python3.6/site-packages/hpmudext.so -rwxr-xr-x 1 root root 15288 Apr 21 2019 /usr/lib64/python3.6/site-packages/hpmudext.so* cer@Telcontar:~> rpm -qf /usr/lib64/python3.6/site-packages/hpmudext.so hplip-3.18.6-lp151.1.1.x86_64 cer@Telcontar:~>
I'm not sure what you're saying..
blackbox:~ # l /usr/lib64/python3.6/site-packages/hpmudext.so -rwxr-xr-x 1 root root 15288 May 30 2020 /usr/lib64/python3.6/site-packages/hpmudext.so* blackbox:~ # rpm -qf /usr/lib64/python3.6/site-packages/hpmudext.so hplip-3.19.12-lp152.1.1.x86_64
Exactly that. Now we need Manfred to post the same info of his machine. See if it is the same or not.
I'm probably being really stupid, but I don't see how Manfred's machine affects me running hp-setup on my machine. Could you explain, please? -- Bob Williams System: Linux 5.3.18-lp152.57-default Desktop: KDE Frameworks: 5.71.0, Qt: 5.12.7 and Plasma: 5.18.5 https://useplaintext.email/
On 14/12/2020 20.33, Bob Williams wrote:
On Mon, 14 Dec 2020 20:28:19 +0100 Carlos E. R. wrote:
On 14/12/2020 20.25, Bob Williams wrote:
On Mon, 14 Dec 2020 20:03:58 +0100 Carlos E. R. wrote:
On 14/12/2020 19.06, Bob Williams wrote:
On Mon, 14 Dec 2020 18:41:22 +0100 Manfred Hollstein wrote:
...
Wild guess: you two don't have the same "/usr/lib64/python3.6/site-packages/hpmudext.so" file. So you two compare it.
In my case, on 15.1:
cer@Telcontar:~> l /usr/lib64/python3.6/site-packages/hpmudext.so -rwxr-xr-x 1 root root 15288 Apr 21 2019 /usr/lib64/python3.6/site-packages/hpmudext.so* cer@Telcontar:~> rpm -qf /usr/lib64/python3.6/site-packages/hpmudext.so hplip-3.18.6-lp151.1.1.x86_64 cer@Telcontar:~>
I'm not sure what you're saying..
blackbox:~ # l /usr/lib64/python3.6/site-packages/hpmudext.so -rwxr-xr-x 1 root root 15288 May 30 2020 /usr/lib64/python3.6/site-packages/hpmudext.so* blackbox:~ # rpm -qf /usr/lib64/python3.6/site-packages/hpmudext.so hplip-3.19.12-lp152.1.1.x86_64
Exactly that. Now we need Manfred to post the same info of his machine. See if it is the same or not.
I'm probably being really stupid, but I don't see how Manfred's machine affects me running hp-setup on my machine. Could you explain, please?
If his files are different, that would explain why the process fails for you. You would have to get the same version as he has. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
On Mon, 14 Dec 2020, 21:01:37 +0100, Carlos E. R. wrote:
On 14/12/2020 20.33, Bob Williams wrote:
On Mon, 14 Dec 2020 20:28:19 +0100 Carlos E. R. wrote:
On 14/12/2020 20.25, Bob Williams wrote:
On Mon, 14 Dec 2020 20:03:58 +0100 Carlos E. R. wrote:
On 14/12/2020 19.06, Bob Williams wrote:
On Mon, 14 Dec 2020 18:41:22 +0100 Manfred Hollstein wrote:
...
Wild guess: you two don't have the same "/usr/lib64/python3.6/site-packages/hpmudext.so" file. So you two compare it.
In my case, on 15.1:
cer@Telcontar:~> l /usr/lib64/python3.6/site-packages/hpmudext.so -rwxr-xr-x 1 root root 15288 Apr 21 2019 /usr/lib64/python3.6/site-packages/hpmudext.so* cer@Telcontar:~> rpm -qf /usr/lib64/python3.6/site-packages/hpmudext.so hplip-3.18.6-lp151.1.1.x86_64 cer@Telcontar:~>
I'm not sure what you're saying..
blackbox:~ # l /usr/lib64/python3.6/site-packages/hpmudext.so -rwxr-xr-x 1 root root 15288 May 30 2020 /usr/lib64/python3.6/site-packages/hpmudext.so* blackbox:~ # rpm -qf /usr/lib64/python3.6/site-packages/hpmudext.so hplip-3.19.12-lp152.1.1.x86_64
Exactly that. Now we need Manfred to post the same info of his machine. See if it is the same or not.
I'm probably being really stupid, but I don't see how Manfred's machine affects me running hp-setup on my machine. Could you explain, please?
If his files are different, that would explain why the process fails for you. You would have to get the same version as he has.
Interestingly the files on my system are the same as on Bob's system: # ll /usr/lib64/python3.6/site-packages/hpmudext.so 16 -rwxr-xr-x 1 root root 15288 May 30 2020 /usr/lib64/python3.6/site-packages/hpmudext.so # rpm -qf /usr/lib64/python3.6/site-packages/hpmudext.so hplip-3.19.12-lp152.1.1.x86_64 The rest of this thread doesn't actually show any clear indication why it doesn't run for you. I'd suggest you check the packages for consistency: # rpm -V hplip hplip-hpijs hplip-sane This should not produce any output, if it does, you should re-install the related package. Cheers. l8er manfred
On Tue, 15 Dec 2020 10:51:06 +0100 Manfred Hollstein wrote:
Interestingly the files on my system are the same as on Bob's system:
# ll /usr/lib64/python3.6/site-packages/hpmudext.so 16 -rwxr-xr-x 1 root root 15288 May 30 2020 /usr/lib64/python3.6/site-packages/hpmudext.so # rpm -qf /usr/lib64/python3.6/site-packages/hpmudext.so hplip-3.19.12-lp152.1.1.x86_64
The rest of this thread doesn't actually show any clear indication why it doesn't run for you. I'd suggest you check the packages for consistency:
# rpm -V hplip hplip-hpijs hplip-sane
This should not produce any output, if it does, you should re-install the related package.
Wow. Looks like I need to reinstall hplip-hpijs: # rpm -V hplip hplip-hpijs hplip-sane S.5....T. c /etc/hp/hplip.conf missing /usr/bin/hpijs S.5....T. /usr/lib/cups/backend/hp S.5....T. /usr/lib/cups/filter/hpcups S.5....T. /usr/lib/cups/filter/hpcupsfax S.5....T. /usr/lib/cups/filter/pstotiff S.5....T. /usr/lib64/libhpdiscovery.so.0.0.1 S.5....T. /usr/lib64/libhpip.so.0.0.1 S.5....T. /usr/lib64/libhpipp.so.0.0.1 S.5....T. /usr/lib64/libhpmud.so.0.0.6 missing /usr/share/cups/model/manufacturer-PPDs/hplip missing /usr/share/cups/model/manufacturer-PPDs/hplip/HP-Fax-hpcups.ppd.gz missing /usr/share/cups/model/manufacturer-PPDs/hplip/HP-Fax-hpijs.ppd.gz missing /usr/share/cups/model/manufacturer-PPDs/hplip/HP-Fax2-hpcups.ppd.gz missing /usr/share/cups/model/manufacturer-PPDs/hplip/HP-Fax2-hpijs.ppd.gz and a lot more missing ppd files After forcing a reinstall, I get # rpm -V hplip hplip-hpijs hplip-sane S.5....T. c /etc/hp/hplip.conf Now hp-setup discovers my printer/scanner (good news!) but needs to install a plugin for scanning support. Running hp-plugin... ~> hp-plugin HP Linux Imaging and Printing System (ver. 3.20.11) 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. HP Linux Imaging and Printing System (ver. 3.20.11) 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. Checking for network connection... Downloading plug-in from: Receiving digital keys: /usr/bin/gpg --homedir /home/bob/.hplip/.gnupg --no-permission-warning --keyserver pool.sks-keyservers.net --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9 Creating directory plugin_tmp Verifying archive integrity... All good. Uncompressing HPLIP 3.20.11 Plugin Self Extracting Archive.Extraction failed. error: Python gobject/dbus may be not installed \ gzip: stdout: Broken pipe error: Plug-in install failed. Looking through YaST software Installation I can see that python-gobject is installed, so not sure what to do next? Bob -- Bob Williams System: Linux 5.3.18-lp152.57-default Desktop: KDE Frameworks: 5.71.0, Qt: 5.12.7 and Plasma: 5.18.5 https://useplaintext.email/
On Tue, 15 Dec 2020, 11:59:52 +0100, Bob Williams wrote:
On Tue, 15 Dec 2020 10:51:06 +0100 Manfred Hollstein wrote:
Interestingly the files on my system are the same as on Bob's system:
# ll /usr/lib64/python3.6/site-packages/hpmudext.so 16 -rwxr-xr-x 1 root root 15288 May 30 2020 /usr/lib64/python3.6/site-packages/hpmudext.so # rpm -qf /usr/lib64/python3.6/site-packages/hpmudext.so hplip-3.19.12-lp152.1.1.x86_64
The rest of this thread doesn't actually show any clear indication why it doesn't run for you. I'd suggest you check the packages for consistency:
# rpm -V hplip hplip-hpijs hplip-sane
This should not produce any output, if it does, you should re-install the related package.
Wow. Looks like I need to reinstall hplip-hpijs:
# rpm -V hplip hplip-hpijs hplip-sane S.5....T. c /etc/hp/hplip.conf missing /usr/bin/hpijs S.5....T. /usr/lib/cups/backend/hp S.5....T. /usr/lib/cups/filter/hpcups S.5....T. /usr/lib/cups/filter/hpcupsfax S.5....T. /usr/lib/cups/filter/pstotiff S.5....T. /usr/lib64/libhpdiscovery.so.0.0.1 S.5....T. /usr/lib64/libhpip.so.0.0.1 S.5....T. /usr/lib64/libhpipp.so.0.0.1 S.5....T. /usr/lib64/libhpmud.so.0.0.6 missing /usr/share/cups/model/manufacturer-PPDs/hplip missing /usr/share/cups/model/manufacturer-PPDs/hplip/HP-Fax-hpcups.ppd.gz missing /usr/share/cups/model/manufacturer-PPDs/hplip/HP-Fax-hpijs.ppd.gz missing /usr/share/cups/model/manufacturer-PPDs/hplip/HP-Fax2-hpcups.ppd.gz missing /usr/share/cups/model/manufacturer-PPDs/hplip/HP-Fax2-hpijs.ppd.gz
and a lot more missing ppd files
After forcing a reinstall, I get
# rpm -V hplip hplip-hpijs hplip-sane S.5....T. c /etc/hp/hplip.conf
Now hp-setup discovers my printer/scanner (good news!) but needs to install a plugin for scanning support. Running hp-plugin...
~> hp-plugin
HP Linux Imaging and Printing System (ver. 3.20.11) 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.
HP Linux Imaging and Printing System (ver. 3.20.11) 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.
Checking for network connection... Downloading plug-in from: Receiving digital keys: /usr/bin/gpg --homedir /home/bob/.hplip/.gnupg --no-permission-warning --keyserver pool.sks-keyservers.net --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9 Creating directory plugin_tmp Verifying archive integrity... All good. Uncompressing HPLIP 3.20.11 Plugin Self Extracting Archive.Extraction failed. error: Python gobject/dbus may be not installed \ gzip: stdout: Broken pipe error: Plug-in install failed.
Looking through YaST software Installation I can see that python-gobject is installed, so not sure what to do next?
IIRC, it failed for me several times, too. However, to ensure everything works for all users, I recommended to run these commands as root. Please try "hp-plugin -i" as root (note the "-i" to run it interactively, which had helped in those cases when it failed for me).
Bob
HTH, cheers. l8er manfred
On Tue, 15 Dec 2020 12:09:27 +0100 Manfred Hollstein wrote:
On Tue, 15 Dec 2020, 11:59:52 +0100, Bob Williams wrote:
On Tue, 15 Dec 2020 10:51:06 +0100 Manfred Hollstein wrote:
Interestingly the files on my system are the same as on Bob's system:
# ll /usr/lib64/python3.6/site-packages/hpmudext.so 16 -rwxr-xr-x 1 root root 15288 May 30 2020 /usr/lib64/python3.6/site-packages/hpmudext.so # rpm -qf /usr/lib64/python3.6/site-packages/hpmudext.so hplip-3.19.12-lp152.1.1.x86_64
The rest of this thread doesn't actually show any clear indication why it doesn't run for you. I'd suggest you check the packages for consistency:
# rpm -V hplip hplip-hpijs hplip-sane
This should not produce any output, if it does, you should re-install the related package.
Wow. Looks like I need to reinstall hplip-hpijs:
# rpm -V hplip hplip-hpijs hplip-sane S.5....T. c /etc/hp/hplip.conf missing /usr/bin/hpijs S.5....T. /usr/lib/cups/backend/hp S.5....T. /usr/lib/cups/filter/hpcups S.5....T. /usr/lib/cups/filter/hpcupsfax S.5....T. /usr/lib/cups/filter/pstotiff S.5....T. /usr/lib64/libhpdiscovery.so.0.0.1 S.5....T. /usr/lib64/libhpip.so.0.0.1 S.5....T. /usr/lib64/libhpipp.so.0.0.1 S.5....T. /usr/lib64/libhpmud.so.0.0.6 missing /usr/share/cups/model/manufacturer-PPDs/hplip missing /usr/share/cups/model/manufacturer-PPDs/hplip/HP-Fax-hpcups.ppd.gz missing /usr/share/cups/model/manufacturer-PPDs/hplip/HP-Fax-hpijs.ppd.gz missing /usr/share/cups/model/manufacturer-PPDs/hplip/HP-Fax2-hpcups.ppd.gz missing /usr/share/cups/model/manufacturer-PPDs/hplip/HP-Fax2-hpijs.ppd.gz
and a lot more missing ppd files
After forcing a reinstall, I get
# rpm -V hplip hplip-hpijs hplip-sane S.5....T. c /etc/hp/hplip.conf
Now hp-setup discovers my printer/scanner (good news!) but needs to install a plugin for scanning support. Running hp-plugin...
~> hp-plugin
HP Linux Imaging and Printing System (ver. 3.20.11) 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.
HP Linux Imaging and Printing System (ver. 3.20.11) 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.
Checking for network connection... Downloading plug-in from: Receiving digital keys: /usr/bin/gpg --homedir /home/bob/.hplip/.gnupg --no-permission-warning --keyserver pool.sks-keyservers.net --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9 Creating directory plugin_tmp Verifying archive integrity... All good. Uncompressing HPLIP 3.20.11 Plugin Self Extracting Archive.Extraction failed. error: Python gobject/dbus may be not installed \ gzip: stdout: Broken pipe error: Plug-in install failed.
Looking through YaST software Installation I can see that python-gobject is installed, so not sure what to do next?
IIRC, it failed for me several times, too. However, to ensure everything works for all users, I recommended to run these commands as root. Please try "hp-plugin -i" as root (note the "-i" to run it interactively, which had helped in those cases when it failed for me).
Bob
HTH, cheers.
l8er manfred
I still got the same python error. Googling for that error got me to a year old thread on an Ubuntu list, where AppArmor was blamed. # aa-disable /usr/share/hplip/plugin.py Disabling /usr/share/hplip/plugin.py. allowed the plugin to install, but then hp-setup couldn't find my network attached device. I am now much further ahead than I was yesterday, and will try the YaST installer next. Many thanks for your help. Bob -- Bob Williams System: Linux 5.3.18-lp152.57-default Desktop: KDE Frameworks: 5.71.0, Qt: 5.12.7 and Plasma: 5.18.5 https://useplaintext.email/
On 15/12/2020 14.45, Bob Williams wrote:
On Tue, 15 Dec 2020 12:09:27 +0100 Manfred Hollstein wrote:
I still got the same python error. Googling for that error got me to a year old thread on an Ubuntu list, where AppArmor was blamed.
# aa-disable /usr/share/hplip/plugin.py Disabling /usr/share/hplip/plugin.py.
allowed the plugin to install,
Wow. I think you should report this as a bug related to apparmor in bugzilla.
but then hp-setup couldn't find my network attached device. I am now much further ahead than I was yesterday, and will try the YaST installer next. Many thanks for your help.
Bob
-- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
On 15/12/2020 10.51, Manfred Hollstein wrote:
On Mon, 14 Dec 2020, 21:01:37 +0100, Carlos E. R. wrote:
On 14/12/2020 20.33, Bob Williams wrote:
On Mon, 14 Dec 2020 20:28:19 +0100 Carlos E. R. wrote:
...
blackbox:~ # l /usr/lib64/python3.6/site-packages/hpmudext.so -rwxr-xr-x 1 root root 15288 May 30 2020 /usr/lib64/python3.6/site-packages/hpmudext.so* blackbox:~ # rpm -qf /usr/lib64/python3.6/site-packages/hpmudext.so hplip-3.19.12-lp152.1.1.x86_64
Interestingly the files on my system are the same as on Bob's system:
# ll /usr/lib64/python3.6/site-packages/hpmudext.so 16 -rwxr-xr-x 1 root root 15288 May 30 2020 /usr/lib64/python3.6/site-packages/hpmudext.so # rpm -qf /usr/lib64/python3.6/site-packages/hpmudext.so hplip-3.19.12-lp152.1.1.x86_64
Yes, same files.
The rest of this thread doesn't actually show any clear indication why it doesn't run for you. I'd suggest you check the packages for consistency:
# rpm -V hplip hplip-hpijs hplip-sane
This should not produce any output, if it does, you should re-install the related package.
I think he already did. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
On Mon, 14 Dec 2020, 19:06:02 +0100, Bob Williams wrote:
On Mon, 14 Dec 2020 18:41:22 +0100 Manfred Hollstein wrote: [...]
The scanner module needs some proprietary modules downloaded via hp-setup. In order to ensure the scanner is usable for all users on your system, I'd suggest to run "hp-setup -i" as root and follow the various steps. The downloading part of the modules took some time here, but in the end everything is setup properly both for printing and scanning. BTW, I've tested this on 15.1, 15.2 and Tumbleweed.
Bob
HTH, cheers.
l8er manfred
Thanks Manfred,
I get this error:
:~ # hp-setup -i Traceback (most recent call last): File "/usr/bin/hp-setup", line 48, in <module> from base import device, utils, tui, models, module, services, os_utils File "/usr/share/hplip/base/device.py", line 42, in <module> from . import status File "/usr/share/hplip/base/status.py", line 50, in <module> import hpmudext ImportError: /usr/lib64/python3.6/site-packages/hpmudext.so: undefined symbol: mdns_lookup
Strange, just tested this here: # hp-setup -i HP Linux Imaging and Printing System (ver. 3.19.12) 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*) ? My system is up-to-date, perhaps you're having some issues. Can you please check (a) for any .rpmsave/new files (find / -xdev -name "*.rpm[son]*") (b) for any orphaned packages (zypper packages --orphaned) If that doesn't show anything obvious, please show us your detailed list of repos: "zypper lr -E -d"
Bob Williams
Cheers. l8er manfred
On Mon, 14 Dec 2020 20:50:31 +0100 Manfred Hollstein wrote:
Strange, just tested this here:
# hp-setup -i
HP Linux Imaging and Printing System (ver. 3.19.12) 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*) ?
My system is up-to-date, perhaps you're having some issues. Can you please check
(a) for any .rpmsave/new files (find / -xdev -name "*.rpm[son]*") (b) for any orphaned packages (zypper packages --orphaned)
If that doesn't show anything obvious, please show us your detailed list of repos: "zypper lr -E -d"
blackbox:~ # find / -xdev -name "*.rpm[son]*" /etc/xdg/autostart/hplip-systray.desktop.rpmorig blackbox:~ # zypper packages --orphaned Loading repository data... Reading installed packages... S | Repository | Name | Version | Arch --+------------+----------------------+------------------+------- i | @System | openSUSE-release-dvd | 15.2-lp152.558.1 | x86_64 blackbox:~ # zypper lr -E -d # | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service ---+--------------------------------------------+-----------------------------+---------+-----------+---------+----------+----------+-------------------------------------------------------------------+-------- 1 | RPM | Local RPM | Yes | ( p) Yes | No | 99 | plaindir | dir:/home/bob/Downloads/RPM | 2 | packman.inode.at-openSUSE_Leap_$releasever | Packman Repository | Yes | (r ) Yes | Yes | 90 | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_15.2/ | 7 | repo-non-oss | Non-OSS Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.2/repo/non-oss/ | 8 | repo-oss | Main Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.2/repo/oss/ | 11 | repo-update | Main Update Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.2/oss | 12 | repo-update-non-oss | Update Repository (Non-Oss) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.2/non-oss/ -- Bob Williams System: Linux 5.3.18-lp152.57-default Desktop: KDE Frameworks: 5.71.0, Qt: 5.12.7 and Plasma: 5.18.5 https://useplaintext.email/
On Mon, 14 Dec 2020 21:03:54 +0100 Carlos E. R. wrote:
On 14/12/2020 20.50, Manfred Hollstein wrote:
(a) for any .rpmsave/new files (find / -xdev -name "*.rpm[son]*")
Just run "rpmconfigcheck".
blackbox:~ # rpmconfigcheck Searching for unresolved configuration files Please check the following files (see /var/adm/rpmconfigcheck): /etc/xdg/autostart/hplip-systray.desktop.rpmorig Interesting. What do I do next, please? -- Bob Williams System: Linux 5.3.18-lp152.57-default Desktop: KDE Frameworks: 5.71.0, Qt: 5.12.7 and Plasma: 5.18.5 https://useplaintext.email/
On 14/12/2020 21.09, Bob Williams wrote:
On Mon, 14 Dec 2020 21:03:54 +0100 Carlos E. R. wrote:
On 14/12/2020 20.50, Manfred Hollstein wrote:
(a) for any .rpmsave/new files (find / -xdev -name "*.rpm[son]*")
Just run "rpmconfigcheck".
blackbox:~ # rpmconfigcheck Searching for unresolved configuration files Please check the following files (see /var/adm/rpmconfigcheck): /etc/xdg/autostart/hplip-systray.desktop.rpmorig
Interesting. What do I do next, please?
That file is probably innocuous. I would compare that file with with the active one (/etc/xdg/autostart/hplip-systray.desktop) and decide what settings to copy from rpmorig. I typically do: meld /etc/xdg/autostart/hplip-systray.desktop.rpmorig \ /etc/xdg/autostart/hplip-systray.desktop.rpmorig as root. But there are no guidelines on what to do next, it is up to you to decide. And anyway, that file is probably irrelevant to your problem. What have you installed from "dir:/home/bob/Downloads/RPM" ? -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
On Mon, 14 Dec 2020 21:39:20 +0100 Carlos E. R. wrote:
On 14/12/2020 21.09, Bob Williams wrote:
On Mon, 14 Dec 2020 21:03:54 +0100 Carlos E. R. wrote:
On 14/12/2020 20.50, Manfred Hollstein wrote:
(a) for any .rpmsave/new files (find / -xdev -name "*.rpm[son]*")
Just run "rpmconfigcheck".
blackbox:~ # rpmconfigcheck Searching for unresolved configuration files Please check the following files (see /var/adm/rpmconfigcheck): /etc/xdg/autostart/hplip-systray.desktop.rpmorig
Interesting. What do I do next, please?
That file is probably innocuous. I would compare that file with with the active one (/etc/xdg/autostart/hplip-systray.desktop) and decide what settings to copy from rpmorig.
The two files are identical [...]
And anyway, that file is probably irrelevant to your problem.
Yes
What have you installed from "dir:/home/bob/Downloads/RPM" ?
SpiderOak-One Protonmail-bridge Zeal -- Bob Williams System: Linux 5.3.18-lp152.57-default Desktop: KDE Frameworks: 5.71.0, Qt: 5.12.7 and Plasma: 5.18.5 https://useplaintext.email/
On 14/12/2020 22.00, Bob Williams wrote:
On Mon, 14 Dec 2020 21:39:20 +0100 Carlos E. R. wrote:
On 14/12/2020 21.09, Bob Williams wrote:
On Mon, 14 Dec 2020 21:03:54 +0100 Carlos E. R. wrote:
On 14/12/2020 20.50, Manfred Hollstein wrote:
(a) for any .rpmsave/new files (find / -xdev -name "*.rpm[son]*")
Just run "rpmconfigcheck".
blackbox:~ # rpmconfigcheck Searching for unresolved configuration files Please check the following files (see /var/adm/rpmconfigcheck): /etc/xdg/autostart/hplip-systray.desktop.rpmorig
Interesting. What do I do next, please?
That file is probably innocuous. I would compare that file with with the active one (/etc/xdg/autostart/hplip-systray.desktop) and decide what settings to copy from rpmorig.
The two files are identical
Ok, then just remove /etc/xdg/autostart/hplip-systray.desktop.rpmorig
[...]
And anyway, that file is probably irrelevant to your problem.
Yes
What have you installed from "dir:/home/bob/Downloads/RPM" ?
SpiderOak-One Protonmail-bridge Zeal
Nothing related to this, I think. They don't replace perl files? -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
On Mon, 2020-12-14 at 22:16 +0100, Carlos E. R. wrote:
On 14/12/2020 22.00, Bob Williams wrote:
On Mon, 14 Dec 2020 21:39:20 +0100 Carlos E. R. wrote:
On 14/12/2020 21.09, Bob Williams wrote:
On Mon, 14 Dec 2020 21:03:54 +0100 Carlos E. R. wrote:
On 14/12/2020 20.50, Manfred Hollstein wrote:
(a) for any .rpmsave/new files (find / -xdev -name "*.rpm[son]*")
Just run "rpmconfigcheck".
blackbox:~ # rpmconfigcheck Searching for unresolved configuration files Please check the following files (see /var/adm/rpmconfigcheck): /etc/xdg/autostart/hplip-systray.desktop.rpmorig
Interesting. What do I do next, please?
That file is probably innocuous. I would compare that file with with the active one (/etc/xdg/autostart/hplip-systray.desktop) and decide what settings to copy from rpmorig.
The two files are identical
Ok, then just remove /etc/xdg/autostart/hplip-systray.desktop.rpmorig
[...]
And anyway, that file is probably irrelevant to your problem.
Yes
What have you installed from "dir:/home/bob/Downloads/RPM" ?
SpiderOak-One Protonmail-bridge Zeal
Nothing related to this, I think. They don't replace perl files?
This kind of smells like that the hplip and its python dependencies are out of sync. would forcefully reinstalling hplip solve the issue: sudo zypper instal -f hplip Tomas
On Mon, 14 Dec 2020 13:46:08 -0800 TomasK wrote:
This kind of smells like that the hplip and its python dependencies are out of sync.
would forcefully reinstalling hplip solve the issue: sudo zypper instal -f hplip
I sort-of tried that by doing zypper rm hplip, followed by zypper in hplip, but it made no difference. Same with zypper in -f hplip. hp-setup throws the same python Traceback I have to go to bed now, but thank you Manfred, Carlos and Tomas for your interest and advice. Bob -- Bob Williams System: Linux 5.3.18-lp152.57-default Desktop: KDE Frameworks: 5.71.0, Qt: 5.12.7 and Plasma: 5.18.5 https://useplaintext.email/
participants (4)
-
Bob Williams
-
Carlos E. R.
-
Manfred Hollstein
-
TomasK