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

Esky update fails under Windows if the downloads temp directory is not empty

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.106
    • Component/s: Application update
    • Sprint:
      drive-8.1-3

      Description

      If Drive is stopped during the download of an update ZIP file, the remaining .part file in appdata/updates/downloads prevents the update when starting Drive again.

      Fails with this error:

      2015-11-06 11:16:06,336 7708 7976 INFO     nxdrive.updater    Fetching version 2.0.1028 from update site http://community.nuxeo.com/static/drive-tests/
      2015-11-06 11:16:06,391 7708 7976 ERROR    nxdrive.updater    Updater issue, will try to get root
      Traceback (most recent call last):
        File "nuxeo-drive-client\nxdrive\updater.py", line 348, in _update
        File "nuxeo-drive-client\nxdrive\updater.py", line 392, in _do_update
        File "C:\Users\jenkins\AppData\Roaming\Python\Python27\site-packages\esky\__init__.py", line 811, in fetch_version
        File "C:\Users\jenkins\AppData\Roaming\Python\Python27\site-packages\esky\finder.py", line 80, in fetch_version
        File "C:\Users\jenkins\AppData\Roaming\Python\Python27\site-packages\esky\finder.py", line 221, in fetch_version_iter
      EskyVersionError: 2.0.1028
      

      Seems to also happen if the ready, unpack and downloads directories already exist in appdata/updates when processing the update.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ataillefer Antoine Taillefer
                Reporter:
                ataillefer Antoine Taillefer
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: