Hi Jeremy,

Again save/sync problems.

Now I get - after some time not editing - messages about "Draft of new 
tiddlers" while I don't see an open draft tiddler.
>From that time on it does not save anymore.

GET http://localhost:8080/recipes/default/tiddlers.json [HTTP/1.1 200 OK 
36ms]
GET http://localhost:8080/recipes/default/tiddlers.json [HTTP/1.1 200 OK 
34ms]
GET http://localhost:8080/recipes/default/tiddlers.json [HTTP/1.1 200 OK 
44ms]
GET http://localhost:8080/recipes/default/tiddlers.json [HTTP/1.1 200 OK 
41ms]
PUT 
http://localhost:8080/recipes/default/tiddlers/Draft%20of%20%27New%20Tiddler%27 
[HTTP/1.1 204 OK 1ms]
no element found Draft%20of%20%27New%20Tiddler%27:1
PUT http://localhost:8080/recipes/default/tiddlers/New%20Tiddler [HTTP/1.1 
204 OK 1ms]
no element found New%20Tiddler:1
PUT 
http://localhost:8080/recipes/default/tiddlers/Draft%20of%20%27New%20Tiddler%27 
[HTTP/1.1 204 OK 1ms]
no element found Draft%20of%20%27New%20Tiddler%27:1
PUT 
http://localhost:8080/recipes/default/tiddlers/Draft%20of%20%27New%20Tiddler%27 
[HTTP/1.1 204 OK 1ms]
no element found Draft%20of%20%27New%20Tiddler%27:1
PUT 
http://localhost:8080/recipes/default/tiddlers/Draft%20of%20%27New%20Tiddler%27 
[HTTP/1.1 204 OK 1ms]
no element found Draft%20of%20%27New%20Tiddler%27:1

The Windows command windows shows the same kind of messages:

syncer-server: Dispatching 'save' task: Draft of 'New Tiddler'
FileSystem: Saved file D:\Data\TiddlyWiki\TW5\_TW5_Node\TW5Help\tiddlers/
Draft of 'New Tiddler'.tid
syncer-server: Dispatching 'save' task: Draft of 'New Tiddler'
FileSystem: Saved file D:\Data\TiddlyWiki\TW5\_TW5_Node\TW5Help\tiddlers/
Draft of 'New Tiddler'.tid

Hope that helps.

Cheers,

Ton


On Friday, March 21, 2014 6:48:28 PM UTC+1, Jeremy Ruston wrote:
>
> Hi Ton
>
> Thanks for the report. There's a fix for one of the outstanding sync 
> problems in 5.0.9, courtesy of this pull request from buggyj:
>
> https://github.com/Jermolene/TiddlyWiki5/pull/496
>
> That fix concerns tiddlers that get deleted while there is still a pending 
> save to the server. I think the situation you describe is a different 
> problem, and we'll continue to investigate.
>
> Best wishes
>
> Jeremy
>
>
>
>
>
> On Fri, Mar 21, 2014 at 5:04 PM, Ton Gerner <[email protected]<javascript:>
> > wrote:
>
>> Hi Jeremy,
>>
>> Since a few days I am again playing around with TW5 and node.js (Windows 
>> 7, Firefox v28, TW5.0.8-beta).
>> A few times I noted that changes were not saved, but I didn't have the 
>> console open so could not check messages.
>>
>> Today it happened again while I had the console open (and the Windows 
>> command window open).
>> Like Matabele I get the impression that after a certain (idle?) time it 
>> just stops syncing without errors in the console.
>>
>> Everything worked OK, I didn't do any editing for an hour or so and when 
>> I restarted editing nothing was saved.
>> Normally I see PUT messages, when idle I see GET messages in the console.
>> When it does not save I only see GET messages (once a minute a new one).
>>
>> The Windows command window just stops with "syncer-server: Dispatching 
>> 'save' task" messages.
>>
>> Luckily I made every time an offline copy, so I did not lose anything, 
>> but this way I don't see any advantages over a standalone version ;-)
>>
>> I know this does not help you that much (without any message in the 
>> console).
>> Just to let you know the problem was found by another person as well.
>>
>> Cheers,
>>
>> Ton
>>
>>
>>
>> On Wednesday, March 12, 2014 4:41:24 PM UTC+1, Matabele wrote:
>>>
>>> Hi
>>>
>>> Thanks - I've developed various techniques for saving my work for the 
>>> time being - would like to track down the problem though. I don't think 
>>> this was happening (at least I didn't notice), before the upgrade to 
>>> v5.0.8-beta. I have tried all kinds of tests, creating and deleting 
>>> tiddlers, leaving some tiddlers open whilst creating and deleting tiddlers 
>>> etc. Haven't managed to track this down to any action.
>>>
>>> As I mentioned, a server that stands completely idle from initial start 
>>> (other than opening the TW on the browser) may not function after some 
>>> delay. The fault seems to appear at completely random moments - at times 
>>> one server might function for hours without a problem, whilst another 
>>> develops the fault quickly. Meanwhile another idle server develops the 
>>> fault before first use.
>>>
>>> Unfortunately there are no anomalous messages in the terminal - all 
>>> seems to function correctly until the moment of failure. 
>>>
>>> There are a few other issues with saving: I have lost tiddlers on 
>>> occasion when saving (sort of deletes instead of saves - but the appearance 
>>> is not the same) and on occasions duplicate copies of tiddlers appear in 
>>> the Recent tab (deleting one usually deletes both.) These errors report a 
>>> syncing error in the terminal. This does not, however, appear to be related 
>>> to the saving failure, else these syncing error messages should appear last 
>>> in the terminal before each failure.
>>>
>>> I shall report any further observations.
>>>
>>> regards
>>>
>>> On Wednesday, March 12, 2014 2:27:38 PM UTC+2, Jeremy Ruston wrote:
>>>>
>>>> Hi Matabele
>>>>
>>>> I could do with some help to track this down, I've had similar reports 
>>>> in the past that I have been unable to reliably duplicate. It was the 
>>>> driver for the increased logging in 5.0.8.
>>>>
>>>> The open copy of the TW appears to be aware of the breakdown - when 
>>>>> closing or refreshing the page, a warning is issued to the effect that 
>>>>> there are unsaved changes. However, the only way to restore saving is to 
>>>>> restart the server and refresh the page (thus losing any edits since the 
>>>>> server ceased to function.)
>>>>>
>>>>
>>>> You can save your modified tiddlers as a standalone file via the 
>>>> control panel "Server" tab. Then you can open the standalone file in the 
>>>> browser and drag tiddlers back into your online wiki once you've restarted 
>>>> the server.
>>>>
>>>> Best wishes
>>>>
>>>> Jeremy.
>>>>
>>>>  
>>>>
>>>>>
>>>>> Hope this helps identify the problem.
>>>>>
>>>>> regards
>>>>>
>>>>>
>>>>>
>>>>> 2014 11:52:21 PM UTC+2, Jeremy Ruston wrote:
>>>>>
>>>>>> Hi Matabele
>>>>>>
>>>>>> The problem is your tiddlywiki.info file. It doesn't contain the 
>>>>>> plugins needed for the server edition to operate.
>>>>>>
>>>>>> The fix is to re-initialise the wiki folder with:
>>>>>>
>>>>>> tiddlywiki --init server
>>>>>>
>>>>>> Best wishes
>>>>>>
>>>>>> Jeremy
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, Mar 3, 2014 at 8:12 PM, Matabele <[email protected]> wrote:
>>>>>>
>>>>>>> <https://lh6.googleusercontent.com/-v1QYGdwriog/UxThqlYbi0I/AAAAAAAAAXQ/YD-2NThZoTc/s1600/start.jpg>
>>>>>>>
>>>>>>>
>>>>>>> <https://lh3.googleusercontent.com/-d_cGllkexWQ/UxThPjGEA8I/AAAAAAAAAXI/tZiwtnwRa6A/s1600/tiddlywiki.info.jpg>
>>>>>>>
>>>>>>> I start from the command line as shown - also shown my 
>>>>>>> tiddlywiki.info
>>>>>>>
>>>>>>>
>>>>>>> On Monday, March 3, 2014 8:21:33 PM UTC+2, Jeremy Ruston wrote:
>>>>>>>
>>>>>>>> Hi Matabele
>>>>>>>>
>>>>>>>> Could you please show a copy of:
>>>>>>>>
>>>>>>>> * The batch file you're using to start the server
>>>>>>>> * The content of the tiddlywiki.info file in your wiki folder
>>>>>>>>
>>>>>>>> Also, what OS and browser are you using?
>>>>>>>>
>>>>>>>> Many thanks
>>>>>>>>
>>>>>>>> Jeremy
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Mar 3, 2014 at 2:20 PM, Matabele <[email protected]>wrote:
>>>>>>>>
>>>>>>>>> One further observation - when refreshing the browser, I get a 
>>>>>>>>> warning of the sort 'Do you want to leave this page - you may have 
>>>>>>>>> unsaved 
>>>>>>>>> changes' (varies a little with different browsers.) Can't remember if 
>>>>>>>>> this 
>>>>>>>>> happened when it was saving.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Monday, March 3, 2014 4:09:07 PM UTC+2, Matabele wrote:
>>>>>>>>>>
>>>>>>>>>> No further progress I'm afraid. Last evening I ran a number of 
>>>>>>>>>> tests - dropping a new tiddler in or creating a new tiddler then 
>>>>>>>>>> restarting 
>>>>>>>>>> the server - all worked fine over a number of cycles. Today, nothing 
>>>>>>>>>> saves 
>>>>>>>>>> no matter what I try (no messages in the terminal either) :-( 
>>>>>>>>>>
>>>>>>>>>> On Sunday, March 2, 2014 8:47:45 PM UTC+2, Jeremy Ruston wrote:
>>>>>>>>>>>
>>>>>>>>>>> Hi Matabele
>>>>>>>>>>>
>>>>>>>>>>> I noticed no messages with 5.0.7 - the updates appeared to save 
>>>>>>>>>>>> transparently. Yesterday, after upgrading to 5.0.8, I noticed 
>>>>>>>>>>>> nothing 
>>>>>>>>>>>> unusual, but kept losing updates whilst I was editing cloned 
>>>>>>>>>>>> themes. On 
>>>>>>>>>>>> firing up this morning, not only the latest themes were lost, but 
>>>>>>>>>>>> also a 
>>>>>>>>>>>> couple of other tiddlers I had updated (it also appears that a 
>>>>>>>>>>>> couple of 
>>>>>>>>>>>> the lost themes re-appeared - as I had several older versions of 
>>>>>>>>>>>> the 
>>>>>>>>>>>> themes.) Only after that did I deliberately experiment by closing 
>>>>>>>>>>>> the 
>>>>>>>>>>>> server and refreshing after updating a few tiddlers. Behaviour is 
>>>>>>>>>>>> erratic - 
>>>>>>>>>>>> at this stage I can't see why some tiddlers save and others don't.
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> That's frustrating, I'd appreciate any further updates. I'd 
>>>>>>>>>>> recommend reviewing the messages in the terminal window to verify 
>>>>>>>>>>> when 
>>>>>>>>>>> files have been successfully written to disc.
>>>>>>>>>>>  
>>>>>>>>>>>
>>>>>>>>>>>> I presume this may be due to a clash with the new auto update 
>>>>>>>>>>>> feature (in the stand alone version, I see occasional messages.)
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> The new autosave mechanism only kicks in in the standalone 
>>>>>>>>>>> configuration.
>>>>>>>>>>>  
>>>>>>>>>>>
>>>>>>>>>>>> I shall keep a look out to see if I notice anything else.
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Many thanks
>>>>>>>>>>>
>>>>>>>>>>> Jeremy
>>>>>>>>>>>  
>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> regards
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Sunday, March 2, 2014 6:56:44 PM UTC+2, Jeremy Ruston wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Matabele & Mario,
>>>>>>>>>>>>>
>>>>>>>>>>>>> To confirm that I was mistaken above:
>>>>>>>>>>>>>
>>>>>>>>>>>>> * 5.0.7-beta and before do not create a missing 
>>>>>>>>>>>>> tiddlywiki.info file, they just fall back to default values
>>>>>>>>>>>>> * therefore, you may well need to use `tiddlywiki myfolder 
>>>>>>>>>>>>> --init server` to create a tiddlywiki.info file for an 
>>>>>>>>>>>>> existing wiki
>>>>>>>>>>>>>
>>>>>>>>>>>>> > There appear to be problems with saving - some updates are 
>>>>>>>>>>>>> saved whilst others are lost.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Can you give more details? What messages if any do you see on 
>>>>>>>>>>>>> the terminal, and in the browser console window?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Best wishes
>>>>>>>>>>>>>
>>>>>>>>>>>>> Jeremy
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>  On Sun, Mar 2, 2014 at 4:51 PM, Matabele <[email protected]
>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> There appear to be problems with saving - some updates are 
>>>>>>>>>>>>>> saved whilst others are lost.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Saturday, March 1, 2014 10:38:40 AM UTC+2, Matabele wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> <https://lh3.googleusercontent.com/-L6_RKEKJ6No/UxGb0Ev5McI/AAAAAAAAAWc/N1hOQNUHG9o/s1600/upgrade+v5.0.8_beta+on+node.jpg>
>>>>>>>>>>>>>>> On upgrading to v5.0.8_b (linux os) - this is what I see - 
>>>>>>>>>>>>>>> any ideas?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>  -- 
>>>>>>>>>>>>>> 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 http://groups.google.com/group/tiddlywiki
>>>>>>>>>>>>>> .
>>>>>>>>>>>>>> For more options, visit https://groups.google.com/grou
>>>>>>>>>>>>>> ps/opt_out.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> -- 
>>>>>>>>>>>>> Jeremy Ruston
>>>>>>>>>>>>> mailto:[email protected]
>>>>>>>>>>>>>  
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> -- 
>>>>>>>>>>> Jeremy Ruston
>>>>>>>>>>> mailto:[email protected]
>>>>>>>>>>>  
>>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> Jeremy Ruston
>>>>>>>> mailto:[email protected]
>>>>>>>>  
>>>>>>>
>>>>>>
>>>>>>
>>>>>> -- 
>>>>>> Jeremy Ruston
>>>>>> mailto:[email protected]
>>>>>>  
>>>>>
>>>>
>>>>
>>>> -- 
>>>> Jeremy Ruston
>>>> mailto:[email protected]
>>>>  
>>>
>
>
> -- 
> Jeremy Ruston
> mailto:[email protected] <javascript:>
>  

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to