Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118958 - hplip doesn't get started
Summary: hplip doesn't get started
Status: RESOLVED DUPLICATE of bug 98428
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-14 00:54 UTC by François Valenduc
Modified: 2006-01-14 02:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description François Valenduc 2006-01-14 00:54:28 UTC
After an upgrade of baselayout, hplip doesn't get started anymore. In fact, I upgraded baselayout to test KDE 3.5 and I had to use a masked version. The hplip init script contains basically two commands:

     start-stop-daemon --start --quiet --exec /usr/sbin/hpiod
     start-stop-daemon --quiet --start --exec /usr/share/hplip/hpssd.py --pidfile /var/run/hpssd.pid >/dev/null 2>&1                

The first command is started but the second one doesn't work. However, if I run it manually, it works but as soon as I put it into an init scripts, it fails.

Does anybody know how to solve the problem ?
Thanks in advance.

Fran
Comment 1 François Valenduc 2006-01-14 00:54:28 UTC
After an upgrade of baselayout, hplip doesn't get started anymore. In fact, I upgraded baselayout to test KDE 3.5 and I had to use a masked version. The hplip init script contains basically two commands:

     start-stop-daemon --start --quiet --exec /usr/sbin/hpiod
     start-stop-daemon --quiet --start --exec /usr/share/hplip/hpssd.py --pidfile /var/run/hpssd.pid >/dev/null 2>&1                

The first command is started but the second one doesn't work. However, if I run it manually, it works but as soon as I put it into an init scripts, it fails.

Does anybody know how to solve the problem ?
Thanks in advance.

François Valenduc
Comment 2 SpanKY gentoo-dev 2006-01-14 01:02:59 UTC
you forgot to post `emerge info`
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-01-14 01:08:47 UTC
Does it work for you if you change the first line of /usr/share/hplip/hpssd.py from

#!/usr/bin/env python

to

#!/usr/bin/python

?
Comment 4 François Valenduc 2006-01-14 02:07:33 UTC
(In reply to comment #2)
> Does it work for you if you change the first line of /usr/share/hplip/hpssd.py
> from
> 
> #!/usr/bin/env python
> 
> to
> 
> #!/usr/bin/python
> 
> ?

Indeed, that solves the problem. Thanks for your help


Comment 5 François Valenduc 2006-01-14 02:08:08 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Does it work for you if you change the first line of /usr/share/hplip/hpssd.py
> > from
> > 
> > #!/usr/bin/env python
> > 
> > to
> > 
> > #!/usr/bin/python
> > 
> > ?
> 
> Indeed, that solves the problem. Thanks for your help
> 

Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-01-14 02:25:38 UTC
Please, don't resolve bugs as FIXED before they are fixed in portage. ;)

@printing: Please, fix Bug 98428 - it's getting kinda stale and the fix is trivial.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-01-14 02:25:53 UTC

*** This bug has been marked as a duplicate of 98428 ***