It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Hello, new to gogrepo.py script here (a great tool by the way!) I have run the "update" command successfully and the manifest file was created just fine. Then I tried to download a game (via the "download -id gametitle" command) and while the download worked as expected, I noticed something that might be a bug concerning filenames that contain parentheses characters. It seems that in the destination filename the characters '(' and ')' are replaced by "%28" and "%29" respectively. As an example, I downloaded System Shock 2 and noticed the "weird" filename so I compared it to the one downloaded directly from GOG. The file downloaded by gogrepo was named "setup_system_shock_2_2.46_update_%2818248%29.exe", while the one directly from GOG is "setup_system_shock_2_2.46_update_(18248).exe". I went a bit further and checked the gogrepo manifest file in an editor and I found out that all game files are written in the same manner there as well (with the "%28" and "%29"). So, is this a known bug (is it a bug at all)? Sorry for the long post and 2x sorry if the same question was ever asked previously.
avatar
Panaias: bug
You're probably using the old build, try this one:
https://github.com/Kalanyr/gogrepo

avatar
Kalanyr: [..]
Maybe you should open a new thread about gogrepo, with the correct links in the OP.
Post edited February 04, 2018 by phaolo
avatar
Starkrun: Last commit was from Aug 26th I've been following since then and noticed you've done a lot of work on it...
Will we see an update coming soon with a few of the tweaks you've talked about?

edit: ok its only been 3 months, I cant math. Sidenote i also never knew powershell had tee... That is going fundamentally change my life at work ^_^
avatar
woolymethodman: I hope by the end of the month I will finish up and push some changes out. I am totally swamped and don't even have time to game right now :(

Is there any specific feature you're interested in the most?
Maybe i should learn python to help. We could also use a good method to figure out which branch we're using.

Right now i'm finding that for some reason, tangledeep's OST is not loading. Makes me wonder what other files i might also be missing.
avatar
paladin181: Got a few weird errors in my latest full update. Don't know if they're normal but I've never seen them before.

snip
avatar
paladin181:
I'm logging errors that were previously suppressed more aggressively to see if it helps track down the incomplete downloads that were happening. I think I've significantly reduced their rate too.

The retry type errors are normal.

The massive traceback snarl is someone derping in a module, there's an SSL validation error in the module too that sometimes kills connections too. Not much I can do about it at the moment. I thought I was catching that snarl properly as of the last build though. Other than remind people to keep their installs up to date and make use of pip update and hope it gets fixed upstream.
Post edited February 05, 2018 by Kalanyr
So here is a bit of feedback:

Yesterday I finally switched from original to Kalanyr gogrepo, deleted my manifest and ran a full update using same parameters as before. Started around 10 pm, took 2 hours 10 minutes for 1455 games!
That is quite an improvement, before this amount of games took usually more than 5 hours.

A few games seemed to have problems, some URLs to the CDN server with some weird long base64-looking parameter were unsuccessful with a "will not retry".
But apart from that looks really great. While I did not use it, really appreciate the manifest resume functionality, and the automatic log file is a nice idea as well. Kudos!
Trying to download over existing library next.

/EDIT: also the 1455 were updated nonstop, apparently no block by the server (if that is still maybe an issue, i did not read the thread too closely).
Post edited February 05, 2018 by loki1985
avatar
Panaias: bug
avatar
phaolo: You're probably using the old build, try this one:
https://github.com/Kalanyr/gogrepo
Thanks a lot phaolo, that was the issue. Downloaded the new branch & everything worked great. Also, the "update" process executes a lot faster than before.
avatar
paladin181: Make sure your login ID is your email address, not your user name.
avatar
Revan67: Yea I don't get either of those messages, just says login failed check user id and password
avatar
paladin181:
Tried it again this morning and it worked, and yes I am using the user id but i tried both thanks for helping though
Post edited February 05, 2018 by Revan67
avatar
Revan67: Tried it again this morning and it worked, and yes I am using the user id but i tried both thanks for helping though
Have you tried:

Get latest version of my fork

1) Rename gog-cookies.dat
2) Log into GOG in Firefox
3) Use a plugin to export Firefox cookies as cookies.txt
4) Place cookies.txt in same folder as gogrepo.py
5) Do NOT use gogrepo login
6) go straight to gogrepo update

(This is a little different to the version in the readme since that was destructive of the cookies.txt if it didn't pass properly)
Post edited February 06, 2018 by Kalanyr
avatar
Revan67: Tried it again this morning and it worked, and yes I am using the user id but i tried both thanks for helping though
avatar
Kalanyr: Have you tried:

Get latest version of my fork

1) Rename gog-cookies.dat
2) Log into GOG in Firefox
3) Use a plugin to export Firefox cookies as cookies.txt
4) Place cookies.txt in same folder as gogrepo.py
5) Do NOT use gogrepo login
6) go straight to gogrepo update

(This is a little different to the version in the readme since that was destructive of the cookies.txt if it didn't pass properly)
I did not try any of that, but if it happens again I will try that
Seems I have another issue but based on the error it seems to be a python error, doesn't seem to be a showstopper just a slightly annoying error

IOError: [Errno 22] Invalid argument
Logged from file gogrepo.py, line 1297
08:16:46 | 69.2MB 0.3MB/s 1x episode_4_blackwell_deception/setup_blackwell_deception_2.1.0.13.exe
Traceback (most recent call last):
File "C:\Python27\lib\logging\__init__.py", line 885, in emit
self.flush()
File "C:\Python27\lib\logging\__init__.py", line 845, in flush
self.stream.flush()
IOError: [Errno 22] Invalid argument
Logged from file gogrepo.py, line 1295
08:16:46 | 1695.0MB 0.3MB/s 1x riven_the_sequel_to_myst/setup_riven_-_the_sequel_to_myst_1.2_svm_(17221)-1.bin
Traceback (most recent call last):
File "C:\Python27\lib\logging\__init__.py", line 885, in emit
self.flush()
File "C:\Python27\lib\logging\__init__.py", line 845, in flush
self.stream.flush()
IOError: [Errno 22] Invalid argument
Logged from file gogrepo.py, line 1295
08:16:46 | 79.67GB remaining
Traceback (most recent call last):
File "C:\Python27\lib\logging\__init__.py", line 885, in emit
self.flush()
File "C:\Python27\lib\logging\__init__.py", line 845, in flush
self.stream.flush()
IOError: [Errno 22] Invalid argument
Logged from file gogrepo.py, line 1297
Post edited February 06, 2018 by Revan67
avatar
Kalanyr: Have you tried:

Get latest version of my fork

1) Rename gog-cookies.dat
2) Log into GOG in Firefox
3) Use a plugin to export Firefox cookies as cookies.txt
4) Place cookies.txt in same folder as gogrepo.py
5) Do NOT use gogrepo login
6) go straight to gogrepo update

(This is a little different to the version in the readme since that was destructive of the cookies.txt if it didn't pass properly)
avatar
Revan67: I did not try any of that, but if it happens again I will try that
Seems I have another issue but based on the error it seems to be a python error, doesn't seem to be a showstopper just a slightly annoying error

IOError: [Errno 22] Invalid argument
Logged from file gogrepo.py, line 1297
08:16:46 | 69.2MB 0.3MB/s 1x episode_4_blackwell_deception/setup_blackwell_deception_2.1.0.13.exe
Traceback (most recent call last):
File "C:\Python27\lib\logging\__init__.py", line 885, in emit
self.flush()
File "C:\Python27\lib\logging\__init__.py", line 845, in flush
self.stream.flush()
IOError: [Errno 22] Invalid argument
Logged from file gogrepo.py, line 1295
08:16:46 | 1695.0MB 0.3MB/s 1x riven_the_sequel_to_myst/setup_riven_-_the_sequel_to_myst_1.2_svm_(17221)-1.bin
Traceback (most recent call last):
File "C:\Python27\lib\logging\__init__.py", line 885, in emit
self.flush()
File "C:\Python27\lib\logging\__init__.py", line 845, in flush
self.stream.flush()
IOError: [Errno 22] Invalid argument
Logged from file gogrepo.py, line 1295
08:16:46 | 79.67GB remaining
Traceback (most recent call last):
File "C:\Python27\lib\logging\__init__.py", line 885, in emit
self.flush()
File "C:\Python27\lib\logging\__init__.py", line 845, in flush
self.stream.flush()
IOError: [Errno 22] Invalid argument
Logged from file gogrepo.py, line 1297
That's an error in the logging function, it's saying there's an Invalid argument provided involving the logging and it can't write to something (the screen or the log file) for some reason. Did you change the name of the logging file or is there some reason that it wouldn't be able to write to the log file ?

(Also which version of gorepo are you using ? I just checked my local one but since it's my dev copy the numbers aren't matching, so I can't see what exactly it's having a problem logging. I'll compare to the repository if you let me know which build)
avatar
Kalanyr: That's an error in the logging function, it's saying there's an Invalid argument provided involving the logging and it can't write to something (the screen or the log file) for some reason. Did you change the name of the logging file or is there some reason that it wouldn't be able to write to the log file ?

(Also which version of gorepo are you using ? I just checked my local one but since it's my dev copy the numbers aren't matching, so I can't see what exactly it's having a problem logging. I'll compare to the repository if you let me know which build)
I am running the version from here https://github.com/Kalanyr/gogrepo/tree/working2 and no i have not changed anything. I don't mess with python I don't know it enough yet. The only build version I see is inside the gogrepo.py file 0.3a

Edit: looking at it now, that seems to be an old branch or something? Not the main file. *facepalm*
Post edited February 06, 2018 by Revan67
avatar
Kalanyr: That's an error in the logging function, it's saying there's an Invalid argument provided involving the logging and it can't write to something (the screen or the log file) for some reason. Did you change the name of the logging file or is there some reason that it wouldn't be able to write to the log file ?

(Also which version of gorepo are you using ? I just checked my local one but since it's my dev copy the numbers aren't matching, so I can't see what exactly it's having a problem logging. I'll compare to the repository if you let me know which build)
avatar
Revan67: I am running the version from here https://github.com/Kalanyr/gogrepo/tree/working2 and no i have not changed anything. I don't mess with python I don't know it enough yet. The only build version I see is inside the gogrepo.py file 0.3a
Ah, I've moved the active build over to here now : https://github.com/Kalanyr/gogrepo/tree/master

(I sort of decided my fork has drifted so far there's no point in keeping a master pointed at eddie's build)

Let me know if that error still occurs with the newer build (it appears to be taking umbridge with the download progress updates but I haven't had that problem ever).
avatar
Kalanyr: Ah, I've moved the active build over to here now : https://github.com/Kalanyr/gogrepo/tree/master

(I sort of decided my fork has drifted so far there's no point in keeping a master pointed at eddie's build)

Let me know if that error still occurs with the newer build (it appears to be taking umbridge with the download progress updates but I haven't had that problem ever).
OK so I downloaded the recent one and now i get the following, clearly the universe hates me today:

U:\gogrepo>gogrepo.py update -os windows linux -lang en
Traceback (most recent call last):
File "U:\gogrepo\gogrepo.py", line 40, in <module>
import requests
ImportError: No module named requests
Try this command: pip install requests
avatar
solar_dome: Try this command: pip install requests
That did it, also had to install pyOpenSSL, might need to add those to the instructions now :D


Edit: Still getting the log errors but like i said earlier thats just an annoyance


IOError: [Errno 22] Invalid argument
Logged from file gogrepo.py, line 1831
13:31:33 | 74.80GB remaining
Traceback (most recent call last):
File "C:\Python27\lib\logging\__init__.py", line 885, in emit
self.flush()
File "C:\Python27\lib\logging\__init__.py", line 845, in flush
self.stream.flush()
IOError: [Errno 22] Invalid argument
Logged from file gogrepo.py, line 1833
13:31:34 | 1776.0MB 1.1MB/s 1x soma/setup_soma_1.500_ru_language_hotfix_(16881)-2.bin
Traceback (most recent call last):
File "C:\Python27\lib\logging\__init__.py", line 885, in emit
self.flush()
File "C:\Python27\lib\logging\__init__.py", line 845, in flush
self.stream.flush()
IOError: [Errno 22] Invalid argument
Logged from file gogrepo.py, line 1831
13:31:34 | 74.80GB remaining
Traceback (most recent call last):
File "C:\Python27\lib\logging\__init__.py", line 885, in emit
self.flush()
File "C:\Python27\lib\logging\__init__.py", line 845, in flush
self.stream.flush()
IOError: [Errno 22] Invalid argument
Logged from file gogrepo.py, line 1833
Post edited February 06, 2018 by Revan67