Re: [tw5] Re: Announcing File Uploads - TiddlyServer 2.0.12

2020-11-26 Thread Jean-Philippe Rutault
Issue raised ;)

Thanks

Le jeudi 26 novembre 2020 à 10:27:33 UTC+1, TW Tones a écrit :

> Perhaps you could raise an issue here 
> https://github.com/Arlen22/TiddlyServer/issues
>
> Tones
>
> On Thursday, 26 November 2020 at 19:39:45 UTC+11 rutau...@gmail.com wrote:
>
>> Hi everyone,
>>
>> doing some digging, i'll come accross this post and I still have the same 
>> problem with the last version of tiddlyserver and tiddlywiki 5.1.22
>>
>>  SER-DIR 2020-11-26 09:29:22 EXDEV EXDEV: cross-device link not 
>> permitted, rename '/tmp/upload_add9e6cfbb11b251a9b55aabcd1245f7' -> 
>> '/home/gotham/tiddlywiki/static/2.png'
>>  /tmp/upload_add9e6cfbb11b251a9b55aabcd1245f7
>> [2020-11-26T09:29:22.921+-100] POST10.199.1.81 302 172.31.59.2 
>> /static/?formtype=upload222.485 ms - -
>> [2020-11-26T09:29:22.989+-100] GET 10.199.1.81 200 172.31.59.2 
>> /static/?error=upload   5.617 ms - 6751
>>
>> All the uploads attempts are stucked in /tmp 
>>
>> /tmp/upload_170ed61a8a33c28cf471e0e2ac4a57d1  
>> /tmp/upload_2d1e4d42db23f6d8915771c3d290287c  
>> /tmp/upload_772ed0a3a194f1bef4b4be3b224264c5  
>> /tmp/upload_ecf1c0800f34062e51adaf27b578801b
>> /tmp/upload_1a67407c3594e7185a0efeff00ca3a36  
>> /tmp/upload_4d40d55cbdcdf8ec8badde64e442819f  
>> /tmp/upload_add9e6cfbb11b251a9b55aabcd1245f7
>> /tmp/upload_1cb9f2c4b30f31f7895cfd70c5e9a5bb  
>> /tmp/upload_66325f02269f2436c2cc6ccf3ce44691  
>> /tmp/upload_aeed7111924de407654a35290611f92d
>>
>> Thanks in advance for your Help
>> Le dimanche 8 avril 2018 à 02:56:30 UTC+2, arle...@gmail.com a écrit :
>>
>>> 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.
>>>
>>>
 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
  
 
 .
>>>
>>>
 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

Re: [tw5] Re: Announcing File Uploads - TiddlyServer 2.0.12

2020-11-26 Thread TW Tones
Perhaps you could raise an issue 
here https://github.com/Arlen22/TiddlyServer/issues

Tones

On Thursday, 26 November 2020 at 19:39:45 UTC+11 rutau...@gmail.com wrote:

> Hi everyone,
>
> doing some digging, i'll come accross this post and I still have the same 
> problem with the last version of tiddlyserver and tiddlywiki 5.1.22
>
>  SER-DIR 2020-11-26 09:29:22 EXDEV EXDEV: cross-device link not permitted, 
> rename '/tmp/upload_add9e6cfbb11b251a9b55aabcd1245f7' -> 
> '/home/gotham/tiddlywiki/static/2.png'
>  /tmp/upload_add9e6cfbb11b251a9b55aabcd1245f7
> [2020-11-26T09:29:22.921+-100] POST10.199.1.81 302 172.31.59.2 
> /static/?formtype=upload222.485 ms - -
> [2020-11-26T09:29:22.989+-100] GET 10.199.1.81 200 172.31.59.2 
> /static/?error=upload   5.617 ms - 6751
>
> All the uploads attempts are stucked in /tmp 
>
> /tmp/upload_170ed61a8a33c28cf471e0e2ac4a57d1  
> /tmp/upload_2d1e4d42db23f6d8915771c3d290287c  
> /tmp/upload_772ed0a3a194f1bef4b4be3b224264c5  
> /tmp/upload_ecf1c0800f34062e51adaf27b578801b
> /tmp/upload_1a67407c3594e7185a0efeff00ca3a36  
> /tmp/upload_4d40d55cbdcdf8ec8badde64e442819f  
> /tmp/upload_add9e6cfbb11b251a9b55aabcd1245f7
> /tmp/upload_1cb9f2c4b30f31f7895cfd70c5e9a5bb  
> /tmp/upload_66325f02269f2436c2cc6ccf3ce44691  
> /tmp/upload_aeed7111924de407654a35290611f92d
>
> Thanks in advance for your Help
> Le dimanche 8 avril 2018 à 02:56:30 UTC+2, arle...@gmail.com a écrit :
>
>> 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.
>>
>>
>>> 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
>>>  
>>> 
>>> .
>>
>>
>>> 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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b7d74c4c-d217-42ad-a3c7-7f4d2eedb08cn%40googlegroups.com.

Re: [tw5] Re: Announcing File Uploads - TiddlyServer 2.0.12

2020-11-26 Thread Jean-Philippe Rutault
Hi everyone,

doing some digging, i'll come accross this post and I still have the same 
problem with the last version of tiddlyserver and tiddlywiki 5.1.22

 SER-DIR 2020-11-26 09:29:22 EXDEV EXDEV: cross-device link not permitted, 
rename '/tmp/upload_add9e6cfbb11b251a9b55aabcd1245f7' -> 
'/home/gotham/tiddlywiki/static/2.png'
 /tmp/upload_add9e6cfbb11b251a9b55aabcd1245f7
[2020-11-26T09:29:22.921+-100] POST10.199.1.81 302 172.31.59.2 
/static/?formtype=upload222.485 ms - -
[2020-11-26T09:29:22.989+-100] GET 10.199.1.81 200 172.31.59.2 
/static/?error=upload   5.617 ms - 6751

All the uploads attempts are stucked in /tmp 

/tmp/upload_170ed61a8a33c28cf471e0e2ac4a57d1  
/tmp/upload_2d1e4d42db23f6d8915771c3d290287c  
/tmp/upload_772ed0a3a194f1bef4b4be3b224264c5  
/tmp/upload_ecf1c0800f34062e51adaf27b578801b
/tmp/upload_1a67407c3594e7185a0efeff00ca3a36  
/tmp/upload_4d40d55cbdcdf8ec8badde64e442819f  
/tmp/upload_add9e6cfbb11b251a9b55aabcd1245f7
/tmp/upload_1cb9f2c4b30f31f7895cfd70c5e9a5bb  
/tmp/upload_66325f02269f2436c2cc6ccf3ce44691  
/tmp/upload_aeed7111924de407654a35290611f92d

Thanks in advance for your Help
Le dimanche 8 avril 2018 à 02:56:30 UTC+2, arle...@gmail.com a écrit :

> 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+unsubscr...@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
>>  
>> 
>> .
>
>
>> 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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/26d0ba6d-eac0-4398-abfb-877df3a9128cn%40googlegroups.com.


Re: [tw5] Re: Announcing File Uploads - TiddlyServer 2.0.12

2018-04-07 Thread Arlen Beiler
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 <
tiddlywiki@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+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@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
> 
> .
>
> 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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/CAJ1vdSS%3D6w%3D%3Dpx0psvyD4_Ve%2BB-hYuii8LYZM28bhKiWHtZkRA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Announcing File Uploads - TiddlyServer 2.0.12

2018-04-07 Thread 'Mark S.' via TiddlyWiki
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Announcing File Uploads - TiddlyServer 2.0.12

2018-04-07 Thread jwd

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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/919fb283-121a-4f45-88c7-0fc0052df95d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.