pygooglevoice icon indicating copy to clipboard operation
pygooglevoice copied to clipboard

Can't login no matter what.

Open dzimbeck opened this issue 8 years ago • 14 comments

File "C:\Python27\lib\site-packages\googlevoice\voice.py", line 97, in login raise LoginError LoginError

Thats the error, then I get emails to my gmail saying a suspicious login was detected.

However, I have done the unlock captcha. I've set "allow less secure apps" I've used other libraries to login with Python (such as IMAP) no problem I've even logged in manually.

This package used to work, now it doesn't google breaks it again. Doesn't matter which gmail I use.

dzimbeck avatar Feb 09 '17 23:02 dzimbeck

I am seeing the same thing. My automated scripts no longer work.

caboose1129 avatar Feb 10 '17 21:02 caboose1129

Google updated the google voice website. It used to be https://www.google.com/voice/b/0/, but now its https://google.voice.com/u/0/.

I tried updating this on the settings code, but still didn't work. I assumed they changed the login process for it as well (or maybe I changed it incorrectly...). Anyways, this "major" update was posted for most people over the last week. I posted on the voice forum earlier toady, and hope that I hear from someone soon. (It broke a lot of my scripts and my AI program).

I got a response back from someone saying that it "was the wrong place to post." Hopefully this will be fixed soon...

LukeCLindgren avatar Feb 14 '17 21:02 LukeCLindgren

I am seeing this error as well.

danest avatar Feb 20 '17 20:02 danest

Has anyone found a resolution to this issue yet? I am curious as well.

bjfletc avatar Feb 21 '17 20:02 bjfletc

I've been tinkering a bit with it, and think I've made some rough proof-of-concept progress, but no where near a fixed/working version yet.

See my comments here: http://stackoverflow.com/questions/42097689/pygoogle-voice-not-logging-in

numericOverflow avatar Feb 23 '17 16:02 numericOverflow

Is the logon issue still not fixed? I'm having trouble figuring out the status of this. Is there a manual fix available?

woodyl avatar May 21 '17 19:05 woodyl

It should've been fixed after discussion on #27 with PR #37 and was merged into current master version. Did you try it?

chris001 avatar May 21 '17 21:05 chris001

@woodyl @numericOverflow @bjfletc @danest @LukeCLindgren @caboose1129 @dzimbeck I found a Login crash today. I spent the last four hours hacking at it. I fixed it with #40. @pettazz Could you take a look and try it out please.

chris001 avatar May 22 '17 05:05 chris001

Chris, thanks for your hard work. I'll try out the fix when I get a chance.

woodyl avatar May 22 '17 13:05 woodyl

@pettazz Nick, could you please merge the PR #40 Users are trying to run the current master version, which has been crashing the past few days. See here: https://pbxinaflash.com/community/threads/sms-with-google-voice-is-dead-again.19717/page-2#post-130699

chris001 avatar May 25 '17 00:05 chris001

I can't login even using #40

Geremia avatar Jun 06 '17 21:06 Geremia

Hi @Geremia Using #40 right now, login is working here. What's the full text of your error message?

@woodyl Any chance yet to try #40.

chris001 avatar Jun 06 '17 23:06 chris001

@chris001 Here's the output (email address changed to preserve my identity):

$ gvoice
DEBUG:PyGoogleVoice:e.com/ServiceLogin?continue=https://www.google.com/voice&rip=1&nojavascript=1&followup=https://www.google.com/voice&service=grandcentral&ltmpl=open&flowName=GlifWebSignIn&flowEntry=Identifier? - {'Content-type': 'application/x-www-form-urlencoded;charset=utf-8', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36'}
DEBUG:PyGoogleVoice:e.com/signin/challenge/sl/password?service=grandcentral&continue=https://www.google.com/voice/redirection/voice&followup=https://www.google.com/voice&ltmpl=open?Passwd=thdhcvozwixhajhc&gxf=AFoagUW1t6SRtgwASz5_kFsfbXI4q_iPcA%3A1496856471083&GALX=R6lgnq15e34&Email=myemail%40gmail.com - {'Content-type': 'application/x-www-form-urlencoded;charset=utf-8', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36'}
Login failed. Retry?[Y/n] 

I used an app password generated by Google.

Anything other logs I can report?

Geremia avatar Jun 07 '17 17:06 Geremia

@Geremia Replied on #40

chris001 avatar Jun 09 '17 00:06 chris001