asifiqbal / pygooglevoice

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

Login doesn't work anymore. #80

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Your hack of a regex isn't working anymore

I had to modify it: voice.py:75,

galx = re.search(r'name="GALX".*?value="([^"]+)"', content, 
re.MULTILINE|re.DOTALL).group(1)

This isn't much better, but it works, for now. 

Original issue reported on code.google.com by m...@realrunners.com on 12 Jan 2014 at 6:42

GoogleCodeExporter commented 8 years ago
The fix suggested here isn't working for me. Upon use of my correct 
username/password, a googlevoice.util.LoginError is raised. It is hard for me 
to work on a better answer without understanding this GALX business.

Original comment by borb...@gmail.com on 14 Mar 2014 at 4:39

GoogleCodeExporter commented 8 years ago
I have the same issue. I don't know how this system works, though.

Original comment by stevensh...@gmail.com on 3 Apr 2014 at 8:39

GoogleCodeExporter commented 8 years ago
I used this and it works

galx = re.search(r"name=\"GALX\"\s+type=\"hidden\"\s+value=\"([^\"]+)\"", 
content, re.MULTILINE|re.DOTALL).group(1)

Original comment by drmesmi...@gmail.com on 11 Apr 2014 at 2:29

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
i can't seem to login, just keep getting login failed, drmesm, have tried your 
last update for galx line 75 as well.

g3naro@rook:~$ gvoice 
Email address: hash.tag@gmail.com
Password: 
Login failed. Retry?[Y/n] 

Original comment by samad.o...@gmail.com on 8 Sep 2014 at 9:37

GoogleCodeExporter commented 8 years ago
LOGIN = 'https://accounts.google.com/ServiceLogin?service=grandcentral'

ive even tried using this in the setup.py file

Original comment by samad.o...@gmail.com on 8 Sep 2014 at 9:46

GoogleCodeExporter commented 8 years ago
I am unable to instantiate a login.

Password: 
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 "/Library/Python/2.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'

Original comment by bmmcwh...@gmail.com on 19 Nov 2014 at 5:10

GoogleCodeExporter commented 8 years ago
Making the above change I get the same issue as samad....

Original comment by bmmcwh...@gmail.com on 19 Nov 2014 at 5:15