plugin installation failed

Asked by D. E.

Hi,

- Ubuntu 11.04
- Laserjet Pro 200 color MFP M276n
-installed Version of hplip didn't support scanning with my device, so I downloaded the latest version 3.12.11
-hp-setup failed to install the plugin, so I ran:

sudo hp-plugin -d

Error message:

hp-plugin[14345]: debug: Device URI dnssd://HP%20LaserJet%20200%20colorMFP%20M276n%20(617384)._pdl-datastream._tcp.local/ is invalid/unknown
hp-plugin[14345]: debug: Exception: 4 (Unknown/invalid device-uri field)
hp-plugin[14345]: debug: Device URI lpd://192.168.178.253/lp is invalid/unknown
hp-plugin[14345]: debug: Exception: 4 (Unknown/invalid device-uri field)

Any suggestions? According to the "supported devices" list my printer is supported.

Thank you.
Best regards,
Dirk

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
D. E.
Solved:
Last query:
Last reply:
Revision history for this message
Amarnath Chitumalla (amarnath-chitumalla) said :
#1

Hi,

Please follow bellow steps.

1) remove the print queue from hp device manager (using '-' icon)
$ hp-toolbox

2) run hp-plugin
$ sudo hp-plugin

3) run hp-setup
$ hp-setup

Please let us know if you find any issues

Thanks & Regards,
Amarnath

Revision history for this message
Amarnath Chitumalla (amarnath-chitumalla) said :
#2

Hi,

Please follow bellow steps.

1) remove the print queue from hp device manager (using '-' icon)
$ hp-toolbox

2) run hp-plugin
$ sudo hp-plugin

3) run hp-setup
$ hp-setup

Please let us know if you find any issues

Thanks & Regards,
Amarnath

Revision history for this message
D. E. (m-dec) said :
#3

Hi Amarnath,

hp-toolbox tells me "No Installed HP Devices Found."
If I run hp-plugin, it announces success. If I install the plugin via hplip-3.12.11-plugin.run it installs 48 files and doesn't show any error. But hp-setup always tries to install again and fails.

I see two problems here:
1. hp-setup is unable to detect the already installed plugin
2. it seems not the plugin is the problem, but the creation of the printer queue afterwards.

Best regards,
Dirk

Revision history for this message
D. E. (m-dec) said :
#4

Hi again,

one correction: hp-diagnose-plugin tells me: "HP Device proprietary plugin is missing", so the output of hplip-3.12.11-plugin.run is wrong. It doesn't install the plugin successfully.

Best regards,
Dirk

Revision history for this message
Amarnath Chitumalla (amarnath-chitumalla) said :
#5

Hi Dirk,

Can you please provide following information.
$ cat /var/lib/hp/hplip.state

$ ls -l /usr/share/hplip/scan/plugin
$ ls -l /usr/share/hplip/prnt/plugin
$ ls -l /usr/share/hplip/fax/plugin

Meanwhile, try following command to setup the printer in interactive mode.
$ hp-setup -i -x -q

Thanks & Regards,
Amarnath

Revision history for this message
D. E. (m-dec) said :
#6

Hi Amarnath,

cat /var/lib/hp/hplip.state

[plugin]
installed = 1
eula = 1
version = 3.12.11

ls -l /usr/share/hplip/scan/plugins

drwxr-xr-x 2 root root 4096 Dez 20 17:22 ./
drwxr-xr-x 3 root root 4096 Dez 19 19:08 ../
lrwxrwxrwx 1 root root 50 Dez 20 17:22 bb_marvell.so -> /usr/share/hplip/scan/plugins/bb_marvell-x86_64.so*
-rwxr-xr-- 1 root root 37861 Dez 20 17:22 bb_marvell-x86_64.so*
lrwxrwxrwx 1 root root 49 Dez 20 17:22 bb_soapht.so -> /usr/share/hplip/scan/plugins/bb_soapht-x86_64.so*
-rwxr-xr-- 1 root root 59146 Dez 20 17:22 bb_soapht-x86_64.so*
lrwxrwxrwx 1 root root 47 Dez 20 17:22 bb_soap.so -> /usr/share/hplip/scan/plugins/bb_soap-x86_64.so*
-rwxr-xr-- 1 root root 18224 Dez 20 17:22 bb_soap-x86_64.so*

ls -l /usr/share/hplip/prnt/plugins

lrwxrwxrwx 1 root root 42 Dez 20 17:22 lj.so -> /usr/share/hplip/prnt/plugins/lj-x86_64.so
-rwxr-xr-- 1 root root 70254 Dez 20 17:22 lj-x86_64.so

ls -l /usr/share/hplip/fax/plugins

lrwxrwxrwx 1 root root 50 Dez 20 17:22 fax_marvell.so -> /usr/share/hplip/fax/plugins/fax_marvell-x86_64.so
-rwxr-xr-- 1 root root 8752 Dez 20 17:22 fax_marvell-x86_64.so

Printer and fax queue installed successfully in interactive mode.

Best regards,
Dirk

Revision history for this message
D. E. (m-dec) said :
#7

Hi Amarnath,

problem solved. Hp-setup started in user mode is asking me for my password to be able to do something with root privileges. The problem is located anywhere here. I startet the program directly with "sudo" and it ran successfully.

Thanks a lot and have a nice day.
Best regards,
Dirk