News:

SMF - Just Installed!

Main Menu

Bug in directory create with space at the end

Started by large, August 29, 2021, 07:15:50 PM

Previous topic - Next topic

large

Hi! Thank you for a great tool, been using it a lot.

I noticed on v1.50.28.0 that some directories are created wrong, in some special cases.
On my "google photo extraction" I had some directories called "C:\Google Photos\2013-10-05 - \IMG_20131005_124211.jpg" but the directory creation for this path was "C:\Google Photos\2013-10-05 -\" meaning that the last space is not included by Copy Handler.

Making my log-file full of these
Quote2021-06-03 21:20:36.781128 [error] Filesystem-File[11176]: Encountered an error while opening file for writing. Error: 3 (handle: FFFFFFFFFFFFFFFF, path : C:\Google Photos\2012-06-17 - \IMG_20120617_134803-edited.jpg, no-buffering : 1)
2021-06-03 21:20:36.781128 [error] Filesystem-File[11176]: Error 3 while trying to retrieve freshly-created flag for file C:\Google Photos\2012-06-17 - \IMG_20120617_134803-edited.jpg
2021-06-12 22:33:35.803070 [error] Filesystem-File[11176]: Encountered an error while opening file for writing. Error: 3 (handle: FFFFFFFFFFFFFFFF, path : C:\Google Photos\2012-06-17 - \IMG_20120617_134803.jpg, no-buffering : 1)
2021-06-12 22:33:35.803070 [error] Filesystem-File[11176]: Error 3 while trying to retrieve freshly-created flag for file C:\Google Photos\2012-06-17 - \IMG_20120617_134803.jpg
2021-06-12 22:33:35.974950 [error] Filesystem-File[11176]: Encountered an error while opening file for writing. Error: 3 (handle: FFFFFFFFFFFFFFFF, path : C:\Google Photos\2012-06-17 - \IMG_20120617_134803.jpg.json, no-buffering : 1)
2021-06-12 22:33:35.974950 [error] Filesystem-File[11176]: Error 3 while trying to retrieve freshly-created flag for file C:\Google Photos\2012-06-17 - \IMG_20120617_134803.jpg.json
2021-06-12 22:33:36.006200 [error] Filesystem-File[11176]: Encountered an error while opening file for writing. Error: 3 (handle: FFFFFFFFFFFFFFFF, path : C:\Google Photos\2012-06-17 - \metadata.json, no-buffering : 1)
2021-06-12 22:33:36.006200 [error] Filesystem-File[11176]: Error 3 while trying to retrieve freshly-created flag for file C:\Google Photos\2012-06-17 - \metadata.json
2021-06-12 22:33:42.975126 [error] Filesystem-File[11176]: Encountered an error while opening file for writing. Error: 3 (handle: FFFFFFFFFFFFFFFF, path : C:\Google Photos\2012-07-14 - \IMG_20120714_130712-edited.jpg, no-buffering : 1)
2021-06-12 22:33:42.975126 [error] Filesystem-File[11176]: Error 3 while trying to retrieve freshly-created flag for file C:\Google Photos\2012-07-14 - \IMG_20120714_130712-edited.jpg
2021-06-12 22:33:43.037627 [error] Filesystem-File[11176]: Encountered an error while opening file for writing. Error: 3 (handle: FFFFFFFFFFFFFFFF, path : C:\Google Photos\2012-07-14 - \IMG_20120714_130712.jpg, no-buffering : 1)
2021-06-12 22:33:43.037627 [error] Filesystem-File[11176]: Error 3 while trying to retrieve freshly-created flag for file C:\Google Photos\2012-07-14 - \IMG_20120714_130712.jpg
2021-06-12 22:33:43.053295 [error] Filesystem-File[11176]: Encountered an error while opening file for writing. Error: 3 (handle: FFFFFFFFFFFFFFFF, path : C:\Google Photos\2012-07-14 - \IMG_20120714_130712.jpg.json, no-buffering : 1)
2021-06-12 22:33:43.053295 [error] Filesystem-File[11176]: Error 3 while trying to retrieve freshly-created flag for file C:\Google Photos\2012-07-14 - \IMG_20120714_130712.jpg.json
2021-06-12 22:33:43.068918 [error] Filesystem-File[11176]: Encountered an error while opening file for writing. Error: 3 (handle: FFFFFFFFFFFFFFFF, path : C:\Google Photos\2012-07-14 - \metadata.json, no-buffering : 1)
2021-06-12 22:33:43.068918 [error] Filesystem-File[11176]: Error 3 while trying to retrieve freshly-created flag for file C:\Google Photos\2012-07-14 - \metadata.json

Hopefully this is the right place to ask or inform the developers.

Ixen

#1
Hi. Thanks!
I have reproduced the problem locally. Will try to find the culprit as soon as I find some time.

Edit: I've filed a bug https://dev.copyhandler.com/browse/CH-374 - you can track progress there.

SMF spam blocked by CleanTalk