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

Only cleanup well-formed folders in DirectEdit directory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.1.4
    • Component/s: Direct Edit

      Description

      The DirectEdit cleanup should only process folders with a uid as their name.

      Sentry Issue: NUXEO-DRIVE-11X

      NotADirectoryError: [Errno 20] Not a directory: '~/.nuxeo-drive/edit/IMG_1502 copy.jpeg'
      (3 additional frame(s) were not displayed)
      ...
        File "nxdrive/direct_edit.py", line 163, in _cleanup
        File "nxdrive/client/local_client.py", line 539, in get_children_info
        File "nxdrive/client/local_client.py", line 518, in _get_children_info
        File "pathlib.py", line 1081, in iterdir
        File "pathlib.py", line 387, in wrapped
      
      Thread EXCEPTION
      

        Attachments

          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 - 3 hours, 30 minutes
                3h 30m