bertok / pygooglevoice

Automatically exported from code.google.com/p/pygooglevoice
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

command not working after login #83

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.applied patch mentioned in issue 76
2.login to your google voice account
3.run any command, e.g. call a number

What is the expected output? What do you see instead?
expect the call to go thru, but got the following error instead:

gvoice> call
Outgoing number: xxxxxxxxxx
Forwarding number [optional]: 
Phone type [1-Home, 2-Mobile, 3-Work, 7-Gizmo]:1
Traceback (most recent call last):
  File "/jffs/bin/gvoice", line 97, in <module>
    int(input('Phone type [1-Home, 2-Mobile, 3-Work, 7-Gizmo]:') or 2)
  File "/jffs/lib/python2.7/site-packages/googlevoice/voice.py", line 106, in call
    'remember': '1'
  File "/jffs/lib/python2.7/site-packages/googlevoice/voice.py", line 210, in __validate_special_page
    load_and_validate(self.__do_special_page(page, data))
  File "/jffs/lib/python2.7/site-packages/googlevoice/util.py", line 65, in load_and_validate
    validate_response(loads(response.read()))
  File "/jffs/lib/python2.7/site-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...

What version of the product are you using? On what operating system?
I am using python 2.7.3 on a router running tomato firmware

Please provide any additional information below.
I am surprised that this project has not caught more attention in light of 
Google's plan to discontinue the xmpp on 5/15/15. This tool can be used with 
asterisk to make free gvoice outgoing call like in the old days. Please update 
and resolve all the issue. Thanks much!

Original issue reported on code.google.com by jvoic...@gmail.com on 17 Mar 2014 at 8:51

GoogleCodeExporter commented 9 years ago
Sorry, the xmpp discontinue day should be 5/15/2014

Original comment by jvoic...@gmail.com on 17 Mar 2014 at 8:54

GoogleCodeExporter commented 9 years ago
I am having this problem now as well. I've just started trying to use this 
package, and was able to get logged in via the clone at 
http://code.google.com/r/kkleidal-pygooglevoiceupdate, but when trying to place 
a call I get this same error:

googlevoice.util.ValidationError: There was a problem with GV: {u'data': 
{u'code': 20}, u'ok': False}

Is this package currently working for anyone?

Original comment by bob.silv...@gmail.com on 24 Mar 2014 at 5:31

GoogleCodeExporter commented 9 years ago
I'm getting this error too now.  It was working today (2014-05-01) before 
1:00pm CST, and then stopped working after that.  The only difference is that 
I'm trying to send a text message. 

See output below, with usernames/passwords [REDACTED] for privacy...
----------------------

C:\Users\Administrator>python "C:\Program Files\Python_2-7\Scripts\gvoice" 
--email=[REDACTED] --password=[REDACTED] --batch send_sms [sms to phone number 
REDACTED] test
Traceback (most recent call last):
  File "C:\Program Files\Python_2-7\Scripts\gvoice", line 129, in <module>
    getattr(voice,action)(*args)
  File "C:\PROGRA~1\Python_2-7\lib\site-packages\googlevoice\voice.py", line 148, in send_sms
    self.__validate_special_page('sms', {'phoneNumber': phoneNumber, 'text': text})
  File "C:\PROGRA~1\Python_2-7\lib\site-packages\googlevoice\voice.py", line 218, in __validate_special_page
    load_and_validate(self.__do_special_page(page, data))
  File "C:\PROGRA~1\Python_2-7\lib\site-packages\googlevoice\util.py", line 65,
in load_and_validate
    validate_response(loads(response.read()))
  File "C:\PROGRA~1\Python_2-7\lib\site-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': 58}, u'ok': False}
Logging out of voice...

Original comment by sc...@bytality.com on 1 May 2014 at 10:24

GoogleCodeExporter commented 9 years ago
I am getting the exact same errors as you. Is there any solution to this 
problem?

Original comment by stevesul...@gmail.com on 20 Sep 2014 at 4:13