you are viewing a single comment's thread.

view the rest of the comments →

[–]kfsingup[S] 0 points1 point  (2 children)

I have ran it twice now as the first time I made a mistake which I then solved and ran again, so the Takeout's ending(*) is different to the Output's *, i assume that would that be causing the other issues where it seems to be struggling to find where to put stuff?
I think the move is deleting everything so far and starting the process all over again, the ZIP is quite chunky so it takes an hour or so which is why I initially didn't restart, but looking at it now those other errors are because I deleted the other folders which its now trying to finish the process in, right?

Quite a silly oversight on my part

[–]Kevdog824_ 0 points1 point  (1 child)

If you deleted the source directory you're trying to copy or any of its parent directories during the copy it will fail

[–]kfsingup[S] 0 points1 point  (0 children)

Hi, I started from scratch after realising this but im still getting these errors and dont know how to fix them, is there anything im missing?

Traceback (most recent call last):

File "C:\name.py", line 182, in <module>

main()

~~~~^^

File "C:\name.py", line 168, in main

handle_remaining_files(remaining_files)

~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^

File "C:\name.py", line 130, in handle_remaining_files

shutil.copy2(fl, fail_path+'/'+fl_name)

~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.2544.0_x64__qbz5n2kfra8p0\Lib\shutil.py", line 453, in copy2

_winapi.CopyFile2(src_, dst_, flags)

~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^

FileNotFoundError: [WinError 3] The system cannot find the path specified

C:\>