Skip to content

error sending text #77

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions