Not sure if this helps but the _canonical_uri field is not a default field. I wonder if you have to add it manually before you run your script, otherwise nothing runs after that command which seems to be what you are describing. I kind of doubt it because I would think TW would add it with the setfield command but it's worth a look. Also, did you try to run each command separately outside of the script and it worked that way?
-- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7c5c83c7-fa32-42bf-af3b-523fc19820c4%40googlegroups.com.

