Siduction Forum

Siduction Forum => Hardware - Support => Topic started by: finotti on 2019/01/28, 21:10:09

Title: HP Laserjet P1606dn
Post by: finotti on 2019/01/28, 21:10:09
My HP Laserjet P1606dn was running fine until recently.  After updates I need to install the plugin, but after the last it seems that I cannot do it.
The process goes smoothly, it says the update was successful, and when I click OK I get:
Code: [Select]
error: Failed to install Plug-in.
Either you have chosen to skip the Plug-in installation  or entered incorrect Password.
Here is the full run:
Code: [Select]
$ hp-diagnose_plugin

HP Linux Imaging and Printing System (ver. 3.18.12)
Diagnose Plugin 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.


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.

Downloading plug-in from: file:///home/finotti/tmp/hplip-3.18.12-plugin.run
1100%Receiving digital keys: /usr/bin/gpg --homedir /home/finotti/.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

note: Using PyQt5
 
Done.
 Plug-in installation successful

Done.
error: Failed to install Plug-in.
Either you have chosen to skip the Plug-in installation  or entered incorrect Password.

Done.
So, I tried removing the printer and adding it again.  Similarly, it says successful, but then it asks (in a loop) to install the plugin:
Code: [Select]
$ hp-setup

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=usb, search=(None), desc=0)
 
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.

Downloading plug-in from: file:///home/finotti/tmp/hplip-3.18.12-plugin.run
1100%Receiving digital keys: /usr/bin/gpg --homedir /home/finotti/.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

note: Using PyQt5
 
Done.
 Plug-in installation successful

Done.
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've tried: manually downloading the plugin, removing $HOME/.hplip, purging and reinstalling hplip, but the result is always the same...
Any suggestions?
Title: Re: HP Laserjet P1606dn
Post by: piper on 2019/01/28, 21:37:04
Searching this problem alone is a pita, so many problems (arch,ubuntu,etc), I am not sure where to begin, I don't own a HP printer, 4 different threads say installed 4 billion times and then it worked.

I actually can't find a good answer, and many say

http://snapshot.debian.org/package/hplip/3.18.12+dfsg0-2/
Title: Re: HP Laserjet P1606dn
Post by: hendrikL on 2019/01/29, 12:38:54
did you try it as ~# root? or only as ~$ user?
Title: Re: HP Laserjet P1606dn
Post by: finotti on 2019/01/29, 13:23:52
did you try it as ~# root? or only as ~$ user?
tried both...
Title: Re: HP Laserjet P1606dn
Post by: finotti on 2019/01/29, 16:23:00
Although I think the problem is far from resolved, I can now print.
After failing with 'hp-setup' (as seen above), I've added the printer with CUPS.  For now, it seems to be printing fine.  I worry about what will happen next time it asks me to install/update the plugin, but I will wait to see...  I haven't tried to do anything with hplip directly for now.

I will leave this thread open for a little longer.  If after a while everything continues to work, I will mark it as solved.
Thanks to all who offered help here!
Title: Re: HP Laserjet P1606dn
Post by: dibl on 2019/01/29, 23:15:54
I have an HP Laserjet P1606dn -- really a great printer if you don't need the color.

Years ago I had quite a few of the "filter failed" errors, and so I wrote myself a configuration note about it.  Here is what the note says:

Quote
Alt-F2 "kdesu hp-plugin -u --required --reason 0"


give password, accept default "download from hp server" choice, etc.

or use interactive (text) mode:

~/$ dbus-launch hp-plugin -i --required --reason 0


The firmware lives at /usr/share/hplip/data/firmware"
Title: Re: HP Laserjet P1606dn
Post by: finotti on 2019/01/29, 23:34:33
Thanks, dibl.  I really appreciate it.
I assume you are not having any problems with it, so it must be something on my end.

I will keep it in mind if I get the problem again.  Right now I am afraid of trying anything...
Could let me know what you get from:
Code: [Select]
ls /usr/share/hplip/data/plugins/
All I see is "license.txt".  I was expecting the plugin to be there, but maybe not...
Title: Re: HP Laserjet P1606dn
Post by: dibl on 2019/01/30, 09:46:43
Code: [Select]
don@dibl-HP350:~$ ls /usr/share/hplip/data/plugins/
license.txt
don@dibl-HP350:~$

The plugins are in /usr/share/hplip/data/firmware.

EDIT: I just tested the CLI method.  In a user terminal:

Code: [Select]
dbus-launch hp-plugin -i --required --reason 0
After I entered "d" to download from HP, I got this error

Quote
error: Unable to recieve key from keyserver
Do you still want to install the plug-in? (y=yes, n=no*, q=quit) ?

I entered "y" and it proceeded to get the plugin, put up the license for me to accept, ask for the root password, and finished successfully.