I cant get this script to run via the web browser......
root@pbx:/ $ usr/bin/gvoice -e [email protected] -p xxxxxx snd_sms 123456789 testing
Traceback (most recent call last):
File "usr/bin/gvoice", line 129, in ?
getattr(voice,action)(*args)
AttributeError: 'Voice' object has no attribute 'snd_sms'
Logging out of voice...
Having a problem with this and I am not sure what direction to head. Web interface and cmd line both fail. Here is the output of the cmd line (#,PW and UN redacted). Any ideas?
Code:root@pbx:/ $ usr/bin/gvoice -e [email protected] -p xxxxxx snd_sms 123456789 testing Traceback (most recent call last): File "usr/bin/gvoice", line 129, in ? getattr(voice,action)(*args) AttributeError: 'Voice' object has no attribute 'snd_sms' Logging out of voice...
Did you install the script acording to the first post? try reinstalling with the instructions in the first post, and make sure you're editing the index.php file locally on your server, not in windows and uploading.
Installed exactly as the first post indicated.
Could you do me a favor? Can you tell me the size of the gvoice file in /usr/bin ?
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 140, in send_sms
self.__validate_special_page('sms', {'phoneNumber': phoneNumber, 'text': text})
File "/usr/lib/python2.4/site-packages/googlevoice/voice.py", line 210, in __validate_special_page
load_and_validate(self.__do_special_page(page, data))
File "/usr/lib/python2.4/site-packages/googlevoice/voice.py", line 223, in __do_special_page
return self.__do_page(page, data, headers)
File "/usr/lib/python2.4/site-packages/googlevoice/voice.py", line 203, 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...
Since Google changed the IP address and/or port number, would/could that have broken the "gvoice" command? I noticed my GVSMS application won't send messages now either.
I modified the LOGIN in settings.py, it works for me.
LOGIN = 'https://accounts.google.com/ServiceLogin?service=grandcentral&continue=https://www.google.com/voice'
there're 3 settings.py , I modified all of them.
/root/pygooglevoice-0.5/build/lib/googlevoice/settings.py
/root/pygooglevoice-0.5/googlevoice/settings.py
/usr/lib/python2.4/site-packages/googlevoice/settings.py
I modified the LOGIN in settings.py, it works for me.
LOGIN = 'https://accounts.google.com/ServiceLogin?service=grandcentral&continue=https://www.google.com/voice'
there're 3 settings.py , I modified all of them.
/root/pygooglevoice-0.5/build/lib/googlevoice/settings.py
/root/pygooglevoice-0.5/googlevoice/settings.py
/usr/lib/python2.4/site-packages/googlevoice/settings.py
Link up your team and customers Phone System Live Chat Video Conferencing
Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.
Check your inbox!
We’ve sent you an email. Click on the button in the email body to verify your email address – (if you can not find it, check your spam folder).
Upon verification you will be directed to the 3CX setup wizard.