Hi Srinivas,

Above attached log in #13 contains following information (see at end):-
----------------------------------------------
[34;01mhp-diagnose_plugin[3027]: debug: Starting GUI loop...
Traceback (most recent call last):
  File "/usr/share/hplip/ui4/plugindiagnose.py", line 101, in NextButton_clicked
    ok, sudo_ok = pkit.run_plugin_command(plugin == PLUGIN_REQUIRED, 
plugin_reason)
  File "/usr/share/hplip/base/pkit.py", line 472, in run_plugin_command
    su_sudo = utils.su_sudo()
  File "/usr/share/hplip/base/utils.py", line 1782, in su_sudo
    elif utils.which('/usr/lib/kde4/libexec/kdesu'):
NameError: global name 'utils' is not defined

Done.
-----------------------------------------------

According to this, "/usr/share/hplip/base/utils.py" file may contains
"utils." at line no. 1782.


I think, please do fresh installation from 
"http://hplipopensource.com/hplip-web/install.html";. If your distro is Ubuntu, 
suse, debian, linux mint or fedora, then follow Auto Installation 
(http://hplipopensource.com/hplip-web/install/install/index.html)

Otherwise go for Manual Installation.
Details installation steps given in this 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