TheLastGimbus / GooglePhotosTakeoutHelper

Script that organizes the Google Takeout archive into one big chronological folder
https://aur.archlinux.org/packages/gpth-bin
Apache License 2.0
3.88k stars 191 forks source link

unhandled exception (OS Error: Access is denied. , errno = 5) #139

Closed mcraven077 closed 1 year ago

mcraven077 commented 1 year ago

I'm receiving an error stating the following. I've included screenshots from the start and the error.

Unhandled exception: FileSystemException: Cannot rename file to 'C:\Users\mcrav\Downloads\Photos\PICT1214.JPG', path = 'C:\Users\mcrav\Downloads\Google Photos Takeout\Takeout\Google Photos\Photos from 2001\PICT1214.JPG' (OS Error: Access is denied. , errno = 5)

0 _File.rename. (dart:io/file_impl.dart:305)

#1 main (file:///d:/a/googlephotostakeouthelper/googlephotostakeouthelper/bin/gpth.dart:294) ![Screenshot 2022-12-28 230728](https://user-images.githubusercontent.com/121594215/209902227-76f9d3f1-27bb-4686-ad73-c7eb88c31932.png) ![Screenshot 2022-12-28 230746](https://user-images.githubusercontent.com/121594215/209902228-f132e7a9-f229-425b-9a68-214f3953bc89.png)
mcraven077 commented 1 year ago

The issue was the Norton Data Protector. I had disabled Antivirus and Firewall, but Data Protector was still enabled.

TheLastGimbus commented 1 year ago

Happy it works!