SyntaxError: Unexpected token =
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/home/mint/Downloads/TiddlyServer-2.0.12/src/server.js:6:24)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
{
"tree": {
"TW2014": "/media/mint/Acer/D/data/TW2014/",
"test": "test/",
"relative": "../relative_to_settings_file",
"linux": "/home/ubuntu/",
"branch": {
"twig1": "C:/Some Folder",
"twig2": "C:/Some Other Folder"
}
},
"types":{
"htmlfile": ["htm", "html"]
},
"username": "MAS",
"password": "",
"host": "127.0.0.1",
"port": 8080,
"backupDirectory": "",
"etagWindow": 0,
"etag": "",
"useTW5path" : false
}
--
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/ce8c14c9-9099-4bbf-b753-8c68e4dc94c5%40googlegroups.com.
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 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/6ba73793-b232-407c-9730-24660977ee2a%40googlegroups.com.
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/8f0a4158-53c5-4d03-8849-ac8eed73bd6a%40googlegroups.com.
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/cc771682-89de-490d-a8d6-e072f2a292b3%40googlegroups.com.
SER-API 2018-04-03 09:16:32 EXDEV EXDEV: cross-device link not permitted, rename '/tmp/upload_d4764ec4d05eef63b43af05f894554a7' -> '/home/mint/Downloads/TiddlyServer-2.0.12/test/TW-Images/Bowline_on_a_bight.jpg'
/tmp/upload_d4764ec4d05eef63b43af05f894554a7
[2018-04-03T09:16:32.874-0700] POST 127.0.0.1 302 127.0.0.1 /IMAGE_PATHS/TW-Images/?formtype=upload 9.164 ms - -
[2018-04-03T09:16:32.894-0700] GET 127.0.0.1 200 127.0.0.1 /IMAGE_PATHS/TW-Images/?error=upload 0.863 ms - -
[2018-04-03T09:16:33.054-0700] GET 127.0.0.1 304 127.0.0.1 /directory.css 0.428 ms - -
[2018-04-03T09:16:33.062-0700] GET 127.0.0.1 304 127.0.0.1 /icons/folder.png 0.375 ms - -
twboot-/home/mint/Downloads/TiddlyServer-2.0.12/test: 430.342ms
[2018-04-03T09:16:47.829-0700] GET 127.0.0.1 200 127.0.0.1 /test/recipes/default/tiddlers.json 432.996 ms - -
syncer-server-filesystem: Dispatching 'save' task: $:/StoryList
filesystem: Saved file /home/mint/Downloads/TiddlyServer-2.0.12/test/tiddlers/$__StoryList.tid
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/21b0f76c-befb-4639-a97c-d61bc78327b7%40googlegroups.com.
--
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/e048ab9f-b277-4451-8c4f-9d1109be9410%40googlegroups.com.
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 <tiddl...@googlegroups.com> 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 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 tiddlywiki+...@googlegroups.com.