Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1631

[Windows] Handle files with the same name but different unicode norms

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.1.3
    • Component/s: Framework
    • Environment:
      Windows

      Description

      Sentry Issue: NUXEO-DRIVE-T2

      FileExistsError: [WinError 183] Impossible de créer un fichier déjà existant: 'D:\\Documents\\nuxeo drive\\modele papieràlettrestampponDSI.pdf' -> 'D:\\Documents\\nuxeo drive\\modele papieràlettrestampponDSI.pdf'
        File "nxdrive\engine\watcher\local_watcher.py", line 949, in handle_watchdog_event
        File "nxdrive\utils.py", line 458, in normalize_event_filename
        File "pathlib.py", line 1309, in rename
        File "pathlib.py", line 393, in wrapped
      
      Watchdog exception
      

      Same error in english:

      FileExistsError: WindowsError: [Error 183] Cannot create a file when that file already exists: ...
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 4 hours
                  1d 4h