SOLVED gvoice script attributeError

Joe Lones

Member
Joined
Feb 10, 2016
Messages
50
Reaction score
4
I seem to have a problem running the gvoice script on a new ubuntu 14.04 install.

Code:
gvoice -e [email protected] -p yyz send_sms xxxxxxxxxx "test"

Code:
Traceback (most recent call last):
  File "/usr/local/bin/gvoice", line 79, in <module>
    login()
  File "/usr/local/bin/gvoice", line 49, in login
    voice.login(options.email,options.passwd)
  File "/usr/local/lib/python2.7/dist-packages/googlevoice/voice.py", line 71, in login
    galx = re.search(r"name=\"GALX\" type=\"hidden\"\n *value=\"(.+)\"", content).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
 
Nvermind, this worked:

Code:
cd /root
rm -rf pygooglevoice
yum -y install python-setuptools python-simplejson
easy_install -U setuptools
easy_install simplejson
yum -y install mercurial gcc-c++ python-devel unzip python-pip python-pbr python-virtualenv
git clone https://github.com/wardmundy/pygooglevoice
cd pygooglevoice
python setup.py install
cp /root/pygooglevoice/bin/gvoice /usr/bin/.
 
There's been another patch:
Code:
cd /root
git clone https://github.com/wardmundy/pygooglevoice
cd pygooglevoice
python setup.py install
cp /root/pygooglevoice/bin/gvoice /usr/bin/.

Great minds think alike. :balloon:
 

Members online

No members online now.

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

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.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top