Comment 1 for bug 787070

Revision history for this message
Dima Spivak (dimaspivak) wrote :

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