[tw5] Re: Internal JS error after updating to 5.1.20

2019-08-13 Thread Hubert
Thanks for all your suggestions.

Have you seen recent threads?
>

Yes, this was my fist step, as always :)

Give the reference to language did you add or remove a language? Perhaps do 
> that again after the upgrade.
>

that does look like the language setting and you said you doubled checked 
> it...
>

I've never touched language settings and it was only with this upgrade that 
problems were created.

that will rule out the startup tiddlers if you have any being the issue
>

Startup tiddlers were not the issue, but thanks to your hint I had a look 
at my startup actions, tagged $:/tags/StartupAction, one by one and have 
pinpointed the issue to the reveal widget(!)

So, basically the issue was that I had a few nested macros embedded in a 
reveal widget in a tiddler tagged $:/tags/StartupAction whose purpose was 
to evaluate whether today falls within a predefined time range.

In short, when the reveal widget evaluated to 'true' and the macro embedded 
therein could fire on startup (as it was a $:/tags/StartupAction tiddler) 
then no problems were created. However, when the reveal widget evaluated to 
'false', TW returned the (seemingly random) $tw.language is undefined error 
on startup. I have no idea how and why this should be related.

I've seen that the reveal widget was updated in 5.1.20. Although I have no 
idea how the updated reveal widget evaluating to 'false' could be related 
to a 'language error' when triggered as a startup action, this is what I 
I've pinpointed as the problem here.

So, I'm not sure if this should be reported as a potential bug as it 
appears to be an edge case. I will do look for patterns in my reveal 
widgets and will report back in case of further issues.

Anyway, problem solved. Thanks again Tony & A Gloom for your suggestions!

Best regards,
Hubert


On Tuesday, 13 August 2019 04:58:36 UTC+1, A Gloom wrote:
>
> that does look like the language setting and you said you doubled checked 
> it...
>
> quick troubleshooting trick you can try--
>
> go to your previous version wiki, remove all tiddler titless from the 
> default tiddlers list in Control Panel>Info, to prevent any tiddlers from 
> opening with the loading of your wiki after upgrading, then upgrade
>
> that will rule out the startup tiddlers if you have any being the issue
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2f67e49e-d89d-4d59-a4d3-94c813cc645b%40googlegroups.com.


[tw5] Re: Internal JS error after updating to 5.1.20

2019-08-12 Thread A Gloom
that does look like the language setting and you said you doubled checked 
it...

quick troubleshooting trick you can try--

go to your previous version wiki, remove all tiddler titless from the 
default tiddlers list in Control Panel>Info, to prevent any tiddlers from 
opening with the loading of your wiki after upgrading, then upgrade

that will rule out the startup tiddlers if you have any being the issue

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/79af3e69-3a03-4656-bff8-f101aace4be1%40googlegroups.com.


[tw5] Re: Internal JS error after updating to 5.1.20

2019-08-12 Thread TonyM
Have you seen recent threads?

Also review your source wiki to see if there are overwritten shadow 
tiddlers. Speculation: Give the reference to language did you add or remove 
a language? Perhaps do that again after the upgrade.

Regards
Tony

On Monday, August 12, 2019 at 8:14:11 PM UTC+10, Hubert wrote:
>
> Hello,
>
> Thanks for the update! Unfortunately, I get the following error when 
> opening the upgraded TW file:
>
> [image: error.png]
>
>
> What I've tried so far:
>
>
>
>- I've disabled all plugins
>- I've removed password protection (encryption)
>- I've checked my language in Settings (it's set to UK English)
>
> Unfortunately, the issue persists and there's little else I could think 
> of. Would anyone have any ideas about what could have gone wrong and how I 
> could fix that?
>
> Thank you in advance!
>
> Best regards,
> Hubert
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f17e5093-07f6-47c5-82a4-5eadeb7009a9%40googlegroups.com.