After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 657008 - Mail lost during mbox to maildir conversion
Mail lost during mbox to maildir conversion
Status: RESOLVED DUPLICATE of bug 655263
Product: evolution
Classification: Applications
Component: Mailer
3.0.x (obsolete)
Other Linux
: Normal blocker
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2011-08-21 12:48 UTC by Paul Menzel
Modified: 2011-08-24 09:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paul Menzel 2011-08-21 12:48:18 UTC
Evolution 3.0.2.1 has hit the Debian Sid/unstable repository so I upgraded in best hopes to get rid of some bugs in 2.32.3-3.

The first surprise was the migration to from mbox to Maildir, but I let it do that. After it was done after an hour or so – which is understandable for the number of mails I have – it started up, but looking int one of the folders, there are messages missing from 2009 to yesterday.

Where is a how to what to do in such situations? It should be mentioned in the dialog asking for the mbox to Maildir conversion in my opinion.

Secondly Evolution did not quit correctly and aborted with a segmentation fault after having hit Ctrl + q an hour ago.

Thirdly having started Evolution again after a restart, it does not open my main mail folder and just displays nothing saying »Opening /home/joe/.local/share/evolution/mail/local«.

Any help is appreciated.
Comment 1 Paul Menzel 2011-08-21 12:58:25 UTC
I removed the `folders.db ` in `local` and `mail/vfolder/`but Evolution is hung again somewhere. :(

Some more suggestions. A progress bar during the conversion would be nice and generally some user feedback besides the tabs at the bottem, which are not useful when there are several and overlap each other.
Comment 2 Paul Menzel 2011-08-21 12:59:17 UTC
Can I go back to 2.32.3 somehow?
Comment 3 Paul Menzel 2011-08-21 13:42:32 UTC
Further observations. It is again hanging and working(?) in the background.

1. I can view my IMAP folders in parallel. (Nice!)
2. Evolution still tries to get the mails from the POP servers every some minutes (as configured). Then it selects automatically an IMAP account.
Comment 4 Paul Menzel 2011-08-21 13:44:42 UTC
On the terminal the following message is printed.

        (evolution:17734): camel-WARNING **: Could not open converter for 'unicode-1-1-utf-7' to 'UTF-8' charset

        (evolution:17734): camel-WARNING **: Could not open converter for 'unicode-1-1-utf-7' to 'UTF-8' charset

        (evolution:17734): camel-WARNING **: Could not open converter for 'unicode-1-1-utf-7' to 'UTF-8' charset

        (evolution:17734): camel-WARNING **: Could not open converter for 'unicode-1-1-utf-7' to 'UTF-8' charset

        (evolution:17734): camel-WARNING **: Could not open converter for 'unicode-1-1-utf-7' to 'UTF-8' charset

        (evolution:17734): camel-WARNING **: Could not open converter for 'unicode-1-1-utf-7' to 'UTF-8' charset

        (evolution:17734): camel-WARNING **: Could not find key entry for word 'профессионального': Erfolg


        (evolution:17734): camel-WARNING **: Could not find key entry for word 'предлагаем': Erfolg
Comment 5 Paul Menzel 2011-08-21 14:15:24 UTC
A confirmation message that the migration has been successfully finished would be useful.
Comment 6 Paul Menzel 2011-08-21 14:52:02 UTC
Opening another mail folder where only a few messages should be in, no message is displayed. The tab at the bottem says something like searching in `… local_mbox`.

So is the migration process not done yet? How can I manually do this for certain folders? I looked through the Evolution project site and there is no information regarding the migration.
Comment 7 Paul Menzel 2011-08-21 17:44:14 UTC
Ok, I started Evolution again and then I closed it after the messages were not displayed. Then I left it running and saw that it did some consistency check (reported in a tab). After it was done the message still were not there and I closed it again. It did just grey out as before but I left it as is this time. In the background I saw that somehow the folders appear to have been scanned and the number of the message was added to them. That took over three hours and Evolution closed then without a segmentation fault.

After starting Evolution again, the message in the one folder are still missing. (I reported this originally.) So how can I force Evolution to rescan that one folder?

And from a user perspection, it would be great to be told when something is happening in the background so that I do not kill it thinking it is in an endless loop.
Comment 8 Paul Menzel 2011-08-21 17:45:28 UTC
I found a second folder where messages are missing.
Comment 9 Paul Menzel 2011-08-21 17:46:26 UTC
And off topic, the migration does not seem to preserve the ordering/sorting of the messages.
Comment 10 André Klapper 2011-08-21 18:31:44 UTC
(In reply to comment #0)
> Where is a how to what to do in such situations?

What do you mean by "such situations" exactly?

> Secondly Evolution did not quit correctly and aborted with a segmentation fault
> after having hit Ctrl + q an hour ago.

Seperate bug report welcome with terminal output.

(In reply to comment #1)
> Some more suggestions. A progress bar during the conversion

Please file a separate enhancement request.

(In reply to comment #5)
> A confirmation message that the migration has been successfully finished would
> be useful.

Please file a separate enhancement request.

In general you probably want to ask on the mailing list at https://mail.gnome.org/mailman/listinfo/evolution-list as Bugzilla is not a forum... :)
Comment 11 Paul Menzel 2011-08-21 20:48:13 UTC
(In reply to comment #10)
> (In reply to comment #0)
> > Where is a how to what to do in such situations?
> 
> What do you mean by "such situations" exactly?

In situations, where the migration from mbox to Maildir fails.
>
> > Secondly Evolution did not quit correctly and aborted with a segmentation fault
> > after having hit Ctrl + q an hour ago.
> 
> Seperate bug report welcome with terminal output.

It is hard to predict when I hit that segmentation fault (not reproducible) and therefore I do not always run Evolution under GDB or Valgrind. Having some recent Evolution running now, I will try a Valgrind run. Is there sensitive data in the Valgrind output? Is there a secured area where I can send such protocols to?

[…]

> In general you probably want to ask on the mailing list at
> https://mail.gnome.org/mailman/listinfo/evolution-list as Bugzilla is not a
> forum... :)

Probably you are right. It is just another list I have to subscribe and will probably read then too.
Comment 12 Akhil Laddha 2011-08-22 04:13:20 UTC
(In reply to comment #1)
> Some more suggestions. A progress bar during the conversion would be nice and
> generally some user feedback besides the tabs at the bottem, which are not
> useful when there are several and overlap each other.

already reported bug 640831
Comment 13 Akhil Laddha 2011-08-22 07:06:50 UTC
(In reply to comment #6)
> Opening another mail folder where only a few messages should be in, no message
> is displayed. The tab at the bottem says something like searching in `…
> local_mbox`.

local_mbox file is a backup file which is created before moving data to maildir, so you have all your mails (those were present before migration) still available in local_mbox

> 
> So is the migration process not done yet? How can I manually do this for
> certain folders? I looked through the Evolution project site and there is no
> information regarding the migration.

If folder summary is corrupted, those folders will not be moved to maildir. To move those folders manually, you can follow below steps

1) enable local_mbox in menu -> edit -> preferences.
2) make folder summary sane, how to do this, please read below url

https://live.gnome.org/Evolution/FAQ#Why_do_I_get_an_error_.22Summary_and_folder_mismatch.2C_even_after_a_sync.22.3F

3) then select all the messages, you want to move to maildir and move them

Most of your problem should be solved in bug 655263
Comment 14 Akhil Laddha 2011-08-24 09:57:07 UTC

*** This bug has been marked as a duplicate of bug 655263 ***