bertok / pygooglevoice

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

pygooglevoice crashes when called from CLI #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.gvoice -e ???@gmail.com -p ???? call ?????? ??????
3.

What is the expected output? What do you see instead?

Traceback (most recent call last):                                        

  File "/usr/bin/gvoice", line 125, in ?                                  

    getattr(voice,action)(*args)                                          

  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 192,
in __validate_special_page                                                

    load_and_validate(self.__do_special_page(page, data))                 

  File "/usr/lib/python2.4/site-packages/googlevoice/voice.py", line 205,
in __do_special_page                                                      

    return self.__do_page(page, data, headers)                            

  File "/usr/lib/python2.4/site-packages/googlevoice/voice.py", line 185,
in __do_page                                                              

    return urlopen(Request(getattr(settings, page), data, headers))       

  File "/usr/lib/python2.4/urllib2.py", line 130, in urlopen              

    return _opener.open(url, data)                                        

  File "/usr/lib/python2.4/urllib2.py", line 364, in open                 

    response = meth(req, response)                                        

  File "/usr/lib/python2.4/urllib2.py", line 471, in http_response        

    response = self.parent.error(                                         

  File "/usr/lib/python2.4/urllib2.py", line 402, in error                

    return self._call_chain(*args)                                        

  File "/usr/lib/python2.4/urllib2.py", line 337, in _call_chain          

    result = func(*args)                                                  

  File "/usr/lib/python2.4/urllib2.py", line 480, in http_error_default   

    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)              

urllib2.HTTPError: HTTP Error 500: Internal Server Error                  

Logging out of voice...                                                   

[tnk.dnsalias.com ~]# /usr/bin/gvoice -e tnk2gvoice@gmail.com -p 3apa3a23
call 6086160309 4156390501                                                

Traceback (most recent call last):                                        

  File "/usr/bin/gvoice", line 125, in ?                                  

    getattr(voice,action)(*args)                                          

  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 192,
in __validate_special_page
    load_and_validate(self.__do_special_page(page, data))
  File "/usr/lib/python2.4/site-packages/googlevoice/voice.py", line 205,
in __do_special_page
    return self.__do_page(page, data, headers)
  File "/usr/lib/python2.4/site-packages/googlevoice/voice.py", line 185,
in __do_page
    return urlopen(Request(getattr(settings, page), data, headers))
  File "/usr/lib/python2.4/urllib2.py", line 130, in urlopen
    return _opener.open(url, data)
  File "/usr/lib/python2.4/urllib2.py", line 364, in open
    response = meth(req, response)
  File "/usr/lib/python2.4/urllib2.py", line 471, in http_response
    response = self.parent.error(
  File "/usr/lib/python2.4/urllib2.py", line 402, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.4/urllib2.py", line 337, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.4/urllib2.py", line 480, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 500: Internal Server Error
Logging out of voice...

What version of the product are you using? On what operating system?

pygooglevoice from mercurial current as of 09/30/09 on Trixbox v. 2.8.0.1

Please provide any additional information below.

seems to be the same issue as reported by seandarcy2 earlier today

New issue with Google API?

Original issue reported on code.google.com by annal...@yahoo.com on 18 Nov 2009 at 12:21

GoogleCodeExporter commented 9 years ago
GV Account password changed to protect the innocent :)

Original comment by mrie...@gmail.com on 18 Nov 2009 at 3:53

GoogleCodeExporter commented 9 years ago
Thanks!

Original comment by annal...@yahoo.com on 18 Nov 2009 at 4:01

GoogleCodeExporter commented 9 years ago
how to solve this problem?

Original comment by ahy...@gmail.com on 18 Nov 2009 at 9:05

GoogleCodeExporter commented 9 years ago

Original comment by justquick on 19 Nov 2009 at 5:34