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

Ignore windows tmp files in Nuxeo Drive folder

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0522
    • Fix Version/s: 2.0.0522
    • Component/s: None

      Description

      steps to reproduce:

      • Upload a .doc in the Drive menu
      • Double click on it to open it
      • Modify it in word and save it
        = > the doc is correctly modified but a temporary file called .~WRL0001.tmp.nxpart stays in the Drive folder and is uploaded on the server.
      2015-03-04 16:37:22,351 4136 2364 WARNING  nxdrive.engine.processor Delaying local update of remotely modified content StateRow[11](Local: /Drive 03-04/~WRL0001.tmp, Remote: defaultFileSystemItemFactory#default#b1a2dd1d-ed64-4c22-b296-f1152f687d40, Local state: synchronized, Remote state: modified, State: remotely_modified) due to concurrent file access (probably opened by another process).
      2015-03-04 16:37:22,351 4136 2364 ERROR    nxdrive.engine.processor [Error 2] The system cannot find the file specified: u'\\\\?\\C:\\Users\\Nuxeo\\Documents\\Nuxeo Drive\\Drive 03-04\\~WRL0001.tmp'
      Traceback (most recent call last):
        File "nuxeo-drive-client\nxdrive\engine\processor.py", line 118, in _execute
        File "nuxeo-drive-client\nxdrive\engine\processor.py", line 410, in _synchronize_remotely_modified
      WindowsError: [Error 2] The system cannot find the file specified: u'\\\\?\\C:\\Users\\Nuxeo\\Documents\\Nuxeo Drive\\Drive 03-04\\~WRL0001.tmp'
      2015-03-04 16:37:22,351 4136 2364 WARNING  nxdrive.engine.workers Thread RemoteFileProcessor(2364) ended with exception : WindowsError(2, 'The system cannot find the file specified')
      2015-03-04 16:37:22,367 4136 2364 ERROR    nxdrive.engine.workers [Error 2] The system cannot find the file specified: u'\\\\?\\C:\\Users\\Nuxeo\\Documents\\Nuxeo Drive\\Drive 03-04\\~WRL0001.tmp'
      Traceback (most recent call last):
        File "nuxeo-drive-client\nxdrive\engine\workers.py", line 124, in run
        File "nuxeo-drive-client\nxdrive\engine\processor.py", line 126, in _execute
      WindowsError: [Error 2] The system cannot find the file specified: u'\\\\?\\C:\\Users\\Nuxeo\\Documents\\Nuxeo Drive\\Drive 03-04\\~WRL0001.tmp'
      2015-03-04 16:39:23,091 4136 3380 WARNING  nxdrive.engine.processor Delaying local update of remotely modified content StateRow[11](Local: /Drive 03-04/~WRL0001.tmp, Remote: defaultFileSystemItemFactory#default#b1a2dd1d-ed64-4c22-b296-f1152f687d40, Local state: synchronized, Remote state: modified, State: remotely_modified) due to concurrent file access (probably opened by another process).
      2015-03-04 16:39:23,107 4136 3380 ERROR    nxdrive.engine.processor [Error 2] The system cannot find the file specified: u'\\\\?\\C:\\Users\\Nuxeo\\Documents\\Nuxeo Drive\\Drive 03-04\\~WRL0001.tmp'
      Traceback (most recent call last):
        File "nuxeo-drive-client\nxdrive\engine\processor.py", line 118, in _execute
        File "nuxeo-drive-client\nxdrive\engine\processor.py", line 410, in _synchronize_remotely_modified
      WindowsError: [Error 2] The system cannot find the file specified: u'\\\\?\\C:\\Users\\Nuxeo\\Documents\\Nuxeo Drive\\Drive 03-04\\~WRL0001.tmp'
      2015-03-04 16:39:23,107 4136 3380 WARNING  nxdrive.engine.workers Thread RemoteFileProcessor(3380) ended with exception : WindowsError(2, 'The system cannot find the file specified')
      2015-03-04 16:39:23,107 4136 3380 ERROR    nxdrive.engine.workers [Error 2] The system cannot find the file specified: u'\\\\?\\C:\\Users\\Nuxeo\\Documents\\Nuxeo Drive\\Drive 03-04\\~WRL0001.tmp'
      Traceback (most recent call last):
        File "nuxeo-drive-client\nxdrive\engine\workers.py", line 124, in run
        File "nuxeo-drive-client\nxdrive\engine\processor.py", line 126, in _execute
      WindowsError: [Error 2] The system cannot find the file specified: u'\\\\?\\C:\\Users\\Nuxeo\\Documents\\Nuxeo Drive\\Drive 03-04\\~WRL0001.tmp'
      

      See screenshots attached.

      Other scenario to get this:

      1. Suspend synchronization.
      2. Edit the file locally.
      3. On the web UI, edit the same document and create a new version (without editing the content).
      4. Resume synchronization.
        => tmp files.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: