Bug#519206: [Evolution] Bug#519206: evolution: Inbox mail is all gone with sqlite transition

2009-03-11 Thread Yves-Alexis Perez
On mer, 2009-03-11 at 15:12 -0400, José Alburquerque wrote:
> 214M.evolution/mail/local

it seems that you still have mails there. Could you search down the tree
and see if your mails are there?

Cheers,
-- 
Yves-Alexis


signature.asc
Description: This is a digitally signed message part


Bug#519206: [Evolution] Bug#519206: evolution: Inbox mail is all gone with sqlite transition

2009-03-11 Thread José Alburquerque

Yves-Alexis Perez said the following:

Maybe first try evolution --force-shutdown and re-run evolution, just to
be sure.
  


I did this and the mail still does not show up. :-(


I don't use POP/Local mails so I don't really how it behaves, could you
run:

du -hsc .evolution/mail/*

And give me the reply?
  

[03:11][j...@sweety:~]$ du -hsc .evolution/mail/*
144K.evolution/mail/config
12K.evolution/mail/filters.xml
214M.evolution/mail/local
8.1M.evolution/mail/pop
4.0K.evolution/mail/searches.xml
12K.evolution/mail/vfolder
204K.evolution/mail/views
223Mtotal

--
José Alburquerque




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#519206: [Evolution] Bug#519206: evolution: Inbox mail is all gone with sqlite transition

2009-03-11 Thread Yves-Alexis Perez
On mer, 2009-03-11 at 11:21 +0100, Paul Menzel wrote:
> So it looks like they are gone for good. :( If anyone finds a solution
> to get the messages back (without backup :)) or a reason how those mbox
> files could have been deleted, that would be nice.

Oh and, maybe look deep in the .evolution tree.

There should not be any reason for it to delete anything. Upgrade only
moves the *summary* to a libsqlite folder, not the mails themselves. 
The corruption may be related to the crash, but I'm not that sure.

Cheers,
-- 
Yves-Alexis




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#519206: [Evolution] Bug#519206: evolution: Inbox mail is all gone with sqlite transition

2009-03-11 Thread Yves-Alexis Perez
On mer, 2009-03-11 at 11:21 +0100, Paul Menzel wrote:
> The NEWS.Debian you wrote about in your other reply file should mention
> this as soon as possible. Even better, put in a break in the upgrade
> process displaying a big fat warning to give users not reading
> NEWS.Debian before or not taking this seriously a chance to make a
> backup.
> 

That's what NEWS.Debian is made for. I really don't think a debconf note
would do the trick. I don't know if apt-listchanges is now at priority
standard, but clearly that's the way to do things, imho.

Cheers,
-- 
Yves-Alexis




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#519206: [Evolution] Bug#519206: evolution: Inbox mail is all gone with sqlite transition

2009-03-11 Thread Paul Menzel
Dear everyone,


I reply to my own mail. Sorry for breaking the flow.


Am Mittwoch, den 11.03.2009, 09:19 +0100 schrieb Paul Menzel:

> Am Mittwoch, den 11.03.2009, 07:33 +0100 schrieb Yves-Alexis Perez:
> > On mar, 2009-03-10 at 19:17 -0400, José Alburquerque wrote:
> > > Very bad what's happening.  I recently imported all my folders from
> > > icedove to evolution (removing old ones to save disk space).  After
> > > today's upgrade, evolution mentioned that it migrated folders to sqlite.
> > > I don't know if it went well, but all of the mail in my Inbox (years of
> > > mail) is no longer visible in the Inbox folder.  I'm hoping that it's a
> > > bug and the mails are there, but I'm terrified because the size of the
> > > mbox Inbox file in .evolution/mail/local is zero.  Someone please tell
> > > me that my mail is sitll available!
> > 
> > Maybe first try evolution --force-shutdown and re-run evolution, just to
> > be sure.
> 
> This is what helped me.
> 
> I had Evolution running while it was being upgraded. Working with it it
> crashed. (Since it did not find the files, which had been deleted during
> the upgrade.) 
> 
> (evolution:4057): Bonobo-WARNING **: Can't find 
> '/usr/share/evolution/2.22/ui/evolution-calendar.xml' to load ui from
> 
> (evolution:4057): Bonobo-WARNING **: Can't find 
> '/usr/lib/evolution/2.22/plugins/org-gnome-exchange-cal-subscription.xml' to 
> load ui from
> 
> (evolution:4057): Bonobo-WARNING **: Can't find 
> '/usr/lib/evolution/2.22/plugins/org-gnome-folder-permissions.xml' to load ui 
> from
> 
> (evolution:4057): Bonobo-WARNING **: Can't find 
> '/usr/lib/evolution/2.22/plugins/org-gnome-publish-calendar.xml' to load ui 
> from
> 
> (evolution:4057): Bonobo-WARNING **: Can't find 
> '/usr/share/evolution/2.22/ui/evolution-editor.xml' to load ui from
> 
> (evolution:4057): Bonobo-WARNING **: Can't find 
> '/usr/share/evolution/2.22/ui/evolution-event-editor.xml' to load ui from
> 
> (evolution:4057): libglade-WARNING **: could not find glade file 
> '/usr/share/evolution/2.22/glade/event-page.glade'
> calendar-gui-Message: event_page_construct(): Could not load the 
> Glade XML file!
> 
> (evolution:4057): Gtk-WARNING **: A floating object was finalized. 
> This means that someone
> called g_object_unref() on an object that had only a floating
> reference; the initial floating reference is not owned by anyone
> and must be removed with g_object_ref_sink().
> 
> (evolution:4057): GLib-GObject-CRITICAL **: g_object_ref_sink: 
> assertion `G_IS_OBJECT (object)' failed
> 
> (evolution:4057): calendar-gui-CRITICAL **: comp_editor_append_page: 
> assertion `page != NULL' failed
> 
> (evolution:4057): GLib-GObject-WARNING **: invalid (NULL) pointer 
> instance
> 
> (evolution:4057): GLib-GObject-CRITICAL **: g_signal_connect_data: 
> assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
> 
> (evolution:4057): libglade-WARNING **: could not find glade file 
> '/usr/share/evolution/2.22/glade/recurrence-page.glade'
> calendar-gui-Message: recurrence_page_construct(): Could not load the 
> Glade XML file!
> Cannot access memory at address 0x61422072
> /home/x/4057: No such file or directory.
> No stack.
> /usr/share/bug-buddy/gdb-cmd:3: Error in sourced command file:
> No registers.
> 
> 
> Simply restarting evolution also did not show my old e-mail (only POP,
> IMAP mails were displayed correctly).
> 
> $ evolution &
> [2] 22030
> $
> (evolution:22030): camel-WARNING **: camel_exception_get_id called 
> with NULL parameter.
> em-migrate.c:3012:migrate_to_db: failed to get folder infos 
> em-migrate.c:3012:migrate_to_db: failed to get folder infos 
> em-migrate.c:3012:migrate_to_db: failed to get folder infos 
> em-migrate.c:3012:migrate_to_db: failed to get folder infos 
> em-migrate.c:3012:migrate_to_db: failed to get folder infos 
> em-migrate.c:3012:migrate_to_db: failed to get folder infos 
> em-migrate.c:3012:migrate_to_db: failed to get folder infos 
> em-migrate.c:3012:migrate_to_db: failed to get folder infos 
> em-migrate.c:3012:migrate_to_db: failed to get folder infos 
> 
> (evolution:22030): camel-imap-provider-WARNING **: Unable to load 
> summary no such table: INBOX
> 
> 
> (evolution:22030): camel-imap-provider-WARNING **: Unable to load 
> summary no such table: [Google Mail]
> 
> 
> (evolution:22030): camel-imap-provider-WARNING **: Unable to load 
> summary no such table: [Google Mail]/Alle Nachrichten
> 
> 
> (evolution:22030): camel-imap-provider-WARNING **: Unable to load 
> summary no such t

Bug#519206: [Evolution] Bug#519206: evolution: Inbox mail is all gone with sqlite transition

2009-03-11 Thread Yves-Alexis Perez
On mer, 2009-03-11 at 09:19 +0100, Paul Menzel wrote:
> 1. A user should be forced to quit Evolution while it is being updated.
> 2. It should be made 100 % sure, that no mail can be lost during this
> process. Even those warnings should disappear, having been checked for
> example if they are IMAP boxes (if my assumption is true). And the user
> user should be given an option before the transition to SQLite to make a
> backup of her/his data.

I think both points are valid, and it'd be convenient to add a
NEWS.Debian file so user are warned at install that they should
- make a backup of evo stuff (which is easy to do with the adequate   
  plugin)
- run evolution --force-shutdown *before* running the upgrade

Thanks for reporting, this will be part of the next upload.

(btw, as an user, I always do that before upgrades, just in case) (and I
even more do that now that I'm sort-of maintainer)

Cheers,
-- 
Yves-Alexis




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#519206: [Evolution] Bug#519206: evolution: Inbox mail is all gone with sqlite transition

2009-03-11 Thread Paul Menzel
Dear everyone,


Am Mittwoch, den 11.03.2009, 07:33 +0100 schrieb Yves-Alexis Perez:
> On mar, 2009-03-10 at 19:17 -0400, José Alburquerque wrote:
> > Very bad what's happening.  I recently imported all my folders from
> > icedove to evolution (removing old ones to save disk space).  After
> > today's upgrade, evolution mentioned that it migrated folders to sqlite.
> > I don't know if it went well, but all of the mail in my Inbox (years of
> > mail) is no longer visible in the Inbox folder.  I'm hoping that it's a
> > bug and the mails are there, but I'm terrified because the size of the
> > mbox Inbox file in .evolution/mail/local is zero.  Someone please tell
> > me that my mail is sitll available!
> 
> Maybe first try evolution --force-shutdown and re-run evolution, just to
> be sure.

This is what helped me.

I had Evolution running while it was being upgraded. Working with it it
crashed. (Since it did not find the files, which had been deleted during
the upgrade.) 

(evolution:4057): Bonobo-WARNING **: Can't find 
'/usr/share/evolution/2.22/ui/evolution-calendar.xml' to load ui from

(evolution:4057): Bonobo-WARNING **: Can't find 
'/usr/lib/evolution/2.22/plugins/org-gnome-exchange-cal-subscription.xml' to 
load ui from

(evolution:4057): Bonobo-WARNING **: Can't find 
'/usr/lib/evolution/2.22/plugins/org-gnome-folder-permissions.xml' to load ui 
from

(evolution:4057): Bonobo-WARNING **: Can't find 
'/usr/lib/evolution/2.22/plugins/org-gnome-publish-calendar.xml' to load ui from

(evolution:4057): Bonobo-WARNING **: Can't find 
'/usr/share/evolution/2.22/ui/evolution-editor.xml' to load ui from

(evolution:4057): Bonobo-WARNING **: Can't find 
'/usr/share/evolution/2.22/ui/evolution-event-editor.xml' to load ui from

(evolution:4057): libglade-WARNING **: could not find glade file 
'/usr/share/evolution/2.22/glade/event-page.glade'
calendar-gui-Message: event_page_construct(): Could not load the Glade 
XML file!

(evolution:4057): Gtk-WARNING **: A floating object was finalized. This 
means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with g_object_ref_sink().

(evolution:4057): GLib-GObject-CRITICAL **: g_object_ref_sink: 
assertion `G_IS_OBJECT (object)' failed

(evolution:4057): calendar-gui-CRITICAL **: comp_editor_append_page: 
assertion `page != NULL' failed

(evolution:4057): GLib-GObject-WARNING **: invalid (NULL) pointer 
instance

(evolution:4057): GLib-GObject-CRITICAL **: g_signal_connect_data: 
assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(evolution:4057): libglade-WARNING **: could not find glade file 
'/usr/share/evolution/2.22/glade/recurrence-page.glade'
calendar-gui-Message: recurrence_page_construct(): Could not load the 
Glade XML file!
Cannot access memory at address 0x61422072
/home/x/4057: No such file or directory.
No stack.
/usr/share/bug-buddy/gdb-cmd:3: Error in sourced command file:
No registers.


Simply restarting evolution also did not show my old e-mail (only POP,
IMAP mails were displayed correctly).

$ evolution &
[2] 22030
$
(evolution:22030): camel-WARNING **: camel_exception_get_id called with 
NULL parameter.
em-migrate.c:3012:migrate_to_db: failed to get folder infos 
em-migrate.c:3012:migrate_to_db: failed to get folder infos 
em-migrate.c:3012:migrate_to_db: failed to get folder infos 
em-migrate.c:3012:migrate_to_db: failed to get folder infos 
em-migrate.c:3012:migrate_to_db: failed to get folder infos 
em-migrate.c:3012:migrate_to_db: failed to get folder infos 
em-migrate.c:3012:migrate_to_db: failed to get folder infos 
em-migrate.c:3012:migrate_to_db: failed to get folder infos 
em-migrate.c:3012:migrate_to_db: failed to get folder infos 

(evolution:22030): camel-imap-provider-WARNING **: Unable to load 
summary no such table: INBOX


(evolution:22030): camel-imap-provider-WARNING **: Unable to load 
summary no such table: [Google Mail]


(evolution:22030): camel-imap-provider-WARNING **: Unable to load 
summary no such table: [Google Mail]/Alle Nachrichten


(evolution:22030): camel-imap-provider-WARNING **: Unable to load 
summary no such table: [Google Mail]/Entwürfe


(evolution:22030): camel-imap-provider-WARNING **: Unable to load 
summary no such table: [Google Mail]/Gesendet


(evolution:22030): camel-imap-provider-WARNING **: Unable to load 
summary no such table: [Google Mail]/Markiert



Bug#519206: [Evolution] Bug#519206: evolution: Inbox mail is all gone with sqlite transition

2009-03-10 Thread Yves-Alexis Perez
On mar, 2009-03-10 at 19:17 -0400, José Alburquerque wrote:
> Very bad what's happening.  I recently imported all my folders from
> icedove to evolution (removing old ones to save disk space).  After
> today's upgrade, evolution mentioned that it migrated folders to sqlite.
> I don't know if it went well, but all of the mail in my Inbox (years of
> mail) is no longer visible in the Inbox folder.  I'm hoping that it's a
> bug and the mails are there, but I'm terrified because the size of the
> mbox Inbox file in .evolution/mail/local is zero.  Someone please tell
> me that my mail is sitll available!

Maybe first try evolution --force-shutdown and re-run evolution, just to
be sure.

I don't use POP/Local mails so I don't really how it behaves, could you
run:

du -hsc .evolution/mail/*

And give me the reply?

Cheers,
-- 
Yves-Alexis


signature.asc
Description: This is a digitally signed message part