HP Linux Imaging and Printing

not able to install HP 3.13.2 plugin

Reported by chandramohan on 2013-02-22
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
HPLIP
Undecided
Unassigned

Bug Description

I have tried everything. But the plugin does not seem to get installed on UBUNTU 12.04 LTS. I have tried "gksu -- hplip-plugin" command and have attached teh error message with this complaint. Kindly help me. I have spent 2 days on this matter to no avail.

FYI:

1. I have tried manual installation of hplip-3.13.2 plugin.run (didn't work)
2. automatic download and installation from terminal (error message in the screenshot)

Thanks in advance

cms

chandramohan (cms513) wrote :
chandramohan (cms513) on 2013-02-22
description: updated

Hi Chandramohan,

Seems like hplip package might have corrupted, can you please uninstall and reinstall HPLIP

1) Uninstall hplip
$ sudo hp-uninstall

2) Download hplip from hplip-3.13.2 from "http://hplipopensource.com/hplip-web/install/install/index.html" and install
$ sh hplip-3.13.2.run

3) run hp- plugin
$ sudo hp-plugin -g

--> if problem still persists, please provide us above step 3) log and attach "/usr/share/hplip/base/codes.py" and "/usr/share/hplip/installer/pluginhandler.py" files.

Thanks & Regards,
Amarnath

chandramohan (cms513) wrote :

Hello Amaranth Thanks for the reply.

1. When I tried uninstalling using sudo hp-uninstall, I got the following message:

HP Linux Imaging and Printing System (ver. 3.13.2)
HPLIP Uninstaller ver. 1.0
Copyright (c) 2011-14 Hewlett-Packard 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.
Uninstaller log saved in: /var/log/hp/hplip-uninstall.log
Traceback (most recent call last):
  File "/usr/bin/hp-uninstall", line 131, in <module>
    core.uninstall(mode)
AttributeError: 'CoreInstall' object has no attribute 'uninstall'

However, I was able to uninstall it through Ubuntu software center

2. When I ran "sh hplip-3.13.2.run" command everything went smoothly till I saw the message seen in screenshot 1 appeared. When I clicked OK, the installation stopped at that point. However, when I ran "sudo hp-plugin -g" command after that, surprisingly plug-in got installed as seen in screenshot 2. I don't know why it didnt work before. I had tried these steps before as well.

3. However, When I try to print a page I get message as seen in screenshot 3 attached. Also teh error message can be seen in text marked in red in screenshot 2 as well.

chandramohan (cms513) wrote :

screenshot 2 attached

chandramohan (cms513) wrote :

screenshot 3 attached

chandramohan (cms513) wrote :

files requested by you....attached

chandramohan (cms513) wrote :

finally.........codes.py

thanks in advance for the help...

cms

Hi cms,

Above files looks fine. From above screen shots, giving plugin missing message even after plugin installed successfully.
Can please provide some more information to analyse further.

Run these commands in ternminal:-
$ hp-diagnose_plugin -g &> diagnose_plugin.log
$ hp-check &> hp-check.log

and attach following logs:-
1) diagnose_plugin.log (from above command)
2) hp-check.log (from above command)
3) /var/lib/hp/hplip.state

Thanks & Regards,
Amarnath

Kindly find the log files attached herewith

On Mon, Feb 25, 2013 at 11:17 AM, Amarnath Chitumalla
<email address hidden> wrote:
> Hi cms,
>
> Above files looks fine. From above screen shots, giving plugin missing message even after plugin installed successfully.
> Can please provide some more information to analyse further.
>
> Run these commands in ternminal:-
> $ hp-diagnose_plugin -g &> diagnose_plugin.log
> $ hp-check &> hp-check.log
>
> and attach following logs:-
> 1) diagnose_plugin.log (from above command)
> 2) hp-check.log (from above command)
> 3) /var/lib/hp/hplip.state
>
> Thanks & Regards,
> Amarnath
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1131596
>
> Title:
> not able to install HP 3.13.2 plugin
>
> Status in HP Linux Imaging and Printing:
> New
>
> Bug description:
> I have tried everything. But the plugin does not seem to get installed
> on UBUNTU 12.04 LTS. I have tried "gksu -- hplip-plugin" command and
> have attached teh error message with this complaint. Kindly help me. I
> have spent 2 days on this matter to no avail.
>
> FYI:
>
> 1. I have tried manual installation of hplip-3.13.2 plugin.run (didn't work)
> 2. automatic download and installation from terminal (error message in the screenshot)
>
> Thanks in advance
>
> cms
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/hplip/+bug/1131596/+subscriptions

--
chandramohan

chandramohan (cms513) wrote :

kindly find the log files attached hertwewith.

chandramohan (cms513) wrote :

log 2

chandramohan (cms513) wrote :
Changed in hplip:
status: New → In Progress

Hi cms,

Thank you for sending the logs. This issue is due to "/var/lib/hp/hplip.state" file doesn't have read permission to user.

Please let us know what are the permissions of "/var/lib/hp/hplip.state" file? We look into this issue and fix it for next build.

Mean while, please make following changes in root mode:-

$ chown root /var/lib/hp/hplip.state
$ chgrp root /var/lib/hp/hplip.state
$ chmod 644 /var/lib/hp/hplip.state

Thanks & Regards,
Amarnath

Hi cms,

Also make one more change:

$ chmod 755 /var/lib/hp
$ chown root /var/lib/hp/hplip.state
$ chgrp root /var/lib/hp/hplip.state
$ chmod 644 /var/lib/hp/hplip.state

Regards,
Amarnath

chandramohan (cms513) wrote :

Finally!!!!!! after making all the changes suggested by you, its
working great....
Thanks a lot. You guys are doing a great job out there...Keep up the good work.
One small question. Our department has purchased 20 such computers
here. Are they going to face same issue if they have Ubuntu 12.04 LTS?
If yes, I will inform them about this fix as well.

On Mon, Feb 25, 2013 at 3:02 PM, Amarnath Chitumalla
<email address hidden> wrote:
> Hi cms,
>
> Also make one more change:
>
> $ chmod 755 /var/lib/hp
> $ chown root /var/lib/hp/hplip.state
> $ chgrp root /var/lib/hp/hplip.state
> $ chmod 644 /var/lib/hp/hplip.state
>
> Regards,
> Amarnath
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1131596
>
> Title:
> not able to install HP 3.13.2 plugin
>
> Status in HP Linux Imaging and Printing:
> In Progress
>
> Bug description:
> I have tried everything. But the plugin does not seem to get installed
> on UBUNTU 12.04 LTS. I have tried "gksu -- hplip-plugin" command and
> have attached teh error message with this complaint. Kindly help me. I
> have spent 2 days on this matter to no avail.
>
> FYI:
>
> 1. I have tried manual installation of hplip-3.13.2 plugin.run (didn't work)
> 2. automatic download and installation from terminal (error message in the screenshot)
>
> Thanks in advance
>
> cms
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/hplip/+bug/1131596/+subscriptions

--
chandramohan

chandramohan (cms513) wrote :

Finally!!!!!! after making all the changes suggested by you, its
working great....
Thanks a lot. You guys are doing a great job out there...Keep up the good work.
One small question. Our department has purchased 20 such computers
here. Are they going to face same issue if they have Ubuntu 12.04 LTS?
If yes, I will inform them about this fix as well.

No..there is no issues with Ubuntu 12.04. You can go ahead. Changing the bug status to "Invalid" as there is no actual code change done in HPLIP.

Changed in hplip:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers