Closed GoogleCodeExporter closed 9 years ago
Logins have been changed around a bit to reflect google's changes to their auth
scheme. I think that the problem has been fixed in the new version which is now
in
the repository. Please get a copy of it like so
hg clone https://pygooglevoice.googlecode.com/hg/ pygooglevoice
install it, and then let me know how it goes. this should not be an issue
anymore
Original comment by justquick
on 28 Sep 2009 at 4:02
After installing the latest from repository, I get this error when trying to
run gvoice.
$ /usr/bin/gvoice
Traceback (most recent call last):
File "/usr/bin/gvoice", line 5, in <module>
pkg_resources.run_script('pygooglevoice==0.3', 'gvoice')
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 448, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1173, in run_script
exec script_code in namespace, namespace
File
"/usr/lib/python2.6/site-packages/pygooglevoice-0.3-py2.6.egg/EGG-INFO/scripts/g
voice",
line 80, in <module>
TypeError: __init__() takes exactly 1 argument (2 given)
Original comment by jason.ho...@gmail.com
on 28 Sep 2009 at 4:34
whoops! there was a small bug in the gvoice binary. grab the latest code and
lets try
this again
$ hg pull
$ sudo python setup.py install
$ gvoice
Original comment by justquick
on 28 Sep 2009 at 4:42
Thank you, the new one works. However, I'm still seeing the slow login/logout
issue.
Logging in takes ~50 seconds
Logging out takes ~25 seconds
Thank you for your help.
Original comment by jason.ho...@gmail.com
on 28 Sep 2009 at 5:07
The problem must be with your connection or google's service. I am able to
login and
logout in just under 5s. The login changes did introduce another page request,
but
that alone should not be causing that kind of delay. Im not sure what to tell
you
about this issue, its probably google's service crapping out again. Try seeing
if the
web interface at https://www.google.com/voice/ is just as slow, because that is
really all the python code is using. I am only able to fix this code, which is
finally working, but thats about all I can do unfortunately. I would try again
in a
little bit and maybe some of their service issues will b cleared up by then.
Godspeed
Original comment by justquick
on 28 Sep 2009 at 5:38
I narrowed the problem down to DNS lookups by python being slow to resolve.
After a
ton of troubleshooting, I found that the problem is somehow related to
Comcast's DNS
servers. I am now using OpenDNS servers (http://www.opendns.com/) and the
issue is gone.
Thanks.
Original comment by jason.ho...@gmail.com
on 29 Sep 2009 at 5:23
Actually the problem still remains even after changing to OpenDNS... It takes
approximately 35 seconds to call and 5 seconds to logout for me.
Original comment by st3amco0...@gmail.com
on 16 Feb 2010 at 12:31
Original issue reported on code.google.com by
jason.ho...@gmail.com
on 25 Sep 2009 at 6:25