Closed wyrde closed 9 months ago
I use them for setting folder and prefix name for saves
pythongosssss ok think i've tracked down the preset text error - did you have a preset selected, then delete/rename it? that'll cause it
Ah, I see now.
The presets are missing. Are they stored externally?
Once I restored the values, the workflow functioned again.
Presets are stored in localStorage, not sure why yours arent there unless you cleared it?
Are you running this fork on a different port? Browser will probably treat that as a new website and not have any of your existing storage
Are you running this fork on a different port? Browser will probably treat that as a new website and not have any of your existing storage
ah, yes. I am on a different port.
I've added this prompt when it crashes
An issue I see is using local storage makes sharing workflows with the presetText nodes problematic. Is that changed with the newer version?
Hmm, no, this just prevents the silent crash. I'll have a think.
For my usecase, I'm using the presetTexts for storing folder and prefix names to include in Save Image nodes for the filename_prefix widget.
What I'm find out now (and it makes perfect sense since they're using local storage) is the values in the presetText widgets are being saved according to the last workflow opened--which means the current one may not have the values I wanted for it. Not a big deal now that I know why--it's a matter of keeping the presets unique for each workflow or using a different method to pass the values to the text nodes.
by the way, should this be moved to your custom nodes repo since it isn't an issue with the group nodes?
I don't mind it staying here I think I might add a property to the preset text that stores actual preset text value, then when sharing workflows it can use that value if the preset with the name is missing
When presetText nodes are present, nothing happens when queuing the workflow.
From console (firefox)
workflow: latent-hrf-x20-v03.zip