Hi Srinivas,

HPLIP 3.12.11 package's (/usr/share/hplip/base/utils.py) file doesn't
contains   "elif utils.which('/usr/lib/kde4/libexec/kdesu'):"
statement.

Please let us know, is it downloaded from "http://hplipopensource.com
/hplip-web/index.html" site or HPLIP installed from repository?

You can quick fix it by making followng changes?
1) open /usr/share/hplip/base/utils.py file in root mode.
--> search for "utils." and remove this "utils." occurrences from this file.
2) Now run plugin command in root mode (su or sudo)
$ sudo hp-plugin or su - -c "hp-plugin"

(or)
You can install hplip-3.12.11 from 
http://hplipopensource.com/hplip-web/index.html site.

Thanks & Regards,
Amarnath

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to hplip in Ubuntu.
https://bugs.launchpad.net/bugs/913730

Title:
  Automatic plug-in installation not working under Ubuntu

Status in HP Linux Imaging and Printing:
  Invalid
Status in “hplip” package in Ubuntu:
  Triaged
Status in “policykit” package in Ubuntu:
  Confirmed

Bug description:
  I have packaged HPLIP 3.11.12 for Ubuntu Precise (12.04) and I have
  also backported this package to Oneiric (11.10, package in my PPA:
  https://launchpad.net/~till-kamppeter/+archive/ppa).

  With the binary package hplip-gui and all its dependencies installed
  the plug-in should be downloaded and installed automatically if a
  printer gets connected which requires the plug-in, via the newly added
  feature of HPLIP 3.11.12.

  It seems that when hp-systray calls hp-plugin, hp-plugin gets run as
  normal user (not as root) and then it is not able to install the files
  of the plug-in in subdirectories of /usr/share/hplip and /etc where
  only root has write access.

  What needs to be done here is to use PolicyKit or tools like gksudo.
  Is such a thing actually used?

To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/913730/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to