Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
Will someone please enlighten all of us on using:
easy_install pygooglevoice
vs
python setup.py install
the python method failed (see comment 50)
but the easy_install method worked.
Or was it that easy_install method works after you try python setup.py install?
I know that explaining this takes a little time, but for those of use who try
to
follow and help others, we need to know why one method works, and one fails.
Thanks.
cd /root
cd ~
root@pbx:~ $ easy_install pygooglevoice
Processing pygooglevoice
Running setup.py -q bdist_egg --dist-dir /root/pygooglevoice/egg-dist-tmp-KP0OWn
zip_safe flag not set; analyzing archive contents...
pygooglevoice 0.4 is already the active version in easy-install.pth
Installing gvoice script to /usr/bin
Installing asterisk-gvoice-setup script to /usr/bin
Installed /usr/lib/python2.4/site-packages/pygooglevoice-0.4-py2.4.egg
Processing dependencies for pygooglevoice==0.4
now gvoice is working again.
Original comment by mark...@gmail.com
on 30 Nov 2009 at 4:56
When you use easy_install it grabs the most recent distribution of the source
code
(v0.4) from PyPI and installs it. When you use mercurial to clone the source
code, it
is getting the most recent up to date, bleeding edge version from the repository
(~v0.5) which I am currently working on. Version 0.4 lacks the phoneType
descriptor,
so placing calls wont work (fixed in tip). It also has a namespace collision
with the
asterisk binary (fixed in tip). Im sorting out a couple more details with
calling
methods and phoneType stuff and will be releasing v0.5 soon which should have
most of
this stuff fixed. Use the mercurial clone for now, at least placing calls
should be
working.
Original comment by justquick
on 30 Nov 2009 at 3:43
Thank you for taking the time to explain the differences. I will bookmark it.
Rather than troubleshooting the current bleeding edge using "python setup.py
install", I will wait for 0.5. Thanks.
Original comment by mark...@gmail.com
on 30 Nov 2009 at 5:57
I'm using the mercurial source, and I am unable to get it to place any outgoing
calls
(same HTTP 500 error as above), comment #53 said it should be able to place
calls. I
have a GV acct setup with a home, mobile, and gizmo5 number and it doesn't work
with
any. I've tried every combination of phoneType imaginable, LiveHTTPHeaders
confirms
that 1,2,and 7, are correct for me also. Does outgoing calling currently work
for
anyone? Is there any other outlet where further general pygooglevoice
discussion is
going on? Thanks.
Original comment by al.herna...@gmail.com
on 3 Dec 2009 at 4:32
The latest mercurial source is working for me from the command line if I add the
phone type to the end of the line (eg % gvoice -e username -p password call
outgoingnumber incomingnumber phoneType), however I can no longer get it to
work in
my asterisk configuration, even though I modified the configuration to reflect
the
phone type.
Also, pygooglevoice now takes ~25 seconds to login successfully, where it was
much
faster before. Has anyone else noticed this?
Original comment by jason.ho...@gmail.com
on 4 Dec 2009 at 4:31
I deleted everything, at least i think so, re cloned (hg clone
https://pygooglevoice.googlecode.com/hg/ pygooglevoice
), reinstalled (python setup.py install) and still get the 500 error. I don't
have
any sort of long delay logging in though. Is there any problem with having
multiple
numbers verified in my GV account? Don't think there should be. Also, do you
need the
1 before any numbers? I've tried it both ways, neither seems to make any
difference.
Did you just add the number for phoneType at the the end of your command line?
Doesn't work for my mobile (2) or my gizmo5 (7). I do appreciate all of the
devs work
though, it is great. Thanks
Original comment by al.herna...@gmail.com
on 4 Dec 2009 at 6:10
[deleted comment]
I was having permision issues with my asterisk setup. For some reason the
~/.gvoice
was not mapping correctly to ~asterisk/.gvoice and I belive was using
/root/.gvoice
instead. I hardcoded the setting in
pygooglevoice/guild/lib/googlevoice/conf.py to
point to my ~asterisk/.gvoice location. After running the gvoice script a few
times
using 'sudo asterisk gvoice call', I was able to get the call back to work
correctly. I don't need to add the extra phonetype parameter in my
extensions_custom.conf file. It appears to be pulling it from the
~asterisk/.gvoice
file correctly.
This is a hack solution but at least it works for me. I'm not sure why
~/.gvoice is
not properly getting mapped to my /var/lib/asterisk location when gvoice runs
as
asterisk user. Hopefully justquick can find a real solution.
I'm also noticing the login to google voice taking approximately 10 to 15
seconds,
much longer than previously.
Original comment by cit...@gmail.com
on 4 Dec 2009 at 7:44
when i am trying to run gvoice, after connecting and providing outgoing and
forwarding number i m getting following error. can any one help me
File "/usr/bin/gvoice", line 94, in ?
voice.call(input('Outgoing number: '), input('Forwarding number: '))
File "/usr/lib/python2.4/site-packages/googlevoice/voice.py", line 82, in call
self.__validate_special_page('call', {
File "/usr/lib/python2.4/site-packages/googlevoice/voice.py", line 193, in
__validate_special_page
load_and_validate(self.__do_special_page(page, data))
File "/usr/lib/python2.4/site-packages/googlevoice/util.py", line 62, in
load_and_validate
validate_response(loads(response.read()))
File "/usr/lib/python2.4/site-packages/googlevoice/util.py", line 56, in
validate_response
raise ValidationError('There was a problem with GV: %s' % response)
googlevoice.util.ValidationError: There was a problem with GV: {u'data':
{u'code':
20}, u'ok': False}
Logging out of voice...
Original comment by khan.ale...@gmail.com
on 6 Dec 2009 at 7:50
I have just released version 0.5. Here is what has changed:
* Lowered network traffic used in parsing feeds
* asterisk-gvoice-setup
* Call fixes
This should solve most of the problems above. Full *shiny* documentation is now
available at http://sphinxdoc.github.com/pygooglevoice/
citsam: it doesnt matter where the example .gvoice conf is installed, for
whichever
user runs gvoice it checks in their home folder and nowhere else. I have
noticed that
the voice service is takin a bit longer to login myself, but the fixes in 0.5
should
help improve network traffic.
Original comment by justquick
on 7 Dec 2009 at 5:27
Ok great work on the delay issue! I updated to 0.5 and the connection times
are
back to being < 1 second.
For some reason my setup (PBX in a Flash) does not have the asterisk user set
to
point to a proper home directory. It points to /var/lib/asterisk. That
shouldn't
be an issue but for some reason ~/ doesn't map to ~asterisk/ for the asterisk
user.
Whatever the case, I still need to hack the conf.py to point to
~asterisk/.gvoice
rather than ~/.gvoice.
Hopefully my setup is an isolated instance and it works correctly for everyone
else.
Thanks for the the great work on this!
Original comment by cit...@gmail.com
on 13 Dec 2009 at 9:35
I just installed 0.5 and this issue is still very present.
Original comment by patrick....@gmail.com
on 12 Sep 2010 at 1:17
I'm also seeing the same problem.
Original comment by michael....@gmail.com
on 12 Oct 2010 at 3:53
Me three :-(
I get a 500 when trying to send an SMS to myself. Index and archive browsing
still works.
Python 2.6.6 from ubuntu repo
pygooglevoice 0.5 from pypi
Original comment by joeykork
on 21 Dec 2010 at 2:00
Still occurring today :(
I'll see if I can track this down any further.
Traceback (most recent call last):
File "./gvoice.py", line 12, in <module>
voice.call(outgoingNumber, forwardingNumber)
File "/usr/lib/python2.7/site-packages/pygooglevoice-0.5-py2.7.egg/googlevoice/voice.py", line 106, in call
'remember': '1'
File "/usr/lib/python2.7/site-packages/pygooglevoice-0.5-py2.7.egg/googlevoice/voice.py", line 210, in __validate_special_page
load_and_validate(self.__do_special_page(page, data))
File "/usr/lib/python2.7/site-packages/pygooglevoice-0.5-py2.7.egg/googlevoice/util.py", line 65, in load_and_validate
validate_response(loads(response.read()))
File "/usr/lib/python2.7/site-packages/pygooglevoice-0.5-py2.7.egg/googlevoice/util.py", line 59, in validate_response
raise ValidationError('There was a problem with GV: %s' % response)
googlevoice.util.ValidationError: There was a problem with GV: {u'data':
{u'code': 20}, u'ok': False}
Original comment by paulgray...@gmail.com
on 27 Jun 2011 at 6:55
I am also receiving exactly the same error trying to place calls on RHEL 6.1
and Ubuntu 11.04, both x86_64
Traceback (most recent call last):
File "/usr/local/bin/gvoice", line 97, in <module>
int(input('Phone type [1-Home, 2-Mobile, 3-Work, 7-Gizmo]:') or 2)
File "/usr/local/lib/python2.7/dist-packages/googlevoice/voice.py", line 106, in call
'remember': '1'
File "/usr/local/lib/python2.7/dist-packages/googlevoice/voice.py", line 210, in __validate_special_page
load_and_validate(self.__do_special_page(page, data))
File "/usr/local/lib/python2.7/dist-packages/googlevoice/util.py", line 65, in load_and_validate
validate_response(loads(response.read()))
File "/usr/local/lib/python2.7/dist-packages/googlevoice/util.py", line 59, in validate_response
raise ValidationError('There was a problem with GV: %s' % response)
googlevoice.util.ValidationError: There was a problem with GV: {u'data':
{u'code': 20}, u'ok': False}
Logging out of voice...
Original comment by don...@gmail.com
on 30 Aug 2011 at 10:57
Original issue reported on code.google.com by
ytlev...@gmail.com
on 18 Nov 2009 at 7:53