Uploaded image for project: 'Copy Handler'
  1. Copy Handler
  2. CH-374

Errors when handling directories containing trailing whitespaces

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.46, 1.50beta1
    • 1.47, 1.50beta2
    • engine
    • None

    Description

      Reported by large in CH forum:

      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
      Quote

      2021-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

       

      Attachments

        Activity

          People

            admin ixen
            admin ixen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: