Error trying to install HPLIP ver 5.15.6 on Ubuntu 13.04

Asked by Thomas

I get as far as this line near end of installation and haven't a clue how to resolve this error?

error: Unable to lock /home/thomas/.hplip/hp-systray.lock. Is hp-systray already running?

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Thomas (thomas-tj-casey) said :
#1

sorry for typo version is 3.13.6

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

Hi Thomas,

Once HPLIP installation is successfully completed, installer tries to launch hp-systray. Seems like failed to launch hp-systray so there shouldn't problem with installation.

Please follow below steps to fix above error.
1) Close existing hp-systray
    option a)
    --> right click on hp-systray icon and exit

    option b)
    --> get the hp-systray PIDs
    command: ps -elf |grep hp-systray |grep -v grep |awk {'print $4'}
    e.g.
    15453
    15516
    15517
    --> run kill for all PIDs
    command: kill -9 15453 15516 15517

2) run hp-systray in background
   command: hp-systray -x &

In case of problem, post the above commands output

Thanks & Regards,
Amarnath

Revision history for this message
Thomas (thomas-tj-casey) said :
#3

On 12/07/13 07:06, Amarnath Chitumalla wrote:
> Your question #232255 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/232255
>
> Status: Open => Answered
>
> Amarnath Chitumalla proposed the following answer:
> Hi Thomas,
>
> Once HPLIP installation is successfully completed, installer tries to
> launch hp-systray. Seems like failed to launch hp-systray so there
> shouldn't problem with installation.
>
> Please follow below steps to fix above error.
> 1) Close existing hp-systray
> option a)
> --> right click on hp-systray icon and exit
>
> option b)
> --> get the hp-systray PIDs
> command: ps -elf |grep hp-systray |grep -v grep |awk {'print $4'}
> e.g.
> 15453
> 15516
> 15517
> --> run kill for all PIDs
> command: kill -9 15453 15516 15517
>
> 2) run hp-systray in background
> command: hp-systray -x &
>
> In case of problem, post the above commands output
>
> Thanks & Regards,
> Amarnath
>
Amarmath,

Okay that worked, and after more trails, I finally got my printer to
print a page.

Printer is: HP M1217 nfw LaserJet Professional, (wireless) for which HP
doesn't list a driver. I'm not surprised because the normal setup
procedure requires that the printer be connected with the USB cable for
setup after which the OS recognises it on the network. Because of this
my 13.04 studio Ubuntu may be getting confusing messages as to where to
find the driver.

To get it to print I've used the driver from the M1218 on Hp's List,
hence I don't think I have captured all the functionality of the M1217
nfw., but I have to leave that project for a later date.

The only question I have now is: Does the Ubuntu's normal printer
installation procedure allow for installing the driver from the embedded
software in the HP M1217nfw?

Thanks for your help. You can show my question issue as resolved.

Thomas Casey

Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#4

Hello Thomas,

"Does the Ubuntu's normal printer installation procedure allow for installing the driver from the embedded
software in the HP M1217nfw?"

No, M1217nfw does not contain HPLIP therefore installation from embedded software will not work.

Based on previous comment I will mark this as solved.

Thank,
Sanjay

Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#5
Revision history for this message
Thomas (thomas-tj-casey) said :
#6

On 15/07/13 06:06, Sanjay Kumar wrote:
> Your question #232255 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/232255
>
> Status: Open => Answered
>
> Sanjay Kumar proposed the following answer:
> Hello Thomas,
>
> "Does the Ubuntu's normal printer installation procedure allow for installing the driver from the embedded
> software in the HP M1217nfw?"
>
> No, M1217nfw does not contain HPLIP therefore installation from embedded
> software will not work.
>
> Based on previous comment I will mark this as solved.
>
> Thank,
> Sanjay
>
Thanks close and show as resolved.

Thomas