Re: Your journal is empty

2008-08-01 Thread Tomeu Vizoso
On Fri, Aug 1, 2008 at 3:26 AM, Mikus Grinbergs [EMAIL PROTECTED] wrote:
 Recently, I have on two occasions with Joyride (2229+, 2232) pressed
 ctl-alt-erase in order to restart Sugar.  Both times. when Sugar
 came up, the Journal screen told me 'Your journal is empty'.

 If unwanted emptying of the Journal were to be experienced by
 others (in addition to me), then I think this problem should be a
 SERIOUS blocker to 8.2.

Yes, that's pretty worrying. Can you more or less reliably reproduce it?

Thanks,

Tomeu
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Your journal is empty

2008-08-01 Thread Tomeu Vizoso
On Fri, Aug 1, 2008 at 11:55 AM, Tomeu Vizoso [EMAIL PROTECTED] wrote:
 On Fri, Aug 1, 2008 at 3:26 AM, Mikus Grinbergs [EMAIL PROTECTED] wrote:
 Recently, I have on two occasions with Joyride (2229+, 2232) pressed
 ctl-alt-erase in order to restart Sugar.  Both times. when Sugar
 came up, the Journal screen told me 'Your journal is empty'.

 If unwanted emptying of the Journal were to be experienced by
 others (in addition to me), then I think this problem should be a
 SERIOUS blocker to 8.2.

 Yes, that's pretty worrying. Can you more or less reliably reproduce it?

Just to point at the code that should handle the unexpected shutdown:

http://dev.laptop.org/git?p=projects/datastore;a=blob;f=bin/datastore-service;h=aba711221eded35ad919196ea0942072d96d966c;hb=HEAD#l49

We should make sure that the shutdown is handled gracefully and
there's no index corruption nor a stale locking file.

Regards,

Tomeu
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [sugar] Your journal is empty

2008-08-01 Thread Shikhar
Tomeu Vizoso wrote:
 On Fri, Aug 1, 2008 at 3:26 AM, Mikus Grinbergs [EMAIL PROTECTED] wrote:
   
 Recently, I have on two occasions with Joyride (2229+, 2232) pressed
 ctl-alt-erase in order to restart Sugar.  Both times. when Sugar
 came up, the Journal screen told me 'Your journal is empty'.

 If unwanted emptying of the Journal were to be experienced by
 others (in addition to me), then I think this problem should be a
 SERIOUS blocker to 8.2.
 
I tried several times to reproduce this issue by pressing Ctrl+Alt+Erase 
while doing various things on the XO but did not run into it. Joyride 2230

Shikhar
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [sugar] Your journal is empty

2008-08-01 Thread Tomeu Vizoso
On Fri, Aug 1, 2008 at 1:24 PM, Shikhar [EMAIL PROTECTED] wrote:
 Tomeu Vizoso wrote:

 On Fri, Aug 1, 2008 at 3:26 AM, Mikus Grinbergs [EMAIL PROTECTED] wrote:


 Recently, I have on two occasions with Joyride (2229+, 2232) pressed
 ctl-alt-erase in order to restart Sugar.  Both times. when Sugar
 came up, the Journal screen told me 'Your journal is empty'.

 If unwanted emptying of the Journal were to be experienced by
 others (in addition to me), then I think this problem should be a
 SERIOUS blocker to 8.2.


 I tried several times to reproduce this issue by pressing Ctrl+Alt+Erase
 while doing various things on the XO but did not run into it. Joyride 2230

Mikus, any idea about how we could better reproduce it?

Thanks a lot for your testing, is very appreciated.

Regards,

Tomeu
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Your journal is empty

2008-07-31 Thread Mikus Grinbergs
Recently, I have on two occasions with Joyride (2229+, 2232) pressed 
ctl-alt-erase in order to restart Sugar.  Both times. when Sugar 
came up, the Journal screen told me 'Your journal is empty'.

If unwanted emptying of the Journal were to be experienced by 
others (in addition to me), then I think this problem should be a 
SERIOUS blocker to 8.2.

mikus  (G1G1)

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Your journal is empty

2008-07-31 Thread Martin Langhoff
On Fri, Aug 1, 2008 at 2:26 PM, Mikus Grinbergs [EMAIL PROTECTED] wrote:
 Recently, I have on two occasions with Joyride (2229+, 2232) pressed
 ctl-alt-erase in order to restart Sugar.  Both times. when Sugar
 came up, the Journal screen told me 'Your journal is empty'.

 If unwanted emptying of the Journal were to be experienced by
 others (in addition to me), then I think this problem should be a
 SERIOUS blocker to 8.2.

You might know this - but just in case and for others reading: if the
datastore fails to come up for any reason, the datastore storage dir
(~/.sugar/default/datastore) gets moved aside and a new one is
created. If you lost your journal this way, the files are in
~/.sugar/default/datastore.XXX .

It will be interesting to know why ds failed to come up and file it as
a bug if relevant. Do the logs in .sugar/default/logs say anything
interesting?

cheers,




m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel