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

Filter out any error in get_opened_files()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.1.3
    • Component/s: Lock / Autolock

      Description

      Sentry Issue: NUXEO-DRIVE-147

      ValueError: stat: embedded null character in path
        File "nxdrive\autolocker.py", line 66, in _poll
        File "nxdrive\autolocker.py", line 81, in _process
        File "nxdrive\autolocker.py", line 159, in get_open_files
        File "__init__.py", line 1250, in open_files
        File "lib\site-packages\psutil\_pswindows.py", line 667, in wrapper
        File "lib\site-packages\psutil\_pswindows.py", line 956, in open_files
        File "lib\site-packages\psutil\_common.py", line 374, in isfile_strict
      

      This is another specific error when trying to retreive opened files. Instead of filtering errors when they appear, we should filter on any exception.

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