hp-plugin does not run auto-extracting plugin when started out of other programs

Bug #405864 reported by Till Kamppeter
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
Fix Released
Undecided
Unassigned

Bug Description

I call hp-plugin out of system-config-printer to allow easy fully automatic setup of all printers with the stamdard printer setup tool in Ubuntu (Karmic in my case). hp-plugin starts and downloads the plugin, but it does not succeed to run the plugin. So one sees the first screen of hp-plugin and without the license of the plugin being shown the pop-up "Plugin successfully installed" appears. After clicking OK, hp-plugin closes and no plugin is installed.

I have looked into the mechanism of the self-extracting archives and seen that there are some command line options to start them. I have tried out --nox11 and with that one the plugin gets correctly started when hp-plugin is started out of system-config-printer.

For you to reproduce: Try

gksu -- hp-plugin

(note that with the current version this is not needed any more but this is only for demonstration).

So I have patched hp-plugin to use "--nox11". The patch is attached. Please consider it for 3.9.8.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :
Revision history for this message
dwelch91 (dwelch91) wrote : Re: [Bug 405864] Re: hp-plugin does not run auto-extracting plugin when started out of other programs

Patch applied for HPLIP 3.9.8.

On Tue, Jul 28, 2009 at 8:02 AM, Till Kamppeter <email address hidden>wrote:

>
> ** Attachment added: "Patch to make plugin getting correctly started also
> if hp-plugin is called from another program"
> http://launchpadlibrarian.net/29621181/plugin-execution-fix.patch
>
> --
> hp-plugin does not run auto-extracting plugin when started out of other
> programs
> https://bugs.launchpad.net/bugs/405864
> You received this bug notification because you are a member of HP Linux
> Imaging and Printing, which is subscribed to HPLIP.
>

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Thanks, Don.

Changed in hplip:
status: New → Fix Committed
Revision history for this message
kieva_3569@hotmail.com (angela-kosolofski) wrote :

hello,

I am trying to apply this patch and I am a complete newbie to all this, I am wondering if you could give ,me some step by step directions on how to use it. thank you:)

Changed in hplip:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.