Open GoogleCodeExporter opened 8 years ago
google voice recently changed it's hosting service, it could be causing the
problem. We are going to need some people to update the library.
Original comment by trilobit...@gmail.com
on 18 May 2014 at 10:22
[deleted comment]
A similar error running under Raspbian:
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 70, in login
galx = re.search(r"name=\"GALX\"\s+value=\"(.+)\"", content).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
I'm looking at the offending module, but I don't know enough python to be
useful.
Original comment by l057...@gmail.com
on 3 Jun 2014 at 2:26
My issue appears to be how the voice.py module is parsing the phone number.
Hard-coding a number, for example 1234567890 or 11234567890 makes this error go
away. Google's recent API change still defeats me.
Another project, phpgooglevoice, still appears to work via Synology DSM4.3 or
passing via a browser, but command-line via CURL is broken as well now.
Original comment by l057...@gmail.com
on 3 Jun 2014 at 3:22
[deleted comment]
I am getting a similar error when tried to use voice.login method
File "<stdin>", line 1, in <module>
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/googlevoice/voice.py", line 70, in login
galx = re.search(r"name=\"GALX\"\s+value=\"(.+)\"", content).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
Please suggest me solution for this.
Original comment by prashant...@gmail.com
on 9 Jun 2014 at 7:11
Same issue.
Original comment by matrixmy...@gmail.com
on 21 Jun 2014 at 7:46
Fix to:
try:
galx = re.search(r"name=\"GALX\" type=\"hidden\"\n *value=\"(.+)\"", content).group(1)
except:
galx = ''.join(e for e in content if e.isalnum()) # Remove special characters (leaving only letters & numbers)
galx = galx[galx.index("GALX"):] # Grab everything from GALX forward
galx = galx[:galx.index("input")] # Truncate at input (first word after GALX value)
galx = galx[galx.index("value")+5:] # Extract GALX value
Original comment by darteag...@gmail.com
on 25 Jun 2014 at 4:53
Why don't you stop trying to automate google voice & start using twilio?
Original comment by s...@seanneilan.com
on 25 Jun 2014 at 3:08
GVoice = Free
Twilio = Not
Original comment by miles.co...@gmail.com
on 21 Jul 2014 at 3:43
And does Twilio work? Yes.
Does pygooglevoice work? No.
Original comment by sneil...@gmail.com
on 21 Jul 2014 at 3:44
Meh, we'll get it working again. Thanks for the Twilio reference, didn't know
it existed... but yeah, not willing to pony-up recurring fees (I'm sure most
people using pygv aren't either)
Original comment by miles.co...@gmail.com
on 21 Jul 2014 at 3:48
That would be really, really cool.
Original comment by sneil...@gmail.com
on 21 Jul 2014 at 4:19
Is this still working? I tried all posted fix but it didn't work. It looks like
the login URL is not working anymore..
Original comment by romelemp...@gmail.com
on 1 Aug 2014 at 5:20
Anyone have updates since July? Still getting the same error
Original comment by ce...@cesardiaz.me
on 2 Sep 2014 at 4:44
same here..any updates about this issue? I still got the error "Login failed".
Original comment by gua...@gmail.com
on 4 Sep 2014 at 4:59
Original issue reported on code.google.com by
Ryu...@gmail.com
on 5 Apr 2014 at 12:31