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

Fix missing "select" argument in open_local_file()

    XMLWordPrintable

    Details

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

      Description

      Issue

      Sentry Issue: NUXEO-DRIVE-X7

      CalledProcessError: Command '['open', '/Users/user/.nuxeo-drive/reports/report_190617_111119.zip']' returned non-zero exit status 1.
        File "nxdrive/manager.py", line 380, in open_local_file
        File "nxdrive/osi/darwin/darwin.py", line 99, in open_local_file
        File "subprocess.py", line 311, in check_call
      
      Failed to find an editor for '/Users/user/.nuxeo-drive/reports/report_190617_111119.zip'
      

      Analyse

      NXDRIVE-1493 introduced the error at this line: the select argument is no more fowarded.

      Fix

      Add , select=select to that call.

        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 - 10 minutes
                  10m