Revan67: Windows 10, Python version 2.7.14. Will try upgrading to 3
Edit: Running 3.6.4 now, everything seems fine now. Thanks!
Kalanyr: Hmmmm. I can't duplicate this on Python 2 either but I notice you have a russian version included there.
What languages / OSs did you have in the manifest (the update command at any point since the manifest file was created) and try to download (with the download command) ?
Or better yet if you have a copy of the log file could you let me know exactly which files it was trying to download in the download pass that led to those errors.
And also if there's anything unusual about the directory you're downloading into (weird symbols in the names , using a symbolic link , has a really long full path , etc).
This is interesting because one of the things it's succeeding at sometimes and failing at other times is a simple numeric calculation.
(My best blind guess is the path name + file name is breaking the file path size limit for Python 2.7, and the sizes in the running update for downloads are referenced by path )
To your questions i am running gogrepo.py update -os linux windows -lang en. The interesting thing is it never shows up in the gogrepo log when it does the weird errors. It is a network share i am downloading to but I have done that for over a year with no issue I have it mapped to L:\gog so gogrepo has a very short path.
Also the error is back in a different form
--- Logging error ---
Traceback (most recent call last):
File "C:\Users\Revan67\AppData\Local\Programs\Python\Python36-32\lib\logging\handlers.py", line 71, in emit
if self.shouldRollover(record):
File "C:\Users\Revan67\AppData\Local\Programs\Python\Python36-32\lib\logging\handlers.py", line 188, in shouldRollover
self.stream.seek(0, 2) #due to non-posix-compliant Windows feature
OSError: [Errno 22] Invalid argument
Call stack:
File "gogrepo.py", line 2327, in <module>
main(process_argv(sys.argv))
File "gogrepo.py", line 2260, in main
cmd_download(args.savedir, args.skipextras, args.skipids, args.dryrun, args.ids,args.os,args.lang,args.skipgalaxy,args.skipstandalone,args.skipshared)
File "gogrepo.py", line 1846, in cmd_download
progress()
File "gogrepo.py", line 1833, in progress
info('%s remaining' % gigs(left))
Message: '30.94GB remaining'
Arguments: ()
Last file logged before that error was setup_kyn_update_4_(17655)-1.bin
I am wondering, if there is some sort of buffer limit in python that may be being hit, it runs fine for a while but after a while i start getting the logging errors
Edit: Had another thought about the issue, I was running gogrepo from a network path (not on the local computer) trying again from my system.