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

2009-03-11 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


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


(evolution:22030): 

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-rc-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 table: [Google Mail]/Entwürfe
 
 
 (evolution:22030): camel-imap-provider-WARNING **: Unable to load 
 

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-rc-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-rc-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 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-rc-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 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: Inbox mail is all gone with sqlite transition

2009-03-10 Thread José Alburquerque
Package: evolution
Version: 2.24.5-2
Severity: grave
Justification: renders package unusable


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!


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages evolution depends on:
ii  dbus 1.2.12-1simple interprocess messaging syst
ii  evolution-common 2.24.5-2architecture independent files for
ii  evolution-data-s 2.24.5-2evolution database backend server
ii  gconf2   2.24.0-7GNOME configuration database syste
ii  gnome-icon-theme 2.24.0-2GNOME Desktop icon theme
ii  libart-2.0-2 2.3.20-2Library of functions for 2D graphi
ii  libatk1.0-0  1.24.0-2The ATK accessibility toolkit
ii  libbluetooth23.36-1  Library to use the BlueZ Linux Blu
ii  libbonobo2-0 2.24.1-1Bonobo CORBA interfaces library
ii  libbonoboui2-0   2.24.1-1The Bonobo UI library
ii  libc62.9-4   GNU C Library: Shared libraries
ii  libcairo21.8.6-2 The Cairo 2D vector graphics libra
ii  libcamel1.2-14   2.24.5-2The Evolution MIME message handlin
ii  libdbus-1-3  1.2.12-1simple interprocess messaging syst
ii  libdbus-glib-1-2 0.80-3  simple interprocess messaging syst
ii  libebackend1.2-0 2.24.5-2Utility library for evolution data
ii  libebook1.2-92.24.5-2Client library for evolution addre
ii  libecal1.2-7 2.24.5-2Client library for evolution calen
ii  libedataserver1. 2.24.5-2Utility library for evolution data
ii  libedataserverui 2.24.5-2GUI utility library for evolution 
ii  libegroupwise1.2 2.24.5-2Client library for accessing group
ii  libenchant1c2a   1.4.2-3.3   a wrapper library for various spel
ii  libexchange-stor 2.24.5-2Client library for accessing Excha
ii  libfontconfig1   2.6.0-3 generic font configuration library
ii  libfreetype6 2.3.7-2 FreeType 2 font engine, shared lib
ii  libgconf2-4  2.24.0-7GNOME configuration database syste
ii  libgdata-google1 2.24.5-2Client library for accessing Googl
ii  libgdata1.2-12.24.5-2Client library for accessing Googl
ii  libglade2-0  1:2.6.3-1   library to load .glade files at ru
ii  libglib2.0-0 2.18.4-2The GLib library of C routines
ii  libgnome-pilot2  2.0.15-2.4  Support libraries for gnome-pilot
ii  libgnome2-0  2.24.1-2The GNOME 2 library - runtime file
ii  libgnomecanvas2- 2.20.1.1-1  A powerful object-oriented display
ii  libgnomeui-0 2.24.1-1The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0   1:2.24.0-2  GNOME Virtual File System (runtime
ii  libgtk2.0-0  2.14.7-4The GTK+ graphical user interface 
ii  libgtkhtml-edito 3.24.5-2HTML rendering/editing library - e
ii  libgtkhtml3.14-1 3.24.5-2HTML rendering/editing library - r
ii  libhal1  0.5.11-8Hardware Abstraction Layer - share
ii  libice6  2:1.0.5-1   X11 Inter-Client Exchange library
ii  libldap-2.4-22.4.15-1OpenLDAP libraries
ii  libnm-glib0  0.7.0.99-1  network management framework (GLib
ii  libnotify1 [libn 0.4.5-1 sends desktop notifications to a n
ii  libnspr4-0d  4.7.1-4 NetScape Portable Runtime Library
ii  libnss3-1d   3.12.2.with.ckbi.1.73-1 Network Security Service libraries
ii  liborbit21:2.14.17-0.1   libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-01.22.4-2Layout and rendering of internatio
ii  libpisock9   0.12.3-10   library for communicating with a P
ii  libpisync1   0.12.3-10   synchronization library for PalmOS
ii  libpopt0 1.14-4  lib for parsing cmdline parameters
ii  libsm6   2:1.1.0-2   X11 Session Management library
ii  libsoup2.4-1