Open Zhrack opened 1 year ago
The erroring line 21 is missing an opening double quote mark for the expFormat string arg.
Apparently State
is also a variable name in scope, so it takes till it hits set
to barf.
If you examine the sfile for state, is it indeed missing that quote? Does adding it fix it?
Fixing it locally fixed it! Thanks!
Leraving it open since the issue is still present on main code.
With standard library imported, run state reset. Then run ;;ac chars add Test:: Run ;;state get:: to print the current state.
This is my state at that point. {"lists":{"pcs":{"type":"basic","content":[]},"npcs":{"type":"basic","content":[]},"threads":{"type":"basic","content":[]},"plotline_dupes":{"type":"basic","content":[]},"plotlines":{"type":"combo","content":["threads","plotline_dupes"]},"character_dupes":{"type":"basic","content":["Test"]},"characters":{"type":"combo","content":["pcs","npcs","character_dupes"]}},"notevars":{"isMarkdownRefreshed":true},"notepick":{},"mythicgme":{"chaos":5,"scene":1},"adventurecrafter":{"themeSlots":[]},"cards":{"piles":{},"size":150,"priorShowMoved":true,"backImage":null},"tablefiles":{"paths":{},"configuration":{}},"clips":{}}
Reset the state again.
Run ;;state set with the previous state.
Error in the console:
Obsidian 1.1.16 Windows Inline Scripts 0.24.12