Re: [tw5] TiddlyIE broken in 5.1.19?

2019-03-31 Thread andrewg_oz
Hi Jeremy,

I loaded my 5.1.13 and tested "window.TiddlyIE" in the console. I got 
"[object] { }". Then I tried the same using a freshly-downloaded empty 
5.1.19 and got the same "[object] { }".

However, if I disable the add-on, then "window.TiddlyIE" becomes 
"undefined". It might simply be disabled for you.

I've been able to set a breakpoint in both 5.1.13 and 5.1.19 at the line in 
"tiddlyie.js" that is "window.TiddlyIE.save(pathname, text);" (i.e. the 
point where the error occurs) to see what pathname and text looked like. 
They looked OK in both cases, but it appears the text must be processed by 
the save function quite a bit (backslash processing at least), and 5.1.13 
and 5.1.19 are radically different and trying to compare the two wasn't 
practical.

Are the empty.html files of previous versions archived anywhere?

Regards,
Andrew Gregory


On Friday, 29 March 2019 17:38:47 UTC+8, Jeremy Ruston wrote:
>
> Hi Andrew
>
> I’m not aware of any problems with TiddlyIE, but equally I’ve no idea how 
> many people are using it these days. If it is broken in v5.1.19 then I 
> think it must be a bug.
>
> I tried installing TiddlyIE in a Windows 10 virtual machine but I found 
> that it doesn’t appear to be visible to TiddlyWiki. In particular, if I 
> open a local TiddlyWiki HTML file and open the browser developer console 
> with F12, and then type “window.TiddlyIE” in the JavaScript console the 
> result is “undefined”.
>
> It would be interesting to see if the same is true with your 5.1.13 wiki; 
> could you try?
>
> Many thanks,
>
> Jeremy
>
>
>
>
> On 29 Mar 2019, at 09:16, andrewg_oz > 
> wrote:
>
> Hi,
>
> I can't save using TiddlyIE after upgrading from 5.1.13 to 5.1.19.
>
> The upgrade appears to be successful. After closing and opening the 
> upgraded TW, I click save - and get an immediate "Internal JavaScript 
> Error, The data is invalid." The "Save As" dialog is not shown.
>
> Call stack shows:
> Error
>at TiddlyIESaver.prototype.save (eval code:40:3)
>at SaverHandler.prototype.saveWiki (eval code:175:3)
>at Anonymous function (eval code:91:4)
>at eventListeners[type] (eval code:399:4)
>at Widget.prototype.dispatchEvent (eval code:412:3)
>at Widget.prototype.dispatchEvent (eval code:418:3)
>at Widget.prototype.dispatchEvent (eval code:418:3)
>at Widget.prototype.dispatchEvent (eval code:418:3)
>at Widget.prototype.dispatchEvent (eval code:418:3)
>at Widget.prototype.dispatchEvent (eval code:418:3)"
>
> Line 40 looks like "window.TiddlyIE.save(pathname, text);"
>
> Everything else seems fine except that the contents of text boxes (e.g. 
> when editing tiddlers, the ControlPanel field where you enter Default 
> tiddlers, etc) are unstyled.
>
> I've tried the upgrade using both IE and Chrome - saving the resulting TW 
> with IE is the same regardless.
>
> TiddlyIE also can't save the plain "empty" TW downloaded from the website, 
> so that eliminates anything funny in my TW.
>
> Is this just me, or is TiddlyIE broken for anyone else? I have no real 
> reason to upgrade apart from that being a good idea in general, so I'm 
> happy with 5.1.13 for now.
>
> Cheers,
> Andrew
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddl...@googlegroups.com .
> To post to this group, send email to tiddl...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/12178c7e-9cb0-487f-ba10-a8d447378199%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0a64daca-a3e0-4c1d-b981-c3dcc0a8d1b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] TiddlyIE broken in 5.1.19?

2019-03-29 Thread andrewg_oz
Hi,

I can't save using TiddlyIE after upgrading from 5.1.13 to 5.1.19.

The upgrade appears to be successful. After closing and opening the 
upgraded TW, I click save - and get an immediate "Internal JavaScript 
Error, The data is invalid." The "Save As" dialog is not shown.

Call stack shows:
Error
   at TiddlyIESaver.prototype.save (eval code:40:3)
   at SaverHandler.prototype.saveWiki (eval code:175:3)
   at Anonymous function (eval code:91:4)
   at eventListeners[type] (eval code:399:4)
   at Widget.prototype.dispatchEvent (eval code:412:3)
   at Widget.prototype.dispatchEvent (eval code:418:3)
   at Widget.prototype.dispatchEvent (eval code:418:3)
   at Widget.prototype.dispatchEvent (eval code:418:3)
   at Widget.prototype.dispatchEvent (eval code:418:3)
   at Widget.prototype.dispatchEvent (eval code:418:3)"

Line 40 looks like "window.TiddlyIE.save(pathname, text);"

Everything else seems fine except that the contents of text boxes (e.g. 
when editing tiddlers, the ControlPanel field where you enter Default 
tiddlers, etc) are unstyled.

I've tried the upgrade using both IE and Chrome - saving the resulting TW 
with IE is the same regardless.

TiddlyIE also can't save the plain "empty" TW downloaded from the website, 
so that eliminates anything funny in my TW.

Is this just me, or is TiddlyIE broken for anyone else? I have no real 
reason to upgrade apart from that being a good idea in general, so I'm 
happy with 5.1.13 for now.

Cheers,
Andrew

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/12178c7e-9cb0-487f-ba10-a8d447378199%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.