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

×
avatar
paladin181: I run GOGRepo with the following command (that worked on the script this morning and I get a brief flash of the command window (I run from a bat file) and no log output (I output my own log as per the command).
Edit to Add the command:

@echo off
"E:\python36\python.exe" "G:\Files\GoGRepo\gogrepo.py" update -os windows -lang en -installers standalone -nolog >"G:\Files\GoGRepo\Logs\Update Clean\GoGRepo_Update_CLEAN_Log_%date:~10%%date:~4,2%%date:~7,2%.txt"
exit

Removing echo off and -nolog does not change anything, I get no response or any log file to show me what the problem is.
avatar
Kalanyr: Yes. Preallocation required some additional structural changes that meant making it optional was more trouble than it was worth.

ETA - If you get messages about Preallocation failing, I'd like to hear about your OS and it's version, as well as the file system of the drive you're using it on.
avatar
paladin181:
Are you using the version from my repository ? https://github.com/Kalanyr/gogrepo
I just tried using py -3 and those parameters and it works. At a glance it looks like you're using the original build which can fall through the argparse if the options don't match on python 3 and those arguments wouldn't match it.

I should probably fix that fall through on my fork now that I think about it.

ETA2 - You're not getting a message about failed to load cookies , did you login ?

ETA3 - Otherwise I got nothing. I just launched it from the root my F:\ drive using the manual path of Python3 on my C:\ drive, in a separate folder on my F:\ drive (F:\test) and it worked. You'll have to give me some more detail on what you're trying for manual troubleshooting if you are using my fork.

ETA4 - Is anyone else having the same issues as paladin181 ?
Post edited December 03, 2017 by Kalanyr
avatar
Kalanyr: Are you using the version from my repository ? https://github.com/Kalanyr/gogrepo
I just tried using py -3 and those parameters and it works. At a glance it looks like you're using the original build which can fall through the argparse if the options don't match on python 3 and those arguments wouldn't match it.

I should probably fix that fall through on my fork now that I think about it.

ETA2 - You're not getting a message about failed to load cookies , did you login ?
I tested the previous version of your script (the one that's about 2 weeks old) that I was using yesterday, and it works perfectly, with or without an existing manifest. When I sub into your new script, I get a quick turn on and exit. I may run the script manually with those arguments and see if anything kicks out when I do so. The problem is definitely something introduced in the new script.

It isn't a cookie problem, I have not needed to relog no matter which version I plug in, and even if I do, I get an error in the logs. This is acting like the script is invalid. I will also try re-copying the script.

For the record, I am on Windows 10 creators update.

Which arguments are legacy in my command string? I can change it if you think it will help.

EDIT: When running manually I get this error :
Traceback (most recent call last):
File "G:\Files\GOGRepo\gogrepo.py", line 39, in <module>
import requests
ModuleNotFoundError: No module named 'requests'

EDIT: Installing the requests module fixed the issue.

EDIT: And HOLY HELL my time has gone down from 1 hour 20 minutes to just 25 minutes to run a full clean update of the manifest!!
Post edited December 03, 2017 by paladin181
Kalanyr

I just tested the new gogrepo and everything appears to be working.
A full update of the manifest has gone from just over 40Mins to 14Mins.
The verify of existing items also appears to be working well.

Thanks for the update.
I need to try this later today, to see if the full update has really reduced from "over the night" to a few hours. (for 1408 games).

What is the exact command to install the requests module?
avatar
timppu: What is the exact command to install the requests module?
"pip install requests" did the trick for me. Now to finish current round of verifying and update the script.
Thanks. Running update now, yes it it progressing much faster than before. :) Already at game 100 (out of 1408) as I am writing this. I am wondering if this takes less than an hour, even? Quite a massive improvement, thanks.
I just made another update, this one adds "resume" support to verify (actually it just saves the manifest after every game if prev_verified has changed on any item). And makes it significantly harder to interrupt save_manifest / save_resume_manifest since the chances of sending a break while it's writing go up significantly with the extra saves for resume.

I've also added gogrepoawake.py which is a tiny wrapper script for Windows , that should allow you to use GOG repo when using balance / power save plans without the computer sleeping / hibernating unnecessarily You may need to tinker around with replacing ES_SYSTEM_REQUIRED with ES_DISPLAY_REQUIRED or ES_SYSTEM_REQUIRED | ES_DISPLAY_REQUIRED , depending on what version/build of Windows you're on Microsoft has been utterly terrible with having a consistent effect over the past 2 years (if you're on the latest Windows 10 build though , the one I uploaded should work).


ATTENTION!!!!!! -
Just fixed a major derp in the above update I recommend redownloading now, otherwise the interrupt protection will catastrophically wreck your manifest file if you interrupt it during an update.
Post edited December 03, 2017 by Kalanyr
I think adding download resume supoprt is easier than I'd thought, so I'll try and knock that out tommorrow.

avatar
timppu: Thanks. Running update now, yes it it progressing much faster than before. :) Already at game 100 (out of 1408) as I am writing this. I am wondering if this takes less than an hour, even? Quite a massive improvement, thanks.
You're collection seems about the same size as mine, so probably 1.5 - 2 hours.
avatar
timppu: I need to try this later today, to see if the full update has really reduced from "over the night" to a few hours. (for 1408 games).

What is the exact command to install the requests module?
I navigated to my python folder (E:\Python36) in the command prompt and input
pip3.6 install requests

That did the trick for me. If you don't have multiple versions of python, JMich's post should work.
avatar
timppu: I need to try this later today, to see if the full update has really reduced from "over the night" to a few hours. (for 1408 games).

What is the exact command to install the requests module?
avatar
paladin181: I navigated to my python folder (E:\Python36) in the command prompt and input
pip3.6 install requests

That did the trick for me. If you don't have multiple versions of python, JMich's post should work.
On Windows: If you just maintain the latest versions of 2 / 3 then pip2 will update 2 , pip3 will update 3 and pip will update whichever one you've got set as your system default python

(assuming you're path is setup correctly of course)
Not sure if this is python3 only or not but if you run
pip list --outdated
pip install -U "outdatedpackagename"
it checks your installed modules to see if there are newer versions always a good idea to keep stuff up to date.

Just to add another way to run pip you can do
python -m pip install requests
Post edited December 03, 2017 by Cusith
avatar
Cusith: Not sure if this is python3 only or not but if you run
pip list --outdated
pip install -U "outdatedpackagename"
it checks your installed modules to see if there are newer versions always a good idea to keep stuff up to date.

Just to add another way to run pip you can do
python -m pip install requests
It's a shame they still haven't added an update all pip installed modules command. It would make so many things so much easier.
avatar
Cusith: Not sure if this is python3 only or not but if you run
pip list --outdated
pip install -U "outdatedpackagename"
it checks your installed modules to see if there are newer versions always a good idea to keep stuff up to date.

Just to add another way to run pip you can do
python -m pip install requests
avatar
Kalanyr: It's a shame they still haven't added an update all pip installed modules command. It would make so many things so much easier.
It does seem kinda odd that they haven't done that, is it a sort of a "left as an exercise for the reader" type affair?
avatar
Kalanyr: You're collection seems about the same size as mine, so probably 1.5 - 2 hours.
It took me 1h 8min for 1408 games (only English Windows versions). Quite an improvement over what it used to be.
Post edited December 03, 2017 by timppu
obsolete message, problem fixed.
Post edited December 04, 2017 by timppu