Summary: | hplip doesn't get started | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | François Valenduc <francoisvalenduc> |
Component: | [OLD] baselayout | Assignee: | Printing Team <printing> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | uberlord |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
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çois Valenduc you forgot to post `emerge info` 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 ? (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 (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 > 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. |