Unable to launch on startup
Bug #787070 reported by
Dima Spivak
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Google Voice Notifier |
New
|
Undecided
|
Unassigned |
Bug Description
Adding "gvoice-notifier" as an additional startup program in Ubuntu 11.04 doesn't launch the notifier. Running the command in a terminal after booting does, as does selecting it in the indicator menu, but one would hope there would be a way to automate this process. For what it's worth, I also experienced this bug in 10.10 and no error messages are encountered.
To post a comment you must log in.
Since it looks like this project might be abandoned, I threw together a quick patch that fixes this problem.
Basically, the trouble was that, when put into Startup Applications, gvoice-notifier would try to load Google's login page through Python's urllib2 library before the network connection was available, leading to an error being thrown which would halt execution of the program. To get around this, I've added a simple loop that tries to load the page and, if it's unsuccessful, waits 5 seconds, and then tries again.
To install under Ubuntu, just cd into the directory in which you save the patch and type:
sudo patch /usr/bin/ gvoice- notifier -i startup.patch
-Dima