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

Fix LocalWatcher.rootMoved() signal emitter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.1.3
    • Component/s: Local watcher

      Description

      Issue

      Sentry Issue: NUXEO-DRIVE-Y8

      TypeError: LocalWatcher.rootMoved[str].emit(): argument 1 has unexpected type 'WindowsPath'
        File "lib\site-packages\watchdog\observers\api.py", line 196, in run
        File "lib\site-packages\watchdog\observers\api.py", line 369, in dispatch_events
        File "lib\site-packages\watchdog\events.py", line 454, in dispatch
        File "nxdrive\engine\watcher\local_watcher.py", line 1239, in on_any_event
        File "nxdrive\engine\watcher\local_watcher.py", line 889, in handle_watchdog_root_event
      

      Fix

      The fix is quite simple, but a test is required to prevent regression.

        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 - 2 days
                2d