You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a subfolder in any Extra Networks folder which links to another drive.
eg:
\models\LoRA\symlink\…
Refresh Extra Networks pane.
Symlink folder will be listed, but no models or subfolders within the symlink will be displayed. Standard subfolders are listed and contain models, as expected.
What should have happened?
Extra Networks pane should display models and subfolders contained within all subfolders, including symlink subfolders.
Amended local copy to resolve issue pending official fix.
modules/shared.py
- for root, dirs, files in os.walk(path):
+ for root, dirs, files in os.walk(path, followlinks=True):
modules/ui_extra_networks.py
- for root, dirs, files in os.walk(parentdir):
+ for root, dirs, files in os.walk(parentdir, followlinks=True):
Possibly relevant, but out of scope…
modules/textual_inversion/textual_inversion.py
- for root, dirs, fns in os.walk(shared.cmd_opts.textual_inversion_templates_dir):
+ for root, dirs, fns in os.walk(shared.cmd_opts.textual_inversion_templates_dir, followlinks=True):
Some 3rd party extensions may need similar amendments for some users depending on how they use symlinks (out of scope).
Is there an existing issue for this?
What happened?
Symlink subfolders no longer load in Extra Networks.
Issue #142 may have been prematurely closed.
Most recent commit where Extra Networks worked with symlinks:
Revision: f2b9c2c
Date: 12/05/2023 11:57:05 pm
Looks like symlinks were broken here:
Revision: b08500c
Date: 13/05/2023 5:16:37 pm
Steps to reproduce the problem
eg:
\models\LoRA\symlink\…
Symlink folder will be listed, but no models or subfolders within the symlink will be displayed. Standard subfolders are listed and contain models, as expected.
What should have happened?
Extra Networks pane should display models and subfolders contained within all subfolders, including symlink subfolders.
Commit where the problem happens
3c31e25
What platforms do you use to access the UI ?
Windows
What browsers do you use to access the UI ?
Microsoft Edge
Command Line Arguments
List of extensions
a1111-sd-webui-lycoris
a1111-sd-webui-tagcomplete
clip-interrogator-ext
multidiffusion-upscaler-for-automatic1111
sd-dynamic-thresholding
sd-extension-aesthetic-scorer
sd-extension-steps-animation
sd-extension-system-info
sd-webui-aspect-ratio-helper
sd-webui-controlnet
sd-webui-cutoff
sd-webui-model-converter
seed_travel
stable-diffusion-webui-images-browser
stable-diffusion-webui-rembg
ultimate-upscale-for-automatic1111
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: