We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
blender_vscode/pythonFiles/include/blender_vscode/load_addons.py
Line 42 in 1449ff3
os.remove(path, *, dir_fd=None) Remove (delete) the file path. If path is a directory, an IsADirectoryError is raised. Use [rmdir()](https://docs.python.org/3/library/os.html#os.rmdir) to remove directories. If the file does not exist, a FileNotFoundError is raised.
--https://docs.python.org/3/library/os.html
you can not remove a pugin folder via os.remove when the old plugin folder exists
->#17
The text was updated successfully, but these errors were encountered:
This worked for me! Possible to put in a PR with this fix?
Sorry, something went wrong.
related: https://community.osarch.org/discussion/comment/17160/#Comment_17160
This work for me:
if os.path.exists(link_path): # os.remove(link_path) shutil.rmtree(link_path)
indeed. If also leads to data loss in various cases. https://github.com/JacquesLucke/blender_vscode/blob/master/EXTENSION-SUPPORT.md
No branches or pull requests
blender_vscode/pythonFiles/include/blender_vscode/load_addons.py
Line 42 in 1449ff3
os.remove(path, *, dir_fd=None)
Remove (delete) the file path. If path is a directory, an IsADirectoryError is raised. Use
[rmdir()](https://docs.python.org/3/library/os.html#os.rmdir) to remove directories. If the file does not exist, a FileNotFoundError is raised.--https://docs.python.org/3/library/os.html
you can not remove a pugin folder via os.remove when the old plugin folder exists
->#17
The text was updated successfully, but these errors were encountered: