Error during import following Firefox upgrade

110 views
Skip to first unread message

Michael

unread,
Apr 25, 2017, 6:58:39 PM4/25/17
to TiddlyWiki
Hello,

I am using an old version TiddlyWiki on Firefox. Despite being years old, it has worked very reliably.

However following a recent update, the TiddlyWiki can no longer import tiddlers from another file.

When I look in the Firefox debug console, there are no errors and just a single warning "The Components object is deprecated. It will soon be removed."

Is there any trick to get this working?

Firefox is version 53.0 and TiddlyFox is 2.0.1

Thank you

Michael

unread,
Apr 25, 2017, 11:04:49 PM4/25/17
to TiddlyWiki

Just to clarify, I use the "ImportTiddlers" tiddler to import tiddlers from a shared tiddlers file.

TiddlyWiki shows an error message saying "error during import c:\twiki\SharedTiddlersFile.html".

Michael

unread,
May 2, 2017, 8:42:06 PM5/2/17
to TiddlyWiki

Ok, so I've done some debugging and got closer to the issue.

This is the line that tries to load the file containing the tiddlers.

var r = mozillaLoadFile(fileUrl);

If I set a breakpoint on this line, reload and then step over it, it works! If instead I set a breakpoint just after this line and reload, it fails.

Michael

unread,
May 2, 2017, 8:52:09 PM5/2/17
to TiddlyWiki

And the exception is: "netscape.security.PrivilegeManager is undefined"

But it is defined if I set a breakpoint beforehand.


TonyM

unread,
May 6, 2017, 3:17:57 AM5/6/17
to TiddlyWiki
I believe it is your older version of tiddlywiki using the depricated "netscape.security.
PrivilegeManager".

Why not keep a copy and try and update your tiddlywiki core?

if not; I suggest getting a new empty file and importing all you tiddlers, save a reload and try again.

Regards
Tony
Reply all
Reply to author
Forward
0 new messages