Hi Jeremy, thanks for your answer it was very helpful !!
>From your email I understood that my problem could come from a plugin or a javascript module. I first tried to uninstall all the modules but that didn't help. So I imported all my data (i.e. the tiddlers that I am the creator of) into a fresh empty TW, and I imported the plugins one by one. Doing so, I found the one that broke my TW. Following the instructions on http://tidtoc.tiddlyspot.com/#GettingStarted: - install matchfilter from http://eucaly-tw5.tiddlyspot.com/#MatchFilter - then drag to my TW the toc snippet from http://tidtoc.tiddlyspot.com/#GettingStarted I've double checked, tried to import other modules, and my TW is working well, as long as I don't import the two elements above. >From my side, the problem is thus solved. But if this needs to be investigated further, I"ll be happy to help. Best, Eric On Friday, October 29, 2021 at 9:29:59 PM UTC+4 jeremy...@gmail.com wrote: > 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0090ed6e-c9aa-4963-a576-28b329840d0dn%40googlegroups.com.