Skip to content
New issue

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

Module fails to load if using a different location for custom_nodes #1072

Open
ryanwalder opened this issue Sep 19, 2024 · 0 comments
Open

Comments

@ryanwalder
Copy link

I have my comfyui data on a NAS (mounted via NFS) for easy cross computer access. When loading this module from the remote custom_nodes dir (/media/ai/image-gen/comfyui/customnodes) it fails to load with the below error. If loaded from the comfyui custom_nodes dir (/home/username/comfyui) it loads without issue.

Traceback (most recent call last):
  File "/home/ryan/git/comfyui/nodes.py", line 1993, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/media/ai/image-gen/comfyui/custom_nodes/ComfyUI-Manager/__init__.py", line 6, in <module>
    from .glob import manager_server
  File "/media/ai/image-gen/comfyui/custom_nodes/ComfyUI-Manager/glob/manager_server.py", line 16, in <module>
    import manager_core as core

Comfy UI install location: /home/username/comfyui

extra_models_paths.yaml:

comfyui:
  base_path: /media/ai/image-gen/comfyui
  checkpoints: models/checkpoints/
  clip: models/clip/
  clip_vision: models/clip_vision/
  configs: models/configs/
  controlnet: models/controlnet/
  embeddings: models/embeddings/
  loras: models/loras/
  upscale_models: models/upscale_models/
  vae: models/vae/
 
other_ui:
  base_path: /media/ai/image-gen/comfyui
  checkpoints: models/checkpoints
  gligen: models/gligen
  custom_nodes: custom_nodes
Repository owner deleted a comment Sep 19, 2024
Repository owner deleted a comment from ryanwalder Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant