Journal stream closed

19 views
Skip to first unread message

David George

unread,
Oct 16, 2014, 9:07:12 AM10/16/14
to wattza...@googlegroups.com
Open training, run a bit,
Save then Close
Open new training
We see the following message

an't write telemetry data to journal Stream Closed

David George

unread,
Oct 16, 2014, 1:21:53 PM10/16/14
to wattza...@googlegroups.com
LoadJournal loads the journal file creating a training data object with all the training items then closes the journal file. When we hit start the journal file is closed so we get a problem appending additional data to it.

LoadJournal is used after we have accidentally closed a training or have crashed and we want to restart a training. It would seem reasonable that when we click start we should open for append if we have loaded training data.

Jarek Poświata

unread,
Oct 28, 2014, 12:41:09 PM10/28/14
to wattza...@googlegroups.com
I changed it a bit. Journal is created when session starts (this is first time [Start] was clicked), and it is valid till the end of the session (with the app). No matter how many times training was stopped/started. Session is closed when the app exits.

After recovery, previous journal is restored (with all the data from it), and one can continue the previous session: it might be used to resume training in case of power loss (or just application was lost). But [Recovery] must be done prior [Start].

For testing purposes.. it would be nice to add [Start new session] option to the menu. But in fact it is not needed for "normal" trainings (and nobody will start new training just after another).
Reply all
Reply to author
Forward
0 new messages