Automatic rclone remote uploader, with support for multiple remote/folder pairings. UnionFS Cleaner functionality: Deletion of UnionFS whiteout files and their corresponding files on rclone remotes. Automatic remote syncer: Sync between different remotes via a Scaleway server instance, that is created and destroyed at every sync.
GNU General Public License v3.0
338
stars
48
forks
source link
Special Characters are not handles when present in an opened file #99
Describe the bug
When a file is opened and is attempted to be excluded for an rclone operation, if one of those files contains certain special characters, an error is produced and the move fails.
To Reproduce
Steps to reproduce the behavior:
Open Videos/Movies/Déjà Vu (2006)/Déjà Vu (2006) Bluray-1080p.mkv video or some other video with special characters in the title
start cloudplow
Expected behavior
Cloudplow should exclude the open file and continue, instead it crashes with an error message
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
2021-01-08 18:43:03,873 - INFO - uploader - upload - Excluding these files from being uploaded because they were open: ['Videos/Movies/Blow (2001)/Blow (2001) Remux-1080p.mkv', 'Videos/Movies/Deep Impact (1998)/Deep Impact (1998) Bluray-1080p.mkv', 'Videos/Movies/Déjà Vu (2006)/Déjà Vu (2006) Bluray-1080p.mkv', 'Videos/Movies/A Walk Among the Tombstones (2014)/A Walk Among the Tombstones (2014) Remux-1080p.mkv']
2021-01-08 18:43:03,873 - INFO - uploader - upload - Uploading '/mnt/shared/local/' to remote: Media_vfs_plow
2021-01-08 18:43:03,899 - INFO - process - execute - 2021/01/08 18:43:03 Failed to load filters: bad glob pattern "Videos\/Movies\/D\éj\à\ Vu\ \(2006\)\/D\éj\à\ Vu\ \(2006\)\ Bluray\-1080p\.mkv" (regexp "(^|/)Videos\/Movies\/D\éj\à\ Vu\ \(2006\)\/D\éj\à\ Vu\ \(2006\)\ Bluray\-1080p\.mkv$"): error parsing regexp: invalid escape sequence: \é
Describe the bug When a file is opened and is attempted to be excluded for an rclone operation, if one of those files contains certain special characters, an error is produced and the move fails. To Reproduce Steps to reproduce the behavior:
Expected behavior Cloudplow should exclude the open file and continue, instead it crashes with an error message Screenshots If applicable, add screenshots to help explain your problem.
Logs 2021-01-08 18:43:03,873 - INFO - uploader - upload - Excluding these files from being uploaded because they were open: ['Videos/Movies/Blow (2001)/Blow (2001) Remux-1080p.mkv', 'Videos/Movies/Deep Impact (1998)/Deep Impact (1998) Bluray-1080p.mkv', 'Videos/Movies/Déjà Vu (2006)/Déjà Vu (2006) Bluray-1080p.mkv', 'Videos/Movies/A Walk Among the Tombstones (2014)/A Walk Among the Tombstones (2014) Remux-1080p.mkv'] 2021-01-08 18:43:03,873 - INFO - uploader - upload - Uploading '/mnt/shared/local/' to remote: Media_vfs_plow 2021-01-08 18:43:03,899 - INFO - process - execute - 2021/01/08 18:43:03 Failed to load filters: bad glob pattern "Videos\/Movies\/D\éj\à\ Vu\ \(2006\)\/D\éj\à\ Vu\ \(2006\)\ Bluray\-1080p\.mkv" (regexp "(^|/)Videos\/Movies\/D\éj\à\ Vu\ \(2006\)\/D\éj\à\ Vu\ \(2006\)\ Bluray\-1080p\.mkv$"): error parsing regexp: invalid escape sequence:
\é
System Information