LoRA Manager Version
Environment Information
- Operating System: Windows 11
- Browser & Version: Chrome 140.0.7339.186
Issue Description
I can't update the lora manager custom node. Neither via comfyui, nor via the update button in lora manager. If i try, i get an error message that the file "ComfyUI\custom_nodes\comfyui-lora-manager\cache\download_history\downloaded_versions.sqlite" is in use and can't be accessed. I renamed the file, it just created another one and the problem persists. This already happened for the 1.0.7 update. I was able to install updates for this custom node before.
Steps to Reproduce
Start Update
Get error message
Expected Behavior
I expect the update to complete successfully.
Screenshots (If applicable)
-/-
Logs
Can't upload comfyui logfile, it fails for some reason.
Lora Manager related parts:
[LoRA-Manager] Found LoRA roots:
- C:/Tools/ComfyUI/ComfyUI/models/loras
- G:/Models/ComfyUI/loras
- G:/Models/ComfyUI/LyCORIS
[LoRA-Manager] Found checkpoint roots:
- C:/Tools/ComfyUI/ComfyUI/models/checkpoints
- C:/Tools/ComfyUI/ComfyUI/models/diffusion_models
- C:/Tools/ComfyUI/ComfyUI/models/unet
- G:/Models/ComfyUI/checkpoints
- G:/Models/ComfyUI/diffusion_models
- G:/Models/ComfyUI/unet
[LoRA-Manager] Found embedding roots:
- C:/Tools/ComfyUI/ComfyUI/models/embeddings
- G:/Models/ComfyUI/embeddings
[LoRA-Manager] Symlink cache loaded with 0 mappings
[LoRA-Manager] Symlink mappings restored from cache in 1.37 ms
[LoRA-Manager] Updated 'comfyui' library with current folder paths
[LoRA-Manager] Detected async ComfyUI execution, installing async metadata hooks
[LoRA-Manager] Metadata collection hooks installed for runtime values
[LoRA-Manager] ComfyUI Metadata Collector initialized
[LoRA-Manager] Example images path: G:\Metadata\civitai
[LoRA-Manager] Added static route for example images: /example_images_static -> G:\Metadata\civitai
[LoRA-Manager] Added static route for locales: /locales -> C:\Tools\ComfyUI\ComfyUI\custom_nodes\comfyui-lora-manager\locales
Error:
[LoRA-Manager] ZIP update failed: [WinError 32] Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird: 'C:\\Tools\\ComfyUI\\ComfyUI\\custom_nodes\\comfyui-lora-manager\\cache\\download_history\\downloaded_versions.sqlite'
Traceback (most recent call last):
File "C:\Tools\ComfyUI\ComfyUI\custom_nodes\comfyui-lora-manager\py\routes\update_routes.py", line 216, in _download_and_replace_zip
UpdateRoutes._clean_plugin_folder(plugin_root, skip_files=['settings.json', 'civitai', 'model_cache'])
File "C:\Tools\ComfyUI\ComfyUI\custom_nodes\comfyui-lora-manager\py\routes\update_routes.py", line 271, in _clean_plugin_folder
shutil.rmtree(path)
File "shutil.py", line 781, in rmtree
File "shutil.py", line 635, in _rmtree_unsafe
File "shutil.py", line 633, in _rmtree_unsafe
PermissionError: [WinError 32] Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird: 'C:\\Tools\\ComfyUI\\ComfyUI\\custom_nodes\\comfyui-lora-manager\\cache\\download_history\\downloaded_versions.sqlite'
LoRA Manager Version
v1.0.6Environment Information
Issue Description
I can't update the lora manager custom node. Neither via comfyui, nor via the update button in lora manager. If i try, i get an error message that the file "ComfyUI\custom_nodes\comfyui-lora-manager\cache\download_history\downloaded_versions.sqlite" is in use and can't be accessed. I renamed the file, it just created another one and the problem persists. This already happened for the 1.0.7 update. I was able to install updates for this custom node before.
Steps to Reproduce
Start Update
Get error message
Expected Behavior
I expect the update to complete successfully.
Screenshots (If applicable)
-/-
Logs
Can't upload comfyui logfile, it fails for some reason.
Lora Manager related parts:
Error: