-
-
Notifications
You must be signed in to change notification settings - Fork 15
Description
faced this error,
--- SYSTEM partition mounted
--- Updating system partition...
--- Removing existing registered folder...
ERROR: Failed to update system partition. [WinError 145] The directory is not empty: 'D:\Contents\registered'
Traceback (most recent call last):
File "E:\NAND-Fix-Pro-v2.1.1\nandfixpro.py", line 3381, in _selective_copy_system_contents_level1
if not safe_remove_directory(registered_dest):
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "E:\NAND-Fix-Pro-v2.1.1\nandfixpro.py", line 58, in safe_remove_directory
shutil.rmtree(directory_path)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "C:\Users\owen\AppData\Local\Programs\Python\Python313\Lib\shutil.py", line 790, in rmtree
return _rmtree_unsafe(path, onexc)
File "C:\Users\owen\AppData\Local\Programs\Python\Python313\Lib\shutil.py", line 635, in _rmtree_unsafe
onexc(os.rmdir, path, err)
~~~~~^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\owen\AppData\Local\Programs\Python\Python313\Lib\shutil.py", line 631, in _rmtree_unsafe
os.rmdir(path)
~~~~~~~~^^^^^^
OSError: [WinError 145] The directory is not empty: 'D:\Contents\registered'