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

×
Hi, I've been able to successfully use for sometime gogrepo original version. At the time, I believe I was running Python 2 and was on Windows 7. Now, ever since I've been running W10, I can't seem to be able to make it work. I've read for days on hands on several differents occasions and I always end up facing some error and unfortunately, the error code doesnt not provide much help it itself.

I've been trying installing Python 2 AND / OR Python 3 (cause I've read over at some place that it cause no issues for some). Also, I've been trying to use both eddie3 and Kalanyr version of the script and still cannot successfully login to my account and update my backup.

My python version is as follow : Python 3.9.7 (default, Sep 22 2021, 08:12:47) [GCC 10.3.0 64 bit (AMD64)] on win32

Here is the error code that I encounter most often:


gogrepoc.py login {username} {password}

usage: gogrepoc.py [-h] [-v] {login,update,download,import,backup,verify,clean,trash} ...
gogrepoc.py: error: the following arguments are required: command


============================================================================================================== ==========================================

Other than that, I do believe that all requirements are installed:

λ pip3 install html5lib html2text
Requirement already satisfied: html5lib in c:\users\mc\appdata\local\programs\python\python310\lib\site-packages (1.1)
Requirement already satisfied: html2text in c:\users\mc\appdata\local\programs\python\python310\lib\site-packages (2020.1.16)
Requirement already satisfied: six>=1.9 in c:\users\mc\appdata\local\programs\python\python310\lib\site-packages (from html5lib) (1.16.0)
Requirement already satisfied: webencodings in c:\users\mc\appdata\local\programs\python\python310\lib\site-packages (from html5lib) (0.5.1)


pip3 install pyOpenSSL
Requirement already satisfied: pyOpenSSL in c:\users\mc\appdata\local\programs\python\python310\lib\site-packages (21.0.0)
Requirement already satisfied: cryptography>=3.3 in c:\users\mc\appdata\local\programs\python\python310\lib\site-packages (from pyOpenSSL) (36.0.1)
Requirement already satisfied: six>=1.5.2 in c:\users\mc\appdata\local\programs\python\python310\lib\site-packages (from pyOpenSSL) (1.16.0)
Requirement already satisfied: cffi>=1.12 in c:\users\mc\appdata\local\programs\python\python310\lib\site-packages (from cryptography>=3.3->pyOpenSSL) (1.15.0)
Requirement already satisfied: pycparser in c:\users\mc\appdata\local\programs\python\python310\lib\site-packages (from cffi>=1.12->cryptography>=3.3->pyOpenSSL) (2.21)


pip3 install requests
Requirement already satisfied: requests in c:\users\mc\appdata\local\programs\python\python310\lib\site-packages (2.27.1)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\mc\appdata\local\programs\python\python310\lib\site-packages (from requests) (1.26.8)
Requirement already satisfied: idna<4,>=2.5 in c:\users\mc\appdata\local\programs\python\python310\lib\site-packages (from requests) (3.3)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\mc\appdata\local\programs\python\python310\lib\site-packages (from requests) (2021.10.8)
Requirement already satisfied: charset-normalizer~=2.0.0 in c:\users\mc\appdata\local\programs\python\python310\lib\site-packages (from requests) (2.0.10)

============================================================================================================== ==========================================

Also, I tried removing my gog-cookies.dat and gog-manifest.dat to some other folder to have a fresh start. Basically all my library is stored in ...\GOG_library\ and the only folder other file apart from the downloaded game folders from before is the gogrepo / gogrepoc python's script.


Can somebody tell me how to get it to work ? Thanks a bunch in advance !
The thread you want is here:

https://www.gog.com/forum/general/gogrepopy_python_script_for_regularly_backing_up_your_purchased_gog_collection_for_full_offline_e
@OP - Have you run the option to get an updated cookie file? An up-to-date cookie file, as created by gogrepo.py, is required.

P.S. When I logged into GOG today I got a cookie query message, so it would appear GOG have changed something today.
In the meanwhile, I was able to get a fix from a friend. The issue came from using Python 3 apparently and doing so incorrectly.

by adding python3 before each command, I was able to login, have my manifest file updated and download the rest of my collection.

Thank you both for your help,
Best regards