"Create a new journal tiddler" stopped using current date after upgrade to 5.1.17

185 views
Skip to first unread message

Alexei Anisimov

unread,
Oct 1, 2018, 6:33:55 AM10/1/18
to TiddlyWiki
Hi!

hope someone can help me where can I start looking, not sure even where to start! 

I'm using tiddlyWiki on Mac (High Sierra 10.13.6 (17G65)) with Firefox (62.0.2 64 bit) and run it via node.js

After recent upgrade to 5.1.17 I've noticed that button "Create a new journal tiddler" started being "stuck" on a previous date.

For example today is Monday 1 October, but if I press it now it opens "2018 September 29 Saturday" tiddler which obviously already exists and that's not what, I want it to create a new one and name it as per the configuration. It used to do the same previously, but only once after the date change (say in the morning) and after doing anything in tiddlywiki during the new day (even trying to create a new empty tiddler), it would pick-up the new date and button would work normally.

Now this doesn't help - for example currently TiddlyWiki is stuck on Saturday, despite me doing edits etc in it yesterday and today also.

Any advice much appreciated!

Regards
Aleksey

TonyM

unread,
Oct 1, 2018, 8:42:18 AM10/1/18
to TiddlyWiki
Aleskey,

Search for shadow tiddlers in advanced search. Any tiddler that is not like the others is likely being overridden. Look for the new journal button if it has been overridden and you dont know why delete it and it will return to the one in the now updated core.

Make a clone as a backup removing tags if you are concerned.

See it that works

Tony

Jeremy Ruston

unread,
Oct 1, 2018, 1:09:15 PM10/1/18
to tiddl...@googlegroups.com
Hi Aleksey

I think you may be running into a bug that has been fixed for 5.1.18:


Can you try the latest prerelease at https://tiddlywiki.com/prerelease

Best wishes

Jeremy.

--
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+...@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/5035d2e4-82d8-40df-9024-c79d1ac869c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

TonyM

unread,
Oct 1, 2018, 7:50:48 PM10/1/18
to TiddlyWiki
Also, It is a good practice to reload your wiki first thing every day, I do so otherwise it sometimes behaves as if it were yesterday.

Alexei Anisimov

unread,
Oct 2, 2018, 7:08:38 AM10/2/18
to TiddlyWiki
thank you so much Jeremy and Tony! let me check and I'll come back with my findings

Alexei Anisimov

unread,
Oct 3, 2018, 12:52:25 AM10/3/18
to TiddlyWiki
OK I think I will have to post more questions now :)

I am not sure how do I safely test it with prerelease v5.1.18 code? I guess I shouldn't just upgrade my whole wiki to it, given it's not released yet

So far I've followed this - https://tiddlywiki.com/#Installing%20TiddlyWiki%20Prerelease%20on%20Node.js

1) cloned the repo to default TiddlyWiki5 directory (my wiki is under another directory of course) 
2) did NOT do sudo npm link yet as I'm not sure what would be the consequences of that
3) started it from there
4) OK now it works and I have local copy of 5.1.18 in another directory which I can run - cool!

BUT it doesn't have such button "Create a new journal tiddler" so I cannot test how it works 

Alexei Anisimov

unread,
Oct 3, 2018, 12:59:43 AM10/3/18
to TiddlyWiki
fully agree! unfortunately this doesn't help anymore to "refresh" the date with which new journal tiddlers should be created

Two interesting observations (such a minor inconvenience it is! but now I'm keen to understand why it happens!)

1) as a test I've put {{!!created}} in my today's journal tiddler (which is named 2018 October 3 Wednesday) and I can see it returns correct date/time

  • this tiddler was created on: Wed Oct 03 2018 14:08:42 GMT+1000 (AEST)

2) While playing around further, I have noticed that after I update the following shadow tiddler (which is a template - Text for new journal tiddlers)


$:/config/NewJournal/Text


The button started to do the right thing! Now when I press it, it correctly opens today's journal tiddler (2018 October 3 Wednesday), OR if I modify template journal title it also uses correct date and creates new tiddler with today's date


$:/config/NewJournal/Title

TonyM

unread,
Oct 3, 2018, 1:05:15 AM10/3/18
to TiddlyWiki

Alexei,


Look under side bar tools for more buttons, or open ControlPanel > Appearance > Toolbars > Page Tool Bar
Then check the buttons to appear on the page toolbar including new Journal, however if you check more at the bottom you will have a dropdown access to all buttons from the page toolbar.

You may also want to change the ControlPanel > Appearance > Story View to Classic or pop to see all open tiddlers at once, because this has being set to demo single tiddlers views on the pre-release.

Regards
Tony

Regards
Tony

Alexei Anisimov

unread,
Oct 3, 2018, 1:15:34 AM10/3/18
to TiddlyWiki
Thanks! yep got it now!

OK let's see.. now it works correctly and created 3rd October 2018

I'll keep it running as a separate instance (put it on a different port) and will see what happens tomorrow

TonyM

unread,
Oct 3, 2018, 1:30:44 AM10/3/18
to TiddlyWiki
A Quick word,

Although a server will continue serving the wiki without restarting the server each day, I have reloaded the wiki in my browser each day to ensure the wiki is freshly loaded because I get some things that do not recognise the new date.

In this case with tiddlyserver (on top of nodeJS)

Regards
Tony

Alexei Anisimov

unread,
Oct 3, 2018, 6:11:18 PM10/3/18
to TiddlyWiki
Hi Tony,

Thanks and yes - this works OK! 

Also I can confirm that in the same browser tab it still creates "3rd October 2018" but now I'm thinking that I didn't in fact install 5.1.18 as configuration of that wiki says it is 5.1.17!..

I thought this below would give me 5.1.18 - is this still how to get latest pre-release code?

$ cd TiddlyWiki5/
$ tiddlywiki editions/tw5.com-server --server 8443 $:/core/save/all text/plain text/html

Regards
Aleksey
Reply all
Reply to author
Forward
0 new messages