Posted December 06, 2017
ElTerprise: Well I'm currently not able to use gogrepo (using Kalanyr's fork) as the reCaptcha prevents me from logging in. Unfortunately I forgot to save the cookie when I reinstalled Windows a few days ago.
I've tried several things:
- waiting and retrying later
- logging out and clearing all cookies in my browser to trigger the reCaptcha there
- disabling 2FA
No matter what I do, I get a the reCaptcha notification in gogrepo.
The old workaround with exporting cookies from the browser also fails with the following error:
13:13:48 | loading local manifest...
13:13:48 | fatal...
Traceback (most recent call last):
File "gogrepo.py", line 2286, in <module>
main(process_argv(sys.argv))
File "gogrepo.py", line 2198, in main
cmd_update(args.os, args.lang, args.skipknown, args.updateonly, args.ids, args.skipids,args.skiphidden,args.installers,args.resumemode,args.strictverify)
File "gogrepo.py", line 998, in cmd_update
updateSession = makeGOGSession()
File "gogrepo.py", line 981, in makeGOGSession
load_cookies()
File "gogrepo.py", line 302, in load_cookies
tmp_jar.load()
File "(...)\Python\Python36\lib\http\cookiejar.py", line 1784, in load
self._really_load(f, filename, ignore_discard, ignore_expires)
File "(...)\Python\Python36\lib\http\cookiejar.py", line 2004, in _really_load
if not self.magic_re.search(magic):
AttributeError: 'str' object has no attribute 'search'
ElTerprise: What am I doing wrong? Or am I just out of luck at the moment?
This is caused by a work around wooly did to allow loading the cookie unfortunately Python 3 changes what wa a string in Python 2 into a compiled regular expression. Gimme a bit and I'll give you a quick fix.I've tried several things:
- waiting and retrying later
- logging out and clearing all cookies in my browser to trigger the reCaptcha there
- disabling 2FA
No matter what I do, I get a the reCaptcha notification in gogrepo.
The old workaround with exporting cookies from the browser also fails with the following error:
13:13:48 | loading local manifest...
13:13:48 | fatal...
Traceback (most recent call last):
File "gogrepo.py", line 2286, in <module>
main(process_argv(sys.argv))
File "gogrepo.py", line 2198, in main
cmd_update(args.os, args.lang, args.skipknown, args.updateonly, args.ids, args.skipids,args.skiphidden,args.installers,args.resumemode,args.strictverify)
File "gogrepo.py", line 998, in cmd_update
updateSession = makeGOGSession()
File "gogrepo.py", line 981, in makeGOGSession
load_cookies()
File "gogrepo.py", line 302, in load_cookies
tmp_jar.load()
File "(...)\Python\Python36\lib\http\cookiejar.py", line 1784, in load
self._really_load(f, filename, ignore_discard, ignore_expires)
File "(...)\Python\Python36\lib\http\cookiejar.py", line 2004, in _really_load
if not self.magic_re.search(magic):
AttributeError: 'str' object has no attribute 'search'