max twiddlers in a wiki?

90 views
Skip to first unread message

John Meyer

unread,
Mar 19, 2020, 1:16:29 PM3/19/20
to TiddlyWiki
Is there a practical limit to the number of Twiddlers in a TiddlyWiki?

I imported over 1000 bookmarks into TiddlyWiki from Evernote, and I'm still under 4MB (only about 40 or so have notes, the rest are just title & link)... anyway, it's become very fragile... for example I tried to change the default Twiddler & got the JavaScript error (parsing JSON, per Chrome dev tools) & had to fall back to a backup.  So I tried adding a Table of Contents, saved 2 tiddlers, hit F5, error... restore the backup again

seems strange for a tool that's been around so long, I'm thinking it must be something I'm doing, but damned if I can figure out what?

P.S. I'm a dev (.NET, mostly web), so don't worry about being too technical

Thanks!

Mat

unread,
Mar 19, 2020, 1:29:36 PM3/19/20
to TiddlyWiki
I imported over 1000 bookmarks into TiddlyWiki from Evernote, and I'm still under 4MB (only about 40 or so have notes, the rest are just title & link)...

Should absolutely not be a problem. I think successful tests have been made with 80.000 tiddlers and 4MB is pretty small.


I tried to change the default Twiddler & got the JavaScript error

That's a basic thing to do so exactly what did you do?

 
So I tried adding a Table of Contents, saved 2 tiddlers, hit F5, error... restore the backup again

Again, you're not really describing what you're doing but adding a ToC should not cause any problems at all. 
 
You can put up a public wiki test case via e.g http://tiddlywiki5.tiddlyspot.com/

<:-)

John Meyer

unread,
Mar 19, 2020, 2:07:09 PM3/19/20
to tiddl...@googlegroups.com
So in an effort to get more information, I tried the following... opened the last known good version of my TW in Chrome (PC is less than a week old, so definitely a current version of Chrome)... I clicked edit on the GettingStarted tiddler, then save on that tiddler, then save on the wiki... the resulting file won't open & is 9kb smaller (went from 3.86MB to 3.85MB... in theory the should be identical)

diffing the files shows that all the &amp; got unescaped to just &, including all the tiddler titles inside the "This <a class="tc-tiddlylink-external" href="https://tiddlywiki.com" rel="noopener noreferrer" target="_blank">TiddlyWiki</a> contains the following tiddlers:" tiddler as well as a bunch of JS files embedded in a JSON object (which explains the JSON parse error... but not why the change happened)

example:

good:

        &quot;$:/language/ControlPanel/Basics/DefaultTiddlers/BottomHint&quot;: {
            &quot;title&quot;: &quot;$:/language/ControlPanel/Basics/DefaultTiddlers/BottomHint&quot;,
            &quot;text&quot;: &quot;Use &amp;#91;&amp;#91;double square brackets&amp;#93;&amp;#93; for titles with spaces. Or you can choose to &lt;$button set=\&quot;$:/DefaultTiddlers\&quot; setTo=\&quot;[list[$:/StoryList]]\&quot;&gt;retain story ordering&lt;/$button&gt;&quot;
        },

bad:

        &quot;$:/language/ControlPanel/Basics/DefaultTiddlers/BottomHint&quot;: {
            &quot;title&quot;: &quot;$:/language/ControlPanel/Basics/DefaultTiddlers/BottomHint&quot;,
            &quot;text&quot;: &quot;Use &#91;&#91;double square brackets&#93;&#93; for titles with spaces. Or you can choose to &lt;$button set=\&quot;$:/DefaultTiddlers\&quot; setTo=\&quot;[list[$:/StoryList]]\&quot;&gt;retain story ordering&lt;/$button&gt;&quot;
        },

Mark S.

unread,
Mar 19, 2020, 2:14:00 PM3/19/20
to TiddlyWiki
How did you import from Evernote?

John Meyer

unread,
Mar 19, 2020, 2:53:54 PM3/19/20
to TiddlyWiki
used the Evernote import plugin, then uninstalled that plugin when I was done... I think I'm going to try doing an upgrade from my last known good into a new wiki, to see if that makes a difference... maybe something got corrupted on import... it does make kind of a mess of the tiddlers it creates

Mark S.

unread,
Mar 19, 2020, 3:39:52 PM3/19/20
to TiddlyWiki
My guess is that some of the titles or fields created have illegal characters or characters that TW doesn't know how to handle. It might even be just one bad title.

John Meyer

unread,
Mar 19, 2020, 6:22:32 PM3/19/20
to TiddlyWiki
Don't know, but "upgrading" it seems to have done the trick

been looking for a way out of Evernote's annoying bugs & pricey subscription without losing the convenience/syncing/etc... TiddlyDesktop & TW5 in the Sky seem like problem solved :)
Reply all
Reply to author
Forward
0 new messages