unprompted icon indicating copy to clipboard operation
unprompted copied to clipboard

ImageIO does not generally support reading folders.

Open redstoneguy10ls opened this issue 2 years ago • 1 comments

Due diligence

  • [X] I checked for similar issues and couldn't find any.
  • [X] My WebUI and Unprompted are both up-to-date.
  • [X] I disabled my other extensions but the problem persists.

Describe the bug

while trying to use controlnet, specifically [set cn_0_image][choose][filelist d:/path/to/pose*.png"][/choose][/set], i get that error

Prompt

No response

Log output

No response

Unprompted version

10.3.1

WebUI version

current

Other comments

No response

redstoneguy10ls avatar Nov 16 '23 21:11 redstoneguy10ls

Hi @redstoneguy10ls,

Thank you for reaching out. It looks like there is a typo in your [filelist] shortcode - it doesn't have an opening quotation mark.

I use the following code in the Beautiful Soul template to load a random pose file, and as far as I know it's working fine:

[set pose_file _ui="none"][choose][filelist "{get openpose_location}/{get pose}/*.png"][/choose][/set]
[sets cn_0_image="{get pose_file}"]

Does that help?

ThereforeGames avatar Nov 22 '23 10:11 ThereforeGames

Closing due to inactivity - feel free to re-open if the issue persists. Thank you!

ThereforeGames avatar Jun 02 '24 07:06 ThereforeGames