hp-plugin terminates successfully but hp-setup doesn't recognize

Asked by Richard

Hi,

I'm trying to install HPLIP 3.18.12 on Ubuntu 18.04. So I dowloaded the installer and started it. I use all the defaults, everything seems to work fine. The plug-in installation starts, works fine also. It finishes successfully but the I get the following message:

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.

I confirm this message a return to the point where I can start the installation of the plug-in, which again completes successfully. But guess what - I get the error message again.

I also tried to run hp-plugin and hp-setup seperately with the same result. hp-plugin alone works fine. When I call hp-setup it calls hp-plugin again, which again completes successfully but obviously hp-setup doesn't recognize the plugin and I am in the loop again.

Is someone here who might have an idea where I can start looking for a solution to the problem? Googleing it isn't very helpful.

Thanks a lot

Rich

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bill Williamson (billwubuntu) said :
#1

Suggest you run
hp-doctor

Revision history for this message
David C. Bryant (davidcbryant) said :
#2

I just installed hplip 3.19.5 on my SUSE LEAP 15.0 box, and encountered the same problem. But it appears to be a mere annoyance. I just killed the Konsole window (I'm using the KDE Plasma desktop) the installation was running in, and invoked "hp-toolbox" via the command line interface, and everything seems to be working fine. I can use my printer, and my scanner works -- I'm a happy camper.

Incidentally, I had previously installed hplip on several different SUSE distros, and I have never run into this problem before. The previous version I had installed from SourceForge was 3.18.10 ... don't remember the previous version numbers, but I've been through a bunch of them. One other difference I noticed on 3.19.5 is that I couldn't ignore the plugin installation. If I said "skip", the setup program threw me right back into the plugin dialogue. Very frustrating, but ultimately meaningless.

Revision history for this message
ghost (ghost-rand) said :
#3

same problem here, installed hplip on Debian 10. hp-plugin says "Done. Plug-in installation successful", but toolbox still asks to install plugin when a printer is connected. doctor complains (or crashed on) missing header, not sure if it's relevant.

```
HP Linux Imaging and Printing System (ver. 3.18.12)
Self Diagnse Utility and Healing Utility ver. 1.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.

-Traceback (most recent call last):
  File "/usr/share/hplip/base/utils.py", line 265, in walkFiles
    names = os.listdir(root)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/include/cups'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/hplip/base/utils.py", line 267, in walkFiles
    raise StopIteration
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/share/hplip/doctor.py", line 277, in <module>
    dep.core.init()
  File "/usr/share/hplip/installer/core_install.py", line 527, in init
    self.check_dependencies(callback)
  File "/usr/share/hplip/installer/core_install.py", line 620, in check_dependencies
    self.have_dependencies[d] = self.dependencies[d][3]()
  File "/usr/share/hplip/installer/core_install.py", line 1166, in check_cups_image
    return check_file("raster.h", "/usr/include/cups")
  File "/usr/share/hplip/installer/dcheck.py", line 107, in check_file
    for w in utils.walkFiles(dir, recurse=True, abs_paths=True, return_folders=False, pattern=f):
RuntimeError: generator raised StopIteration
```

Revision history for this message
ghost (ghost-rand) said :
#4

aha, so the trick was to run hp-setup in terminal, give it a -i flag if needed.
even after successfully setting up the printer, the GUI setup *still* asked to install the plugin, so it's probably a bug

Can you help with this problem?

Provide an answer of your own, or ask Richard for more information if necessary.

To post a message you must log in.