Bug 2653

Summary: Cannot create new Maildir "folder" in Evolution 2.32.2
Product: Mageia Reporter: Gene Alexander <subs>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED WONTFIX QA Contact:
Severity: major    
Priority: Normal CC: dmorganec, fundawang, marja11, pterjan, remco
Version: 1   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
See Also: https://bugs.mageia.org/show_bug.cgi?id=2721
Whiteboard:
Source RPM: evolution-2.32.2-2.mga1.src.rpm CVE:
Status comment:
Bug Depends on: 2721    
Bug Blocks:    
Attachments: CAMEL_DEBUG=all evolution >& evolution_debug_1.log
Example Mail Hierarchy
PNG screen capture - no .evolution directory

Description Gene Alexander 2011-09-07 00:16:27 CEST
Description of problem:

Trying to create a new Maildir "folder" here generates an error:

DEBUG: 001.Business/000.eracc.com/subs/Mageia_Bugs (maildir:/home/gene/mail#001.Business/000.eracc.com/subs/Mageia_Bugs)

(evolution:14483): evolution-mail-CRITICAL **: file em-folder-utils.c: line 653 (emfu_popup_new_folder_response): should not be reached

Version-Release number of selected component (if applicable):


How reproducible:

For me - always. For you - it probably works okay.

Steps to Reproduce:
1. Migrate Mandriva 2010.2 to Mageia 1.
2. Use Evolution with existing Maildir "folders" and try to make a new one.
3. Will not make new "folder".

I am now running Evolution with the command "CAMEL_DEBUG=all evolution >& evolution_debug.log", so maybe I can get more details on these reports I am making.
Comment 1 Gene Alexander 2011-09-07 20:52:25 CEST
Created attachment 771 [details]
CAMEL_DEBUG=all evolution >& evolution_debug_1.log

Since this report will apparently be closed if I do not attach a log or something, here is the same log I have used on other Evolution bug reports. However, I do not believe I attempted to create another "folder" while this was being logged. It seems to me the output I got in the original report should be enough of a clue, but maybe not.
Comment 2 Gene Alexander 2011-09-12 20:32:17 CEST
Further information about this. With the "old" evolution from Mandriva I was able to create Maildir "subfolders". With the "new" evolution from Mageia I cannot create Maildir "subfolders". I get an error every time I try. Even with a new user account and "virgin" evolution set up with an empty "~/Mail" directory. I need to be able to create hierarchical mail structures. I will attach an example screen capture of part of my existing mail directory as seen in evolution.
Comment 3 Gene Alexander 2011-09-12 20:33:40 CEST
Created attachment 786 [details]
Example Mail Hierarchy

This is just a portion of my rather large Maildir structure for managing my e-mail.
Comment 4 Gene Alexander 2011-09-12 20:37:23 CEST
Every time I attempt to create a new "subfolder" this is output in xterm when I run evolution from the CLI to see what is happening:

  DEBUG: 001.Business/000.a.Business (maildir:/home/gene/mail#001.Business/000.a.Business)

  (evolution:25482): evolution-mail-CRITICAL **: file em-folder-utils.c: line 653 (emfu_popup_new_folder_response): should not be reached

Hopefully, this gives someone a clue as to what needs to be done to make evolution at least work like it did before I migrated from Mandriva 2010.2 to Mageia 1.
Comment 5 Gene Alexander 2011-09-12 20:41:02 CEST
I forgot to add, I *can* create top level "folders" in the Maildir tree. I just cannot create any "subfolders" off of an existing "folder". Such as the "subfolders" shown in the screen capture.
Gene Alexander 2011-09-12 20:42:53 CEST

Severity: normal => major

Comment 6 Marja Van Waes 2011-09-17 19:58:43 CEST
Do you use pop or do you use imap?

CC: (none) => m.van.waes

Comment 7 Gene Alexander 2011-09-17 21:08:01 CEST
I have both POP and IMAP accounts. However, the Maildir directory in question is just a local Maildir structure carried over from Kmail. The only thing that "delivers" to the directory is Evolution.

I can create new Maildir subdirectories from the command-line for now. But that is really not an optimal solution.
Comment 8 Marja Van Waes 2011-09-17 21:46:14 CEST
(In reply to comment #7)
> I have both POP and IMAP accounts. However, the Maildir directory in question
> is just a local Maildir structure carried over from Kmail. The only thing that
> "delivers" to the directory is Evolution.
> 
> I can create new Maildir subdirectories from the command-line for now. But that
> is really not an optimal solution.

So that's why you seem to be the only one suffering from this bug, I couldn't find any report of someone else suffering from the same problem in the past year, nor in Mageia, nor in other distributions, nor upstream.

Migrating from Kmail to Evolution is tricky, I have no experience with it, but just google "migrating from kmail to evolution" and you'll find enough examples.

I'm very glad you found a way to create subfolders. You might want to go to the Mageia forum if you need help to find a more optimal solution.

Because this migration seems to have caused your problem, I close this bug. If you don't agree, feel free to reopen it and tell us why you still think it is a bug.

Status: NEW => RESOLVED
Resolution: (none) => INVALID

Comment 9 Marja Van Waes 2011-09-17 21:49:11 CEST
In case "past year" means "2010", that is not what I meant, I meant from sept. 17th 2010 until today
Comment 10 Gene Alexander 2011-09-17 23:05:34 CEST
Uhmm, if you closed this due to the perception it is a Kmail to Evolution migration problem you misunderstood. Actually, I migrated from Kmail to Evolution a year ago while using Mandriva:

http://blog.eracc.com/2010/09/28/open-source-my-migration-from-kontact-to-evolution/

That migration was successful and I had zero problems once I reconfigured the Maildir directories to not use leading dots. I have successfully used the local Maildir structure under the Evolution in Mandriva up until the day I migrated from Mandriva 2010.2 to Mageia 1.

My migration from Mandriva to Mageia is what started causing me "headaches" with the local Maildir structure. It is not a Kmail to Evolution problem at this point. It is a problem with the version of Evolution that is included with Mageia 1 as far as I can determine.

Reopening the bug ... If I misunderstood what you intended then please elucidate.

Status: RESOLVED => REOPENED
Resolution: INVALID => (none)

Comment 11 Gene Alexander 2011-09-17 23:09:29 CEST
For the record, I prefer Maildir over Evolution's default "binary blob" mail handling. I *always* create Maildir structures for my mail with Evolution. Also for my wife and my clients. I tested with a new user account and a fresh setup of Evolution here with "virgin" Maildir structure. It still has the problem of not being able to create subdirectories under the local Maildir structure. So, this is going to continue to be a problem with Mageia, unless resolved.
Comment 12 Marja Van Waes 2011-09-18 08:21:18 CEST
(In reply to comment #10)
> Uhmm, if you closed this due to the perception it is a Kmail to Evolution
> migration problem you misunderstood. Actually, I migrated from Kmail to
> Evolution a year ago while using Mandriva:
> 
> http://blog.eracc.com/2010/09/28/open-source-my-migration-from-kontact-to-evolution/
> 
> That migration was successful and I had zero problems once I reconfigured the
> Maildir directories to not use leading dots. I have successfully used the local
> Maildir structure under the Evolution in Mandriva up until the day I migrated
> from Mandriva 2010.2 to Mageia 1.
> 

You're right, this is a valid reason to reopen the bug
Comment 13 Marja Van Waes 2011-10-17 12:41:49 CEST
@ Gene

At first I understood that you reproduced the bug on the systems of your wife and clients (comment 11), but now I see there is a dot after "Also
for my wife and my clients." 

Did you reproduce the bug on other systems?

CC: (none) => pterjan

Comment 14 Pascal Terjan 2011-10-17 13:00:16 CEST
The error happens when evolutions creates the tree view of your existing folders, so I guess there is something it does not like.

Looking at the log you attached there is sonething strange on your system. It seems you still have /home/gene/.evolution/mail/local/folders.db while you also have new style data at /home/gene/.local/share/evolution/mail/local/folders.db

Everything should have been moved and /home/gene/.evolution should no longer exist
Comment 15 Gene Alexander 2011-10-17 18:37:49 CEST
Marja,

What I was stating is that I create Maildir folders also for my wife and our clients that use Evolution mail. They have not been migrated from Mandriva yet because this bug bit me. So, no, I have not yet tried this on someone else's computer as I do not need the problems that would cause if this happened to them too.
Comment 16 Gene Alexander 2011-10-17 18:42:15 CEST
Pascal,

The directory /home/gene/.evolution does not exist. So I have no clue why that would be in the logs. The file /home/gene/.local/share/evolution/mail/local/folders.db does exist and is being updated as it has a time stamp from earlier today.
Comment 17 Gene Alexander 2011-10-17 18:45:57 CEST
Created attachment 974 [details]
PNG screen capture - no .evolution directory

This is a screen capture of an 'mc' session showing the hidden directories on /home/gene. Note there is no .evolution directory there.
Comment 18 Gene Alexander 2011-10-17 18:53:46 CEST
To be honest, it is possible I removed the .evolution directory sometime after the log here was created. I know I have tried several "solutions" I have found on web searches over the previous weeks. It is probable that I saw a message somewhere stating that the .evolution directory needed to be removed if one also has a ~/.local/share/evolution/ directory. But at this point, I do not recall everything I have tried. So far, nothing "fixes" this. I am praying that once Mageia back-ports the latest Evolution from cooker, all will be well: https://bugs.mageia.org/show_bug.cgi?id=2721
Marja Van Waes 2011-11-25 14:12:27 CET

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=2721

Marja Van Waes 2011-11-25 14:20:36 CET

Depends on: (none) => 2721

Comment 19 Marja Van Waes 2012-01-22 18:53:22 CET
cc'ing 2 committers of evolution

CC: (none) => dmorganec, fundawang

Remco Rijnders 2012-02-29 06:46:36 CET

CC: (none) => remco

Comment 20 Manuel Hiebel 2012-11-05 16:53:11 CET
This message is a reminder that Mageia 1 is nearing its end of life. 
In approximately 25 days from now, Mageia will stop maintaining and issuing 
updates for Mageia 1. At that time this bug will be closed as WONTFIX (EOL) if it 
remains open with a Mageia 'version' of '1'.

Package Maintainer: If you wish for this bug to remain open because you plan to 
fix it in a currently maintained version, simply change the 'version' to a later 
Mageia version prior to Mageia 1's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that we may not 
be able to fix it before Mageia 1 is end of life.  If you would still like to see 
this bug fixed and are able to reproduce it against a later version of Mageia, 
you are encouraged to click on "Version" and change it against that version 
of Mageia.

Although we aim to fix as many bugs as possible during every release's lifetime, 
sometimes those efforts are overtaken by events. Often a more recent Mageia 
release includes newer upstream software that fixes bugs or makes them obsolete.

--
Mageia Bugsquad
Comment 21 Manuel Hiebel 2012-12-02 14:32:32 CET
Mageia 1 changed to end-of-life (EOL) status on ''1st December''. Mageia 1 is no 
longer maintained, which means that it will not receive any further security or 
bug fix updates. As a result we are closing this bug. 

If you can reproduce this bug against a currently maintained version of Mageia 
please feel free to click on "Version" change it against that version of Mageia and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
Mageia Bugsquad

Status: REOPENED => RESOLVED
Resolution: (none) => WONTFIX