niko-dunixi / pygooglevoice

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

Not working #40

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When i try to place a call...
Traceback (most recent call last):
  File "/usr/local/bin/gvoice", line 5, in <module>
    pkg_resources.run_script('pygooglevoice==0.5', 'gvoice')
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 461, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1194, in run_script
    execfile(script_filename, namespace, namespace)
  File "/usr/local/lib/python2.6/dist-packages/pygooglevoice-0.5-py2.6.egg/EGG-INFO/scripts/gvoice", line 129, in <module>
    getattr(voice,action)(*args)
  File "/usr/local/lib/python2.6/dist-packages/pygooglevoice-0.5-py2.6.egg/googlevoice/voice.py", line 106, in call
    'remember': '1'
  File "/usr/local/lib/python2.6/dist-packages/pygooglevoice-0.5-py2.6.egg/googlevoice/voice.py", line 210, in __validate_special_page
    load_and_validate(self.__do_special_page(page, data))
  File "/usr/local/lib/python2.6/dist-packages/pygooglevoice-0.5-py2.6.egg/googlevoice/util.py", line 65, in load_and_validate
    validate_response(loads(response.read()))
  File "/usr/local/lib/python2.6/dist-packages/pygooglevoice-0.5-py2.6.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 issue reported on code.google.com by zdevel on 20 Jun 2010 at 3:18

GoogleCodeExporter commented 8 years ago
Got same problem. Running Debian testing. Easy_installed pygooglevoice

Original comment by kes...@gmail.com on 24 Jun 2010 at 11:16

GoogleCodeExporter commented 8 years ago
Same here... ub 9.10 

Original comment by caius.ho...@gmail.com on 29 Jun 2010 at 3:45

GoogleCodeExporter commented 8 years ago
I have the same problem with similar error messages (under OS X) [see below]. 

I seem to have found a workaround (for my problem, at least). Instead of 
entering my Google Voice number as the forwarding number, I enter the number of 
the phone that I want to have called. It still prompts me for "Phone type", but 
as long as I enter a "0" or "1", it works.

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/Current/bin/gvoice", line 97, in ?
    int(input('Phone type [1-Home, 2-Mobile, 3-Work, 7-Gizmo]:') or 2)
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/googlevoice/voice.py", line 101, in call
    self.__validate_special_page('call', {
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/googlevoice/voice.py", line 210, in __validate_special_page
    load_and_validate(self.__do_special_page(page, data))
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/googlevoice/util.py", line 65, in load_and_validate
    validate_response(loads(response.read()))
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/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: {'data': 
{'code': 20}, 'ok': False}

Original comment by zipfs...@gmail.com on 1 Jul 2010 at 4:23

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I'm having what appears to be a similar problem.  Text messages work fine, but 
the call function does not work.  

Mac OS X 10.5.3
Python 2.7

  File "testcall.py", line 10, in <module>
    voice.call(outgoingNumber, forwardingNumber)
  File "build/bdist.macosx-10.3-fat/egg/googlevoice/voice.py", line 106, in call
  File "build/bdist.macosx-10.3-fat/egg/googlevoice/voice.py", line 210, in __validate_special_page
  File "build/bdist.macosx-10.3-fat/egg/googlevoice/util.py", line 65, in load_and_validate
  File "build/bdist.macosx-10.3-fat/egg/googlevoice/util.py", line 59, in validate_response
googlevoice.util.ValidationError: There was a problem with GV: {u'data': 
{u'code': 20}, u'ok': False}

Original comment by georgemo...@gmail.com on 13 Apr 2011 at 3:04

GoogleCodeExporter commented 8 years ago
Ya. Same exact issue here. ubuntu 11.04 64 bit.

Original comment by aush...@gmail.com on 19 Aug 2011 at 4:58

GoogleCodeExporter commented 8 years ago
Any resolution to this? Running Ubuntu 10.04 with python 2.6. Used easy_install 
to add the pygooglevoice module.

Original comment by kurtfage...@gmail.com on 5 Oct 2011 at 8:23

GoogleCodeExporter commented 8 years ago
I get the same result for calls and sms. Is there something I need to do from 
my Google Dashboard or Voice page? It seems dead simple... I don't see anything 
there about validating numbers. 

Original comment by jeanmark...@gmail.com on 20 Mar 2012 at 4:46

GoogleCodeExporter commented 8 years ago
Also having the same issues, any body have any idea?

Original comment by michaelu...@gmail.com on 8 May 2012 at 10:57

GoogleCodeExporter commented 8 years ago
I have the same problem with "gvoice", i face the following error:
;>>>>>>start
[root@test ~]# gvoice
Traceback (most recent call last):
  File "/usr/bin/gvoice", line 5, in ?
    from googlevoice.voice import Voice
  File "build/bdist.linux-i686/egg/googlevoice/__init__.py", line 17, in ?
  File "build/bdist.linux-i686/egg/googlevoice/voice.py", line 2, in ?
  File "build/bdist.linux-i686/egg/googlevoice/util.py", line 22, in ?
  File "/usr/lib/python2.4/site-packages/simplejson-2.6.0-py2.4.egg/simplejson/__init__.py", line 112, in ?
    from encoder import JSONEncoder
  File "/usr/lib/python2.4/site-packages/simplejson-2.6.0-py2.4.egg/simplejson/encoder.py", line 400
    if (not _bigint_as_string or
     ^
SyntaxError: invalid syntax
;>>>>>>end

i uses Asterisk PBX on Centos5.

Original comment by gulfsipv...@gmail.com on 17 Jul 2012 at 8:47