[TW5] I can't open my wiki because of an infinite loop

54 views
Skip to first unread message

Omit

unread,
Jan 14, 2016, 6:42:14 PM1/14/16
to TiddlyWiki
Hi,

I did something very stupid: I tagged "Tiddler A" with "Tiddler B", and I tagged "Tiddler B" with "Tiddler A".

So the table of contents on the right becomes infinite, and my browser crashes.

Unfortunately, the wiki is encrypted so I cannot modify the source code to remove one of the tags.

I tried the firefox javascript debugger with no success.

I am afraid that my information is lost. Is there any way to save it?

Cheers

Omit

unread,
Jan 14, 2016, 6:56:38 PM1/14/16
to TiddlyWiki
OK, sorry for the useless noise! I fixed my problem by importing the problematic tiddlywiki file to a new other tiddlywiki, and I imported everything except "Tiddler B".

Eric Shulman

unread,
Jan 14, 2016, 7:08:06 PM1/14/16
to TiddlyWiki
If you modified the TableOfContents shadow tiddler (e.g., to use your own "root tag"), then you might be able to bypass the problem by using Safe Mode (http://tiddlywiki.com/#SafeMode) to load the file with the default shadow TableOfContents, so that TiddlerA and TiddlerB won't be in the tree, avoiding the infinite recursion.

Another method that might work:

First, drop the 'broken' document on a fresh empty.html and import all tiddlers except for TiddlerB.  Next, edit TiddlerA and remove the tag for TiddlerB.  Then, you can safely import TiddlerB without it causing the infinite recursion.

enjoy,
-e



Reply all
Reply to author
Forward
0 new messages