Unable to start tiddly server: "RangeError: Invalid string length"

40 views
Skip to first unread message

Matt Feldman

unread,
Jul 30, 2021, 6:42:58 PM7/30/21
to TiddlyWiki
Hi.  I am getting this error when I try to start tiddly with `tiddlywiki Tiddly --listen` and open up the page in a browser.  I have my tiddly files on dropbox so that I can read and write on two different computers (and I try not to make updates from both computers too closely in time).  I think my dropbox ran out of space recently, which probably caused some corruption with temp files, but I'm lost as to where to begin to debug this.  Any tips would be great, because grepping and vimming through my notes is not pleasant.  Thanks!

Exact error:


```

 syncer-server-filesystem: Dispatching 'save' task: $:/StoryList 

Serving on http://127.0.0.1:8080

(press ctrl-C to exit)

$:/core/modules/utils/fakedom.js:254

return b.join("");

        ^


RangeError: Invalid string length

    at Array.join (<anonymous>)

    at TW_Element.get ($:/core/modules/utils/fakedom.js:254:13)

    at $:/core/modules/utils/fakedom.js:252:17

    at Object.$tw.utils.each (/usr/local/lib/node_modules/tiddlywiki/boot/boot.js:126:12)

    at TW_Element.get ($:/core/modules/utils/fakedom.js:251:14)

    at $:/core/modules/utils/fakedom.js:252:17

    at Object.$tw.utils.each (/usr/local/lib/node_modules/tiddlywiki/boot/boot.js:126:12)

    at TW_Element.get ($:/core/modules/utils/fakedom.js:251:14)

    at $tw.Wiki.exports.renderTiddler ($:/core/modules/wiki.js:1092:144)

    at Object.exports.handler ($:/core/modules/server/routes/get-index.js:26:24)

```

Reply all
Reply to author
Forward
0 new messages