Hi Jeremy, I made a first attemps to isolate the error and it was indeed in a core.js tiddler, but as the code raising the error was also in this file, I wasn't sure if I was just hiding the error or if it was the main cause of the problem. So I solved the issue by re-creating a new tiddler/ folder and copying all non-system tiddlers there, and added configuration and customization tiddlers.
So, to sum up : source cause was a core.js tiddler related to a previous version. Not sure why this tiddler appeared, but I made a lot of test at some point of time and maybe did save this file. Issue solved, thanks for your help. -- Jean-Charles Le dimanche 9 août 2015 16:01:56 UTC+2, Jeremy Ruston a écrit : > > Hi Jean-Charles > > My node.js tiddlywiki broke today, with the javascript error message > "Uncaught >>> TypeError: $tw.addUnloadTask is not a function". >>> >> > The stack trace is saying that the module syncer.js couldn't find the > function $tw.addUnloadTask() that was added to the boot kernel in 5.1.9. > The error suggests that maybe you've somehow ended up with an earlier, > different version of one or other the following core JavaScript module > tiddlers: > > $:/boot/boot.js > $:/core > $:/core/modules/syncer.js > > Perhaps check through your wiki folder and see if there are any unexpected > .js files there? > > Best wishes > > Jeremy > > >> I have a somewhat unusual setup, with two services running on two >>> different desktops that use a dropbox-syncrhonized filesystem. My setup is >>> kind of specific, so I suppose some corruption, but what steps can I take >>> to understand what is wrong (I guess a tiddler is broken ?). Can tiddlywiki >>> do some consistency check and/or cleanup ? Do I have to do it by hand ? The >>> --verbose flag didn't provide any help regarding this persistent error. >>> >> > > > >> >>> Any Suggestion ? >>> >>> $ tiddlywiki mywiki --verbose --server 2700 "$:/core/save/all" >>> text/plain text/html "" "" 0.0.0.0 >>> Boot log: >>> Startup task: load-modules >>> Startup task: info after: load-modules before: startup >>> Startup task: startup after: load-modules >>> Startup task: story after: startup >>> Startup task: commands platforms: node after: story >>> Executing command: server 2700 $:/core/save/all text/plain text/html >>> 0.0.0.0 >>> Serving on 0.0.0.0:2700 >>> (press ctrl-C to exit) >>> syncer-server: Dispatching 'save' task: $:/StoryList >>> FileSystem: Saved file >>> e:\Dropbox\tiddlywiki\mywiki\tiddlers\$__StoryList.tid >>> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://groups.google.com/group/tiddlywiki. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/tiddlywiki/993666b3-9c2b-40a3-b809-fcb40ee525fc%40googlegroups.com >> >> <https://groups.google.com/d/msgid/tiddlywiki/993666b3-9c2b-40a3-b809-fcb40ee525fc%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Jeremy Ruston > mailto:[email protected] <javascript:> > -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7cc4d531-c2ee-4c45-b6cb-91df0d68a97a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

