gmail-notify process spawning isn't good

Bug #49519 reported by Dario Meloni
4
Affects Status Importance Assigned to Milestone
Debian
Invalid
Undecided
Unassigned
gmail-notify (Ubuntu)
Expired
Wishlist
Unassigned

Bug Description

having 2 process instead of one is not a good way to accomplish a such simple work.
There should be just one python process named gmail-notify and not 2 (gmail-notify and python ./notify.py).
Just 2 little changes should be taken

/usr/bin/gmail-notify should not be a shell file but a link to /usr/lib/gmail-notify/notify.py

in /usr/lib/gmail-notify/notify.py 2 line must be added at the top:

import sys
sys.path.append('/usr/lib/gmail-notify');

Revision history for this message
Dario Meloni (mellon85) wrote :

Ops. I don't even have noticied that the inclusion of the path is already done.
Then just the link is needed and not a shell script

William Grant (wgrant)
Changed in gmail-notify:
importance: Untriaged → Wishlist
status: Unconfirmed → Confirmed
Revision history for this message
David Grant (davidgrant) wrote :

Are you sure this is really necessary? I made the gentoo ebuild and used a script like this:

#!/bin/bash
exec /usr/bin/python /usr/lib/python2.4/site-packages/gmail-notify/notifier.py "$1"

and I don't get 2 processes.

Revision history for this message
Dario Meloni (mellon85) wrote :

I thought the link was a good solution, if this one is has the same result then it's ok

Revision history for this message
Christian Reis (kiko) wrote :

I am removing this debbugs bug watch because it doesn't appear to actually be valid. Is there a specific bug on bugs.debian.org that you want to link to? I couldn't find any bugs related to gmail-notify there.

Szymon Scholz (quomoow)
Changed in gmail-notify (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gmail-notify (Ubuntu) because there has been no activity for 60 days.]

Changed in gmail-notify (Ubuntu):
status: Incomplete → Expired
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.