I’ve encountered a problem with the LeftBar plugin (v2.1.4). It happens on a brand new empty server edition on node.js (linux arm64, run through docker) where:
- I create a $:/config/FileSystemPaths tiddler whose sole content is [!is[system]slugify[]] (not interesting but deliberately very reduced)
- I then quit the server and import my plugin with
tiddlywiki mywiki --load plugin.json
Now’ I start again the server. This sandwich icon of LeftBar is or the upper left corner.
Then I click on that sandwich icon for LeftBar and the server crashes. See below:
=====syncer-server-filesystem: Dispatching ‘save’ task: $:/plugins/TWaddle/LeftBar/temp node:internal/fs/utils:879 throw new ERR_INVALID_ARG_TYPE( ^ TypeError [ERR_INVALID_ARG_TYPE]: The “data” argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined at Object.writeFile (node:fs:2106:5) at Object.exports.saveTiddlerToFile ($:/core/modules/utils/filesystem.js:414:6) at $:/plugins/tiddlywiki/filesystem/filesystemadaptor.js:85:13 at FileSystemAdaptor.getTiddlerFileInfo ($:/plugins/tiddlywiki/filesystem/filesystemadaptor.js:72:2) at FileSystemAdaptor.saveTiddler ($:/plugins/tiddlywiki/filesystem/filesystemadaptor.js:81:7) at SaveTiddlerTask.run ($:/core/modules/syncer.js:597:27) at Syncer.processTaskQueue ($:/core/modules/syncer.js:503:9) at Function. ($:/core/modules/syncer.js:90:9) at $tw.Wiki.exports.dispatchEvent ($:/core/modules/wiki.js:133:13) at $:/core/modules/wiki.js:166:10 { code: ‘ERR_INVALID_ARG_TYPE’ }