The XHR error is due to a code bug in TiddlyWiki. It happens when the server discovers the TiddlyServer is newer on disk than the one in the browser. I added an etagWindow setting to settings.json to mitigate this problem.
I'll check into the file copy fall back. Thank you. On Sun, Apr 8, 2018 at 2:02 AM, 'Mark S.' via TiddlyWiki < [email protected]> wrote: > Every so often I consider switching to Linux. It never works, eventually > there are programs and drivers I need, even though Linux mostly gets better. > > I was running on a persistent USB stick. Actually, 2 sticks, with one > dedicated for persistence. I didn't tweak any Linux Mint settings other > than to allow persistence in the grub boot. > > On another note, changing the IP to 0.0.0.0 didn't allow universal > connect. I had to find and insert my local IP number in order to get other > devices to connect. One of the devices eventually had an error in a > TiddlyWiki file, suggesting that the set-up might not be robust. Think it > was a RSOE with something about XHR. > > Thanks! > -- Mark > > On Saturday, April 7, 2018 at 10:32:26 AM UTC-7, jwd wrote: >> >> >> Arlen, I suggest you look at https://stackoverflow.com/a/8579946/1124740 >> - the second comment: "This will not work if you are crossing partitions >> or using a virtual filesystem not supporting moving files. You better use >> this >> solution <http://stackoverflow.com/a/29105404/532695> with a copy >> fallback" which links to a less (currently) accepted answer to the same >> question https://stackoverflow.com/questions/8579055/how-do-i-move- >> files-in-node-js/29105404#29105404 >> >> On Linux /tmp is often 'mounted' in RAM to increase speed. Google >> suggests MINT users often do this though I can't say if that is the default >> with MINT or something Mark has done with his installation. That would make >> your fs.rename (line 160 of tiddlyserver.ts) fail since you can't rename a >> file from one filesystem to another, you have to actually copy the bits >> and, on success unlink (remove) the original file as the alternative >> solution on stackoverflow does. >> >> Thanks for continuing to maintain TiddlyServer. >> >> -- > 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 [email protected]. > To post to this group, send email to [email protected]. > 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/e048ab9f-b277-4451-8c4f-9d1109be9410%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/e048ab9f-b277-4451-8c4f-9d1109be9410%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. 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/CAJ1vdSS%3D6w%3D%3Dpx0psvyD4_Ve%2BB-hYuii8LYZM28bhKiWHtZkRA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

