Posted 4 days ago

One of those things you posted suggested that you can get this error in unexpected situations since it doesn't seem to strictly be a permission error, what directory is gogrepoc.py in ? And the directory doesn't have any weird files / folders in it ? ( eg no folders name gogrepo.log or anything similar ). Also the disk isn't full is it ?
ETA2 - No the non-posix thing shouldn't matter, that's a work around for Windows not behaving as it would if it was Posix compliant , so if you're seeing that you're already on the correct branch. You're not using a special driver to mount a Linux file system on Windows are you ? I guess it might do weird stuff if you're trying to mount a ext4 or btrfs or xfs filesystem on Windows.
The disk is a 10TB Seagate drive. I found another user had a similar problem with his 8TB drive. The smaller 2TB for him and 4TB for me, ran the script with no problem. Can't say what the problem would be there.
Gogrepoc is on an external drive inside a folder named GOG. The disk still has 4,55TB of space.
No, the disk is NTFS formatted. That error appeared only when intentionally using the latest pre 3 Python.
UPDATE
OK, so as far as I can tell, the script behaves differently depending in what environment I run it in. CMD, PowerShell or Terminal. On earlier versions of Windows I could run it in CMD with no problem. I even made a batch file that I could just double click and it would run the update, download, verify, clean and trash commands without me present. Now I get those permission errors.
BTW do we still need to do "clean" and "trash"? I think you made it so nothing gets left behind and the folders are clean and tidy with just download and verify.
If I just run it in PowerShell the result is exactly the same as in CMD.
If I run it in either ones with the shortcut made to run it as admin, I get a whole new environment where I need to install every dependency and setting up everything from scratch. I need to log in gogrepoc again, a new manifest, new download. Like gogrepoc doesn't know it already did that.
So now what I need to do at the moment on my 24H2 install is I need the latest Python with all the dependencies updated, App execution aliases for Python and Python3 "OFF" and I need to run the script in Terminal, e.g. admin PowerShell.
I believe I got the permission error once more, but once I got it I went to the download folder and deleted the files in there. Then the download continued with not problems and I was able to finalize my last 150GB of downloads. (before it would randomly bug out in the middle of downloading, not even while it was writing anything. Though it could have been trying to log something while downloading.)
I ran the verify then update, download and verify again, and so far it looks like it worked.
But I sill am not a 100% sure as to what was the final catalyst for a successful operation. This is what I have done.
Took permission of the whole drive and deleted the System Volume Information folder. !NOT ON MY MAIN DISK!
Applied and disabled "Read-only" for the whole disk.
Disabled "App execution aliases" for Python and Python3
Ran the script in a PowerShell window with admin rights (Terminal)
If I got the error, I deleted the "!downloading" folder and ran the script again, now with no problem. (The error happened only 1 times, though I can't say why. Probably because I didn't clean the "!downloading" folder prior to downloading from an earlier failed attempt)
The script completed successfully. Update, download and verify with all "options" applied.
P.S.: I am using the "fixed" gogrepoc you sent me via DropBox.
Post edited 4 days ago by Modelsson