[TW5] Cannot save username when running under node.js

100 views
Skip to first unread message

Mal

unread,
Oct 9, 2017, 4:17:18 AM10/9/17
to TiddlyWiki
Hi All,

I have a tiddlywiki running under node.js and all seems to be working fine, except that it refuses to save the tiddler "$:/status/UserName" when I update this tiddler directly, or by editing the "Username for signing edits:" field in the Control Panel.

Any ideas on what could be the problem with this?  Am I missing something here?

Thanks,

Mal

Arlen Beiler

unread,
Oct 9, 2017, 9:24:13 AM10/9/17
to TiddlyWiki
I think you can specify it via the command line.

--
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+unsubscribe@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/25140f5e-5f78-4792-9978-8ed78b8a799f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

TonyM

unread,
Oct 9, 2017, 7:58:28 PM10/9/17
to TiddlyWiki
MAl,

I observe the same, behavior, however via tiddlyserver it does save the user, in this case TiddlyServer is ultimately NodeJS and I am opening a node tiddlywiki. I see that I have specified in the TiddlyServer settings.json 

    "username": "",
    "password": "",

Perhaps if you start Node server somehow with a user "" it will work for you.

Regards
Tony

Arlen Beiler

unread,
Oct 9, 2017, 10:06:04 PM10/9/17
to TiddlyWiki
Here is a link to the docs for the TiddlyWiki server command: http://tiddlywiki.com/#ServerCommand

As a side note, in checking this, TiddlyServer always sets the server command to a blank username instead of the username in settings.json. I've corrected this now in master. However, setting the username in settings.json to a blank string will still have the same effect.

Arlen

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.

Mal

unread,
Oct 9, 2017, 11:32:32 PM10/9/17
to tiddl...@googlegroups.com
Thanks for the responses, guys.

Clearly, with the username coming from the server command line, it inhibits the saving of "$:/status/UserName" to avoid confusion.  At least I now have a better understanding of how this works.

Regards,

Mal



Reply all
Reply to author
Forward
0 new messages