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

Lower logging level of "Icon folder cannot be set"

    XMLWordPrintable

    Details

    • Type: Clean up
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.4.0
    • Fix Version/s: 4.4.4
    • Component/s: Logging

      Description

      Issue

      Sentry Issue: NUXEO-DRIVE-2K3

      FileNotFoundError: [Errno 2] No such file or directory: b'/Users/USER/Nuxeo Drive 2'
        File "nxdrive/engine/engine.py", line 1100, in _set_root_icon
        File "nxdrive/client/local/darwin.py", line 82, in set_folder_icon
        File "__init__.py", line 184, in setxattr
        File "__init__.py", line 78, in set
        File "__init__.py", line 60, in _call
        File "site-packages/xattr/lib.py", line 82, in _setxattr
        File "site-packages/xattr/lib.py", line 33, in error
      
      Icon folder cannot be set
      

      This is filling our Sentry quota with no useful information.

      Fix

      Lower the logging level from exception to warning with exc_info=True.

        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