cycloneTiger / pygooglevoice

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

error sending text #77

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.using sms example found in https://github.com/pettazz/pygooglevoice
using python 2.7.5 after installing the package

from googlevoice import Voice
from googlevoice.util import input

voice = Voice()
voice.login('my_ID', 'my_password')

phoneNumber = input('my_number')
text = input('hello')

voice.send_sms(phoneNumber, text)

I will get an error
Traceback (most recent call last):
  File "C:\pygooglevoice\examples\sms.py", line 5, in <module>
    voice.login('nycparksandrecreation', 'chunji01')
  File "C:\Python27\lib\site-packages\googlevoice\voice.py", line 75, in login
    galx = re.search(r"name=\"GALX\"\s+value=\"([^\"]+)\"", content).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

with no text sent to my phone.
I'm not very good at Python and was wondering if anyone could help me
Thank you

Original issue reported on code.google.com by nycparks...@gmail.com on 29 Oct 2013 at 2:09

GoogleCodeExporter commented 9 years ago
Issue 76 handles the problem
sorry about repost!

Original comment by nycparks...@gmail.com on 29 Oct 2013 at 2:13