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

Prevent a crash if the local folder does not exist anymore

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.4
    • Fix Version/s: 4.2.0
    • Component/s: Framework

      Description

      Drive should not crash when the engine local folder is removed.

      Traceback (most recent call last):
        File "nxdrive/__main__.py", line 113, in main
        File "nxdrive/commandline.py", line 507, in handle
        File "nxdrive/commandline.py", line 514, in get_manager
        File "nxdrive/manager.py", line 175, in __init__
        File "nxdrive/manager.py", line 377, in load
        File "nxdrive/engine/engine.py", line 144, in __init__
        File "nxdrive/utils.py", line 149, in find_suitable_tmp_dir
        File "pathlib.py", line 1168, in stat
      FileNotFoundError: [Errno 2] No such file or directory: '/home/nuxeo/Drive/Company UAT'
      

        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 - 1 hour, 10 minutes
                1h 10m