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

get_tree_size() and get_tree_list() should be resilient to OS errors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.4.0
    • Fix Version/s: 4.4.2
    • Component/s: Direct Transfer

      Description

      Issue 1

      Sentry Issue: NUXEO-DRIVE-2QN

      PermissionError: [WinError 5] Accès refusé: 'Com\\dmp'
        File "nxdrive\gui\folders_dialog.py", line 333, in _select_more_folder
        File "nxdrive\gui\folders_dialog.py", line 318, in _process_additionnal_local_paths
        File "nxdrive\gui\folders_dialog.py", line 295, in _get_size
        File "nxdrive\utils.py", line 337, in get_tree_size
        File "nxdrive\utils.py", line 337, in get_tree_size
        File "nxdrive\utils.py", line 332, in get_tree_size
      

      Issue 2

      Sentry Issue: NUXEO-DRIVE-2J4

      PermissionError: [Errno 13] Permission denied: 'usr/sbin/weakpass_edit'
        File "nxdrive/gui/folders_dialog.py", line 337, in _select_more_folder
        File "nxdrive/gui/folders_dialog.py", line 322, in _process_additionnal_local_paths
        File "nxdrive/gui/folders_dialog.py", line 299, in _get_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 334, in get_tree_size
      

      Sentry Issue: NUXEO-DRIVE-2NB

      OSError: [Errno 40] Too many levels of symbolic links: '.local/share/webkitgtk/databases/indexeddb/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0/v0'
        File "nxdrive/gui/folders_dialog.py", line 333, in _select_more_folder
        File "nxdrive/gui/folders_dialog.py", line 318, in _process_additionnal_local_paths
        File "nxdrive/gui/folders_dialog.py", line 295, in _get_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 337, in get_tree_size
        File "nxdrive/utils.py", line 334, in get_tree_size
      

        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 - 1 day
                  1d