l3uddz / cloudplow

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
345 stars 46 forks source link

Special Characters Problem #107

Closed lepitismak7218 closed 2 years ago

lepitismak7218 commented 3 years ago

Describe the bug During the upload process, when the file name has a special character, it has an error.

Expected behavior Could change the special character. If "Ç" do "C" If "Is" do "E" and so on.

just a suggestion.

Logs 2021-10-22 18:20:05,997 - INFO - cloudplow - do_hidden - Finished hidden cleaning 2021-10-22 18:20:05,997 - INFO - decorators - timer - 'do_hidden' from 'cloudplow.py' finished in 0 seconds 2021-10-22 18:20:05,997 - INFO - cloudplow - do_upload - Starting upload 2021-10-22 18:20:06,000 - INFO - cloudplow - do_upload - There is 200 available service accounts 2021-10-22 18:20:06,000 - INFO - uploader - set_service_account - Using service account: '/opt/sa-nexus/1.json' 2021-10-22 18:20:06,138 - INFO - uploader - upload - Excluding these files from being uploaded because they were open: ['/Decoding Annie Parker (2014)/Decoding Annie Parker (2014) [WEBDL-1080p] {imdb-tt1464191}.mkv'] 2021-10-22 18:20:06,138 - INFO - uploader - upload - Uploading '/mnt/local/FILMES' to remote: nexus2 2021-10-22 18:20:06,175 - INFO - process - execute - Failed to load filters: bad glob pattern "\/Ningu\ém\ Ama\ Ningu\ém\ por\ Mais\ de\ Dois\ Anos\ \(2015\)\/Ningu\ém\ Ama\ Ningu\ém\ por\ Mais\ de\ Dois\ Anos\ \(2015\)\ \[WEBDL\-1080p\]\ \{imdb\-tt5532160\}\.mkv" (regexp "(^|/)\/Ningu\ém\ Ama\ Ningu\ém\ por\ Mais\ de\ Dois\ Anos\ \(2015\)\/Ningu\ém\ Ama\ Ningu\ém\ por\ Mais\ de\ Dois\ Anos\ \(2015\)\ \[WEBDL\-1080p\]\ \{imdb\-tt5532160\}\.mkv$"): error parsing regexp: invalid escape sequence: 2021-10-22 18:20:06,176 - INFO - uploader - upload - Finished uploading to remote: nexus2 2021-10-22 18:20:06,179 - INFO - uploader - remove_empty_dirs - Removed empty directories from '/mnt/local/FILMES' with mindepth: 1 2021-10-22 18:20:06,179 - INFO - cloudplow - do_upload - Finished upload 2021-10-22 18:20:06,179 - INFO - decorators - timer - 'do_upload' from 'cloudplow.py' finished in 0 seconds

System Information

saltydk commented 2 years ago

Try using the develop branch.

crospa91 commented 2 years ago

Same issue here. Upload fails if there are special characters in the name of the file.

Failed to load filters: mismatched '[' and ']' in glob

Tried already the Develop Branch, same issue

saltydk commented 2 years ago

Show me a full log of an actually up to date instance of cloudplow.