Installed tiddlyserver, but still unable to save TW file in FF 61

116 views
Skip to first unread message

JPTech250

unread,
Aug 4, 2018, 7:40:11 PM8/4/18
to TiddlyWiki
Hi all,

Looking for some assistance with saving my TW file using TiddlyServer. Any help is much appreciated.

Issue: After going through all instructions, when I click the checkmark to save in my TW file, I still see a pop-up/dialogue box asking me to select the location.

To start, I've followed the instructions here: https://www.didaxy.com/introduction-to-tiddlyserver

My settings file is as follows:-

{
    "tree": {
        "windows_everybody": "J:\\xxxx\\zzzzzzzzz"
    },
    "types":{
        "htmlfile": ["htm", "html"]
    },
    "username": "",
    "password": "",
    "host": "0.0.0.0",
    "port": 8080,
    "backupDirectory": ".\\backup"
}


To run TiddlyServer, I use my cmd prompt with the command, "node server"

It opens up fine in my browser, so no issues with being able to run TiddlyServer.


There are no special characters in the URL, so I'm assuming there is no need to use the "Fix Put Saver" bookmarklet.

Additional info about my system:-
  • OS: Win 10
  • FF ver 61

Any idea why I am still unable to save the file?

Thanks,
JP





Mark S.

unread,
Aug 4, 2018, 7:46:34 PM8/4/18
to TiddlyWiki
 I'm not sure you need windows style slashes on the backup. Try temporarily taking the back-up out (empty "") and restarting the server.

-- Mark

JPTech250

unread,
Aug 4, 2018, 7:50:32 PM8/4/18
to TiddlyWiki
Thanks for the suggestion. Cleared backup, but still same problem, i.e. seeing the dialogue box.

JPTech250

unread,
Aug 4, 2018, 8:10:35 PM8/4/18
to tiddl...@googlegroups.com
UPDATE

Tested with an empty TW file, and I'm able to save without any issues.

Not sure what's different about my original TW file (apart from content, of course), but the problem appears to be file-specific.

Thanks,all.
-JP



Mark S.

unread,
Aug 5, 2018, 12:15:06 AM8/5/18
to TiddlyWiki
Is there a difference in the TW version number of the two TW files?

I *think* that I had to drag and drop a new version of $:/core/modules/savers/put.js into an older version of TW in order to get it to work on one of my tiddlers. I'm not sure where I got the idea for this.

-- Mark

JPTech250

unread,
Aug 5, 2018, 6:31:07 PM8/5/18
to TiddlyWiki
That makes sense. Yes, the versions are different.

A real puzzle though, used the TW upgrader to bump up my existing TW file to v. 17, and still no dice.

I'll try digging, but the save option is important enough for me where I'll just start over again (and use the older one as reference).

Arlen Beiler

unread,
Aug 5, 2018, 8:48:28 PM8/5/18
to TiddlyWiki
A few things.

First, you can download the latest empty and then just drag the other wiki into it to import everything. 

Second, you can drag the put saver tiddler from empty into the one you are trying to save. 

If you open the devtools in the browser and go to the network tab, what requests are shown?

What is the terminal output for TiddlyServer? The backup directory may have either the escaped windiws backslash or the forward slash, it doesn't matter. I used both in the same file. 

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+...@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/fb4b825b-5a89-4665-b2d5-8f066ac3607b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

JPTech250

unread,
Aug 6, 2018, 7:17:36 AM8/6/18
to TiddlyWiki
Hi Arlen,

Thanks for the suggestions. The error was on my side; Mark's suggestion of dragging the put.js tiddler wasn't applied correctly the last time, but I was able to see this clearly by reviewing both the terminal output and dev tools based on your note.

So thanks to you both for your help!

Just fyi, but here is how I did my troubleshooting (your feedback would be welcome here, as this would be great for future reference, i.e. if anyone else has a similar issue):-

1. Checked terminal output (for both old vs new html files. The "old" html referring to the file where I was unable to save, while "new" being the empty I downloaded for testing)

[2018-08-06T06:45:09.371-0400] GET     192.168.0.16    304 192.168.0.16 /windows_everybody/_archive/old.html                   1.773 ms - -
[2018-08-06T06:45:26.498-0400] GET     192.168.0.16    304 192.168.0.16 /windows_everybody/_archive/old.html                   2.448 ms - -
[2018-08-06T06:46:12.639-0400] GET     192.168.0.16    304 192.168.0.16 /windows_everybody/_archive/old.html                   2.109 ms - -
[2018-08-06T06:47:32.986-0400] GET     192.168.0.16    200 192.168.0.16 /windows_everybody/new.html                            4.243 ms - 2584815
[2018-08-06T06:47:37.873-0400] OPTIONS 192.168.0.16    200 192.168.0.16 /windows_everybody/new.html                            1.112 ms - -
[2018-08-06T06:47:37.873-0400] HEAD    192.168.0.16    304 192.168.0.16 /windows_everybody/new.html                            1.015 ms - -

So no matter what I did with old.html (creating new tiddlers, as an example), I didn't see any OPTIONS or HEAD methods.

2. Then in dev tools, "old" had just the 1 Total Request, while "new" reflected the requests based on my actions.



3. Since "old" didn't show any additional Total Requests (or PUT in terminal output), I used FF's debugger to view the core modules and noticed the missing "put.js". After properly applying Mark's suggestion (and saving the file when prompted via the dialogue box), I was then able to see the file.



Ultimately, this was my user error is not applying put.js directly, but your additional suggestion of using the browser's debugging tools helped identify my mistake.

Thanks again, guys.

Cheers,
JP
Reply all
Reply to author
Forward
0 new messages