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

[macOS] Improve running applications detection

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.1.1
    • Component/s: Lock / Autolock
    • Environment:
      macOS

      Description

      Error

      When looking for opened files in the Autolock, sometimes the NSWorkspace is no more existant (when Drive is quitting for instance). And we have this error:

      TypeError: 'NoneType' object is not iterable
      (1 additional frame(s) were not displayed)
      ...
        File "nxdrive/autolocker.py", line 81, in _process
        File "nxdrive/autolocker.py", line 163, in get_open_files
        File "nxdrive/osi/darwin/files.py", line 58, in get_other_opened_files
        File "nxdrive/osi/darwin/files.py", line 38, in _get_opened_files_adobe_cc
        File "nxdrive/osi/darwin/files.py", line 20, in _is_running
      
      Unhandled error
      

      Sentry Issue: NUXEO-DRIVE-PZ

      Fix

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