Hi Eric,
Thanks for the detailed report. There is some conditional logic in the JSON
tiddler output template to handle including a comma before every tiddler
except the first. It seems that that logic has got corrupted, but it's not
immediately obvious how.
Are you using any TW plugins? Does the wiki include any JavaScript modules
(ie tiddlers with type "application/javascript")?
Best wishes
Jeremy
On Friday, October 29, 2021 at 4:19:43 PM UTC+1 Eric N wrote:
> Hi all,
>
> Today I opened my TW file to work on it, and it was blank. Last time I
> used it it was perfect.
>
> I tried to import that broken file into a fresh empty TW: error message
> saying that the JSON file was broken, "missing , or ]".
>
> So I checked the file and I had approx 100 instances of "}{" instead of
> "},{". Weird.
>
> Fixed them all, then I could open the file again and retrieved my work.
> BUT… I added a new simple tiddler, and saved, and the file got broken
> again. Was back with my 100 "}{".
>
> Tried to import the fixed file into a fresh empty TW, and add a simple
> tiddler then saved: got a broken TW file with 100 "}{".
>
> Does anyone knows what is happening ?
>
> Versions:
> - MacOS 11.6
> - Firefox 93.0
> - TW 5.2.0
>
> Best,
> Eric
>
>
>
--
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/9e05208c-6888-4a68-b588-9ce750f7d22en%40googlegroups.com.