This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: shutil.copytree fail to copy some bytes
Type: behavior Stage: resolved
Components: IO Versions: Python 3.7
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: Stéphane Archer, benjamin.peterson
Priority: normal Keywords:

Created on 2019-11-12 00:08 by Stéphane Archer, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
diff.png Stéphane Archer, 2019-11-12 00:08
Messages (2)
msg356403 - (view) Author: Stéphane Archer (Stéphane Archer) Date: 2019-11-12 00:08
I use shutil.copytree to copy photos from many sd cards to a hard drive.
I use thread for each sd card. then I check if the content has been copying correctly with filecmp.cmpfiles with shallow to false. and surprise!!!
some files are not identical. usually, just one byte has not been properly copying
msg356514 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2019-11-13 03:06
This looks much more like a hardware problem than a Python bug.

In the future, please post text instead of images.
History
Date User Action Args
2022-04-11 14:59:23adminsetgithub: 82953
2019-11-13 03:06:50benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg356514

resolution: not a bug
stage: resolved
2019-11-12 00:08:50Stéphane Archercreate