Re: [Evolution] evolution lost all of my vfolders!

2009-08-01 Thread Brian J. Murrell
On Mon, 2009-07-27 at 12:30 -0400, Brian J. Murrell wrote:
> As you know, I use vfolders heavily.  I had a crash (i.e. power outage)
> this morning and when I restarted *ALL* of my vfolders were gone!
> 
> I do have daily backups if I have to go back to a previous one but I
> don't even know what to restore.  Can somebody enlighten me as to
> where/how evolution stores the vfolder configuration?

Well.  Restoring .evolution/mail/vfolder/folders.db from a backup seems
to have given me back all of my vfolders, but they are not
accurate/up-to-date.  There are many messages in underlying real folders
that are just not showing up in vfolders.

Why are the vfolders not being updated to reflect messages that might
have arrived here while this vfolder breakage was happening?

FWIW, I don't think this issue of inaccurate vfolders is isolated to
this breakage I was suffering.  I have many times noticed that if mail
arrives while, say, evolution is not running that the volders and their
underlying real folders will be out of sync.

Any way to force the vfolders to be refreshed?

b.



signature.asc
Description: This is a digitally signed message part
___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution lost all of my vfolders!

2009-08-01 Thread Brian J. Murrell
On Mon, 2009-07-27 at 19:31 +0200, Milan Crha wrote:
> 
> This sounds very serious.

Indeed, it does.  I really wish somebody very familiar with the vfolders
code and those error messages would comment.

> There seems to be something broken with some
> of folders.db under ~/.evolution/mail .

Hrm.  Do many of the folders.db actually contribute to the vfolders
searches or is it just the one under .evolution/mail/vfolder?

> It depends on your account types
> what you can do. If you've every your mail stored remotely, like IMAP,
> then you can safely delete folders.db files under ~/.evolution/mail/imap

I'd tend to not want to do this until there is a positive confirmation
that volder information is spread across all of them or if it's, as I
suspect, only in the .evolution/mail/vfolder/folders.db file.

> Try to restore searches.xml

This file is unchanged (i.e. as compared to backups) for many months.

> and vfolders.xml in ~/.evolution/mail/

And this one is unchanged since 7 days prior to the loss of the
vfolders.

So both of these files are identical to backup copies going back to
prior to the loss of my vfolders.  So neither of these can be at fault.

> Though because of the above errors, maybe restoring whole ~/.evolution
> might help better.

~sigh~  I'd really like to avoid that.  I'd rather just fix whatever is
actually broken.  Which is why I was hoping somebody very familiar with
this vfolder code would give some advise.

> Definitely do the backup of the broken folder
> too, in case something goes even more wrong.

Heh.  Of course.  ;-)

Much thanx for your help.

b.



signature.asc
Description: This is a digitally signed message part
___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution lost all of my vfolders!

2009-08-01 Thread Brian J. Murrell
On Mon, 2009-07-27 at 22:15 +0530, Johnny Jacob wrote:
> 
> Information such as version / distro helps here :)

Distro is irrelevant.  This is a core evo problem unrelated to how it
was packaged by a given distro.  You are right about version information
though.  2.26.1.  Probably to an evo developer though, the error
messages I posted were more relevant than the version.

b.



signature.asc
Description: This is a digitally signed message part
___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution lost all of my vfolders!

2009-07-27 Thread Johnny Jacob
On Mon, 2009-07-27 at 12:30 -0400, Brian J. Murrell wrote:
> As you know, I use vfolders heavily.  I had a crash (i.e. power outage)
> this morning and when I restarted *ALL* of my vfolders were gone!
> 
> I do have daily backups if I have to go back to a previous one but I
> don't even know what to restore.  Can somebody enlighten me as to
> where/how evolution stores the vfolder configuration?
> 
> FWIW, when evolution starts up it whines:
> 
> (evolution:13006): camel-WARNING **: something went wrong terribly during db 
> creation 
> 
> (evolution:13006): GLib-CRITICAL **: g_hash_table_foreach: assertion 
> `hash_table != NULL' failed
> 
> (evolution:13006): GLib-CRITICAL **: g_hash_table_destroy: assertion 
> `hash_table != NULL' failed
> 
> (evolution:13006): camel-CRITICAL **: camel_object_is: assertion `o != NULL' 
> failed
> 
> (evolution:13006): camel-CRITICAL **: camel_object_unref: assertion 
> `CAMEL_IS_OBJECT(o)' failed
> 
> (evolution:13006): evolution-mail-WARNING **: Cannot open vfolder store - no 
> vfolders available
> 
> Looks related.
> 
> Any ideas and/or help much appreciated!

Information such as version / distro helps here :)

-- 
Johnny (johnnyjacob.wordpress.com | johnnyjacob.org)
"May you share freely, never taking more than you give "


signature.asc
Description: This is a digitally signed message part
___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] evolution lost all of my vfolders!

2009-07-27 Thread Milan Crha
Hi,

On Mon, 2009-07-27 at 12:30 -0400, Brian J. Murrell wrote:
> As you know, I use vfolders heavily.  I had a crash (i.e. power outage)
> this morning and when I restarted *ALL* of my vfolders were gone!
> 
> I do have daily backups if I have to go back to a previous one but I
> don't even know what to restore.  Can somebody enlighten me as to
> where/how evolution stores the vfolder configuration?
> 
> FWIW, when evolution starts up it whines:
> 
> (evolution:13006): camel-WARNING **: something went wrong terribly during db 
> creation 

This sounds very serious. There seems to be something broken with some
of folders.db under ~/.evolution/mail . It depends on your account types
what you can do. If you've every your mail stored remotely, like IMAP,
then you can safely delete folders.db files under ~/.evolution/mail/imap
Next start will be the summary recreated. (You can delete everything
under this folder, it will be created/downloaded anyway.) This is not
applicable for account types like POP.

> (evolution:13006): GLib-CRITICAL **: g_hash_table_foreach: assertion 
> `hash_table != NULL' failed
> 
> (evolution:13006): GLib-CRITICAL **: g_hash_table_destroy: assertion 
> `hash_table != NULL' failed
> 
> (evolution:13006): camel-CRITICAL **: camel_object_is: assertion `o != NULL' 
> failed
> 
> (evolution:13006): camel-CRITICAL **: camel_object_unref: assertion 
> `CAMEL_IS_OBJECT(o)' failed
> 
> (evolution:13006): evolution-mail-WARNING **: Cannot open vfolder store - no 
> vfolders available

Try to restore searches.xml and vfolders.xml in ~/.evolution/mail/
Though because of the above errors, maybe restoring whole ~/.evolution
might help better. But as I said above, it depends on couple things
whether you can do that. Definitely do the backup of the broken folder
too, in case something goes even more wrong.

Hope that helps,
Milan

___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list


[Evolution] evolution lost all of my vfolders!

2009-07-27 Thread Brian J. Murrell
As you know, I use vfolders heavily.  I had a crash (i.e. power outage)
this morning and when I restarted *ALL* of my vfolders were gone!

I do have daily backups if I have to go back to a previous one but I
don't even know what to restore.  Can somebody enlighten me as to
where/how evolution stores the vfolder configuration?

FWIW, when evolution starts up it whines:

(evolution:13006): camel-WARNING **: something went wrong terribly during db 
creation 

(evolution:13006): GLib-CRITICAL **: g_hash_table_foreach: assertion 
`hash_table != NULL' failed

(evolution:13006): GLib-CRITICAL **: g_hash_table_destroy: assertion 
`hash_table != NULL' failed

(evolution:13006): camel-CRITICAL **: camel_object_is: assertion `o != NULL' 
failed

(evolution:13006): camel-CRITICAL **: camel_object_unref: assertion 
`CAMEL_IS_OBJECT(o)' failed

(evolution:13006): evolution-mail-WARNING **: Cannot open vfolder store - no 
vfolders available

Looks related.

Any ideas and/or help much appreciated!

b.



signature.asc
Description: This is a digitally signed message part
___
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list