Re: [tw] Re: Testers needed for TiddlyServer

2017-11-19 Thread Arlen Beiler
412 errors show up whenever they happen. I will add a debug setting later. I am planning to add an admin screen to change settings at some point. I am hoping to push a release soon, but for now you will need to use master to make use of the Etag settings I added. Hope that helps -Arlen On Nov

Re: [tw] Re: Testers needed for TiddlyServer

2017-11-08 Thread TonyM
Arlen, Post Script I almost have a practical way of exporting files and commands from tiddlywiki to the Operating system. Node or single file. *My only hump is to export files with my desired file extension without being forced to use txt .tid and .json (cry for help)* However since the

Re: [tw] Re: Testers needed for TiddlyServer

2017-11-08 Thread TonyM
Arlen, I did not see anything on the console with 412 errors that I recall. I am now using the latest version a lot so I am giving it a "soak" test. Was there a debug setting I should just use the console - in my case, Windows 10, the command window that appears. Lovely work! Regards Tony

Re: [tw] Re: Testers needed for TiddlyServer

2017-11-05 Thread coda coder
On Saturday, November 4, 2017 at 4:08:36 PM UTC-5, Arlen Beiler wrote: > > It took a little to rework the code, but I haven't gotten any feedback on > whether or not it works, so I'm guessing maybe it does :) > Yeah, "maybe it does". Passed 48 hour uptime mark. No problems. :) -- You

Re: [tw] Re: Testers needed for TiddlyServer

2017-11-04 Thread Arlen Beiler
Just people who know how to select the console output and copy it into an email whenever something crashes. Or open text files and email their contents. Everyone was begging me for some kind of bundled executable, so I threw this in to see how it would work. It took a little to rework the code,

Re: [tw] Re: Testers needed for TiddlyServer

2017-11-04 Thread coda coder
On Saturday, November 4, 2017 at 10:07:26 AM UTC-5, @TiddlyTweeter wrote: > > you done gone cracked it > > That is a line from a movie. x > > Life imitates art. Whoda thunk it. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe

Re: [tw] Re: Testers needed for TiddlyServer

2017-11-04 Thread @TiddlyTweeter
you done gone cracked it That is a line from a movie. x -- 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

Re: [tw] Re: Testers needed for TiddlyServer

2017-11-04 Thread coda coder
Uptime = 21 hours. Multiple TWs served, edited, saved. No glitches. I think you done gone cracked it ;) On Friday, November 3, 2017 at 3:10:41 PM UTC-5, Arlen Beiler wrote: > > Correct. > > No fingers crossed, I wrote the code. If you still get the 412 with > etag:"disabled", that's a

Re: [tw] Re: Testers needed for TiddlyServer

2017-11-03 Thread Arlen Beiler
Correct. No fingers crossed, I wrote the code. If you still get the 412 with etag:"disabled", that's a bug, not a feature :) Enjoy, Arlen On Fri, Nov 3, 2017 at 1:06 PM, coda coder wrote: > Cool. Thanks Arlen. It's up an running now - fingers crossed. > > I've

Re: [tw] Re: Testers needed for TiddlyServer

2017-11-03 Thread coda coder
Cool. Thanks Arlen. It's up an running now - fingers crossed. I've added: "etag": "disabled", "etagWindow": 0, to my settings. I guess the value of etagWindow doesn't matter when etag is disabled - right? On Friday, November 3, 2017 at 11:28:59 AM UTC-5, Arlen Beiler wrote: > > Ok,

Re: [tw] Re: Testers needed for TiddlyServer

2017-11-03 Thread Arlen Beiler
Ok, I've added this feature to master and updated the readme. I don't have time for another release right now, so just download or clone master, and then copy your settings.json file and the tiddlywiki folder from your old version into master. If you were using the nexe version, just copy

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-27 Thread coda coder
On Friday, October 27, 2017 at 8:37:44 PM UTC-5, Arlen Beiler wrote: > > The time window would work something like this. > > Let's say you have the wiki open in one tab and you do some editing and > the changes get saved. Can you open it in another tab or window or on > another computer, and

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-27 Thread Arlen Beiler
The time window would work something like this. Let's say you have the wiki open in one tab and you do some editing and the changes get saved. Can you open it in another tab or window or on another computer, and make some changes there. Then you come back to the first computer or tab and without

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-27 Thread coda coder
Let me say this another way... A PUT request is an undeniable request made by the client, Honor it. Honor it and let the issuer own the consequences. On Friday, October 27, 2017 at 9:35:43 AM UTC-5, coda coder wrote: > > > > On Friday, October 27, 2017 at 7:38:48 AM UTC-5, Arlen Beiler

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-27 Thread coda coder
On Friday, October 27, 2017 at 7:38:48 AM UTC-5, Arlen Beiler wrote: > > The backup feature could probably be better described as a complete > version history. I can disable e-tags if someone is using backups and they > won't lose anything. > I don't know the detail, unfortunately, but if

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-27 Thread @TiddlyTweeter
Ciao Arlen Arlen Beiler wrote: > > The backup feature could probably be better described as a complete > version history. > Right. I think that is more accurate and alerts users its advisable to do "redundant backup" too. Its just basic when you invest effort into projects to do that. The

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-27 Thread Arlen Beiler
The backup feature could probably be better described as a complete version history. I can disable e-tags if someone is using backups and they won't lose anything. The other option is to add a setting that would allow you to set a time window within which an e-tag is valid. So if most of your

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-25 Thread coda coder
I'm using a hard drive. On Wednesday, October 25, 2017 at 10:05:40 PM UTC-5, Arlen Beiler wrote: > > The other thing I am wondering about is write caching. But that shouldn't > be the case on a USB stick, and it should still be consistent. > > On Oct 25, 2017 22:51, "coda coder"

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-25 Thread Arlen Beiler
The other thing I am wondering about is write caching. But that shouldn't be the case on a USB stick, and it should still be consistent. On Oct 25, 2017 22:51, "coda coder" wrote: On Wednesday, October 25, 2017 at 9:29:01 PM UTC-5, Arlen Beiler wrote: > > It

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-25 Thread Arlen Beiler
It didn't turn back on by itself, did it? I'm really puzzled by this. Obviously this is a security feature, but sometimes security features don't work correctly. Does it make a difference what size file you are working with? I have some ideas for what to do about this, but they have their limits.

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-25 Thread coda coder
Damn. I spoke too soon. Now I'm seeing the error again (same as posted by Eskha). It's really frustrating -- it's been running fine for *many* hours. And I can't blame AV any more. Sorry. On Wednesday, October 25, 2017 at 2:06:37 PM UTC-5, coda coder wrote: > > > > On Monday, October 23,

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-25 Thread coda coder
On Monday, October 23, 2017 at 9:12:21 PM UTC-5, Arlen Beiler wrote: > > If anyone else has any additional information or test results, or ideas, > feel free to comment. > > > Success (fingers crossed). Win7, Microsoft Security Essentials set to exclude my TW folders (and the TS install

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-25 Thread Eskha
Hi Arlen, On windows 7 with Firefox, I also have a lot of XMLHttpRequest: 412 errors, with the following error in TiddlyWiki: "TypeError: xhr is undefined" and in the command line: [2017-10-25T17:57:45.141+-200] PUT 127.0.0.1 200 127.0.0.1 /my_wiki/No tes.html

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-23 Thread Arlen Beiler
Thank you. I could calculate the file hash and use that as the Etag, but I would need to read the file once (in chunks) to calculate the hash, and then again to send it to the client. Or I could store the entire file in memory after calculating the hash, and send it to the client without reading

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-23 Thread Anders Jonsson
Hi! Using the 2.0.8-nexe I get the following message when the 412 error occurs (which for me is after something like 40-50 auto-saves): 412 ifmatch "1125899906846851-2837220-150873772" 412 etag "1125899906846851-2837220-1508737721000" 412 caused by difference in modified (Regarding

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-22 Thread Arlen Beiler
For Linux you can download the bundled.zip one, following the instructions in the readme. You can install node globally using your package manager, and then just skip the node installation step. On Oct 22, 2017 07:57, "Mike Manchester" wrote: > Do you know when the

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-21 Thread coda coder
Wow - good idea, jwd. Slapping my head here for not having thought of it myself. This is a Win7 box and I only use MSE on it. I'll cover that possibility when I next test. @Arlen. I'll try the new release tomorrow (Sunday) sometime. On Saturday, October 21, 2017 at 5:36:05 PM UTC-5, jwd

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-19 Thread Arlen Beiler
The best that I can figure is that it is some kind of problem on the file system. But I don't know which of two problems it is. Either it is because of the inode, or because of the modified time. I made a new release which will give more info about the 412 error in the node console when it

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-19 Thread coda coder
On Thursday, October 19, 2017 at 6:42:38 AM UTC-5, Arlen Beiler wrote: > > @coda and @jim, have you used the bundled version of TiddlyServer before > and did it also have this problem for you? > I have never used TS before - this was my first time. Any progress, Arlen? -- You received this

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-19 Thread Arlen Beiler
@coda and @jim, have you used the bundled version of TiddlyServer before and did it also have this problem for you? Thanks Arlen On Wed, Oct 11, 2017 at 11:17 PM, wrote: > > > On Wednesday, October 11, 2017 at 10:03:34 PM UTC-5, Arlen Beiler wrote: >> >> If you

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-11 Thread codacodercodacoder
On Wednesday, October 11, 2017 at 10:03:34 PM UTC-5, Arlen Beiler wrote: > > If you use the nexe zip, it should not matter what version of node you > have installed. > > Good. > I cannot see a reason that a 412 would suddenly start happening unless > perhaps if two saves happened too close

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-11 Thread Arlen Beiler
Thank you all for your input. I will check into these things and hopefully figure something out. I don't know what is causing the 412 error, but it is considered a safeguard to make sure a stale copy does not get saved to the server. Yes, the nexe zip contains its own version of node, I should

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-11 Thread codacodercodacoder
On Wednesday, October 11, 2017 at 4:08:16 PM UTC-5, Arlen Beiler wrote: > > The reason I asked about the terminal output is because the line that > specifies the put request also specifies the response that the server > returned, which in this case should be 412. > > Yep, here it is:

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-11 Thread codacodercodacoder
On Wednesday, October 11, 2017 at 4:08:16 PM UTC-5, Arlen Beiler wrote: > > The reason I asked about the terminal output is because the line that > specifies the put request also specifies the response that the server > returned, which in this case should be 412. > > I'll pay closer attention

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-11 Thread Arlen Beiler
The reason I asked about the terminal output is because the line that specifies the put request also specifies the response that the server returned, which in this case should be 412. The server does not think it's saved if it returns a 412. It is telling the client that it could not save because

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-11 Thread codacodercodacoder
You can discount the dropbox theory, not in play here. I'm intrigued by your point #4 though. How long do you typically wait for the problem to magically "go away"? On Wednesday, October 11, 2017 at 2:59:26 PM UTC-5, Anders Jonsson wrote: > > I keep my TWs on an internal drive. > > But that

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-11 Thread Anders Jonsson
I keep my TWs on an internal drive. But that reminds me that I have them stored in my Dropbox folder, and wondering if the Dropbox-syncing might affect things? (Guessing blindly, me knowing next to nothing about the ”under the hood network stuff”...) //Anders -- You received this message

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-11 Thread codacodercodacoder
On Wednesday, October 11, 2017 at 2:21:54 PM UTC-5, Anders Jonsson wrote: > > I will chime in to say that I’ve also had plenty of this 412/RSOD problem > (and I’m relying on equal measures of manual saves and autosaves; win10, > FF56, TW5.1.14)... > > 1. White box stating ”Error while saving:

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-11 Thread Anders Jonsson
I will chime in to say that I’ve also had plenty of this 412/RSOD problem (and I’m relying on equal measures of manual saves and autosaves; win10, FF56, TW5.1.14)... 1. White box stating ”Error while saving: XMLHttpRequest error code: 412” 2. The big, red ”embarrasment” box stating ”TypeError:

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-11 Thread codacodercodacoder
On Wednesday, October 11, 2017 at 1:07:38 PM UTC-5, Arlen Beiler wrote: > > So even after you start getting the error it will still manually save > without errors? > No. Once I've seen the error, the only cure is to close the TW and reopen it. > And when you say save, do you mean it

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-11 Thread Arlen Beiler
So even after you start getting the error it will still manually save without errors? And when you say save, do you mean it saves to the server? Or does the manual download saver kick in? Or do you mean that the error only starts occurring when using autosave? What version is your TiddlyWiki

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-11 Thread codacodercodacoder
On Wednesday, October 11, 2017 at 10:32:41 AM UTC-5, Arlen Beiler wrote: > > The 412 is thrown if the server thinks the client is working from a stale > copy. Is it somehow possible that another application updated the html file > on disk? > No, single copy open in the browser. Note that

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-11 Thread Arlen Beiler
The 412 is thrown if the server thinks the client is working from a stale copy. Is it somehow possible that another application updated the html file on disk? Especially if you can do several saves and then start getting the error. The other errors are a little puzzling, but I think might involve

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-10 Thread codacodercodacoder
On Tuesday, October 10, 2017 at 10:18:36 PM UTC-5, Arlen Beiler wrote: > > I'm sorry for the confusion. > >- Download TiddlyServer-2.0.7-nexe-win-64.zip from >https://github.com/Arlen22/TiddlyServer/releases/tag/2.0.7 >- Unzip to your desired location. >- Copy your settings.json

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-10 Thread Arlen Beiler
I'm sorry for the confusion. - Download TiddlyServer-2.0.7-nexe-win-64.zip from https://github.com/ Arlen22/TiddlyServer/releases/tag/2.0.7 - Unzip to your desired location. - Copy your settings.json inside the folder you

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-10 Thread codacodercodacoder
No luck, Arlen... On Tuesday, October 10, 2017 at 9:44:11 PM UTC-5, Arlen Beiler wrote: > > > @codacoder, tiddlyserver-2.0.7-nexe is the download with the executable. > The one you downloaded is tiddlyserver-2.0.7-bundled. I'm sorry for the > confusion, I don't think I explained it correctly.

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-10 Thread Arlen Beiler
@Jim, you need to put a settings.json file next to the dist folder containing the tiddlyserver settings. @codacoder, tiddlyserver-2.0.7-nexe is the download with the executable. The one you downloaded is tiddlyserver-2.0.7-bundled. I'm sorry for the confusion, I don't think I explained it

Re: [tw] Re: Testers needed for TiddlyServer

2017-10-10 Thread Arlen Beiler
I beg your pardon. If you download the nexe zip for your platform, and unzip it, then you should be able to go into the dist folder and run the binary contained in it. It's compiled into one executable instead of being a bunch of loose javascript files. On Tue, Oct 10, 2017 at 10:05 AM, 'Mark S.'