S
S
Sergey Dyudin2018-02-15 23:44:44
Python
Sergey Dyudin, 2018-02-15 23:44:44

Why did the Python copy script start to crash?

Hello!
There is a Python script that has been working properly for a long time. The script is simple, copies video files using shutil.copy("what", "where") from one hard drive to another. Files are 8-10GB in size. Until yesterday, I copied, and today it began to fly out with a Permission denied error in a random period of file copying. Some files are copied.
5a85ed45412cd921129562.png
OS Windows 7. The rights to the folder are full. Disabled antivirus, firewall, ran as administrator - did not help. Climbed into the debugger - gives the following
5a85eeb846181698182371.png
I can not understand what the problem is.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Dyudin, 2018-02-16
@Skywalker66

The problem was in the new HDD with bads

K
Konstantin Malyarov, 2018-02-16
@Konstantin18ko

What's in the length variable before the flight?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question