Kalanyr: Hmmmm. Your error should definitely be different. I rewrote that code segment. Could you provide the current error dump. It probably does look very similar
User the master branch, this is what I get with the "gogrepo.py login":
02:13:59 | attempting gog login as '<username>' ...
02:14:01 | fatal...
Traceback (most recent call last):
File "I:\GAMES\GOG\gogrepo.py", line 2342, in <module>
main(process_argv(sys.argv))
File "I:\GAMES\GOG\gogrepo.py", line 2236, in main
cmd_login(args.username, args.password)
File "I:\GAMES\GOG\gogrepo.py", line 946, in cmd_login
with request(login_data['auth_url'], delay=0) as page:
File "I:\GAMES\GOG\gogrepo.py", line 235, in request
page = opener.open(req)
File "C:\Python27\lib\urllib2.py", line 421, in open
protocol = req.get_type()
File "C:\Python27\lib\urllib2.py", line 283, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: undefined