GNOME Bugzilla – Bug 638307
Error when sending mail after converting to maildir
Last modified: 2013-09-13 01:11:36 UTC
I get this every time I try to send a message: The reported error was "Could not add to mbox:///home/kmaraas/.local/share/evolution/mail/local#Sent: Cannot find the folder «Sent»: the folder does not exist. Adding to local «Sendt» folder instead" Losely translated back to english from the norwegian translation :-)
What is the setting for "Edit > Prefs > Mail Accounts > Edit > Defaults > Folder for sent messages" ?
It was set correctly to the "Sendt" folder, but choosing it again "fixed" the problem :-/
And now it's back... The folder in my version of Evolution is called "Sendt". Is this a problem with lack of localization in the mbox code?
can be related to bug 637727
*** Bug 638501 has been marked as a duplicate of this bug. ***
Created attachment 181118 [details] [review] evo patch for evolution; This was tricky. I was afraid that we'll need more code to be done, like fixing search folders, every mail account and such, but no, this works as it is (if user lets evo migrate). The only thing was that the sent/draft folder set on the newly created account, the old mbox, was localizing their names, which is wrong in uris.
Created commit 2ee58bb in evo master (2.91.90+)
*** Bug 644442 has been marked as a duplicate of this bug. ***
Reopening, it's not fixed in 3.0.2.
*** Bug 649997 has been marked as a duplicate of this bug. ***
Downstream bug report about the same in 3.0.2: https://bugzilla.redhat.com/show_bug.cgi?id=712813
Created attachment 190100 [details] [review] evo patch ][ for evolution; To update accounts' Drafts and Sent folders pointing to the old mbox location during initial migration.
Created commit 2c4c8af in evo master (3.1.3+) Created commit af4ddea in evo gnome-3-0 (3.0.3+)
*** Bug 654875 has been marked as a duplicate of this bug. ***
*** Bug 654969 has been marked as a duplicate of this bug. ***
*** Bug 657061 has been marked as a duplicate of this bug. ***
I'm getting this message in 3.0.3. http://live.gnome.org/Evolution/FAQ says it was fixed in 3.0.2 and later. Evolution segfaulted during migration from whatever I had before; maybe that's why.
(In reply to comment #18) > I'm getting this message in 3.0.3. http://live.gnome.org/Evolution/FAQ says it > was fixed in 3.0.2 and later. Evolution segfaulted during migration from > whatever I had before; maybe that's why. Seems like a typo, as it ought to be 3.0.3 (see comment #13). Anyway, the code goes into effect only the first time you run evolution after update from 2.x, and your current version should be 3.0.3 (the one you are updating to). It's possible that evolution didn't get up to the point of fixing your Sent/Draft folder links if it crashed during this initial data migration. In that case only comment 1 & comment 2 can help you.
*** Bug 661234 has been marked as a duplicate of this bug. ***
*** Bug 665236 has been marked as a duplicate of this bug. ***
*** Bug 664224 has been marked as a duplicate of this bug. ***
*** Bug 667654 has been marked as a duplicate of this bug. ***
*** Bug 677324 has been marked as a duplicate of this bug. ***
Hi, I've also this error when I send e-mails: The error I've: mbox:///home/frederik/.local/share/evolution/mail/local#Sent mislukt: Ongeldige map-URI ‘mbox:///home/frederik/.local/share/evolution/mail/local#Sent All mine settings on this computer are the same as mine other Ubuntu computer & there I don't have that problem: The version of ubuntu i use: ----------------------------- frederik@Ubuntu:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04 LTS Release: 12.04 Codename: precise Version of Evolution: --------------------- Evolution 3.2.3 Note: ----- Computer is updated to all latest updates! Best Regards, Frederik
Bonjour, Strange, I just upgrade a UBUNTU 10.04 LTS to 12.04 LTS directly thru 'update' "mise à jour en Français" and this new evolution, after self transforming the old mail storage system to the new one run fine like befor. The first mail I write with a atached file is sending just with a warning saiyng that one directorie is not accessible. I think that the myname@localhost count is not good. Best regard, Alain
I upgraded from Fedora 14 to Fedora 17 by doing a fresh install but not chaning my /home directory. Under evolution 3.4.2, lots of things stopped working from my .local/share/evolution/mail settings. In particular, whenever I send a messages I get the error message referred to above. the sent message does get put in On this computer > Sent, where I want it. I tried to change defaults as recommended here, but I can't save any changes to Defaults because Apply is grayed out. As best I can tell, all the files in the .local/share/evolution/mail tree belong to me with at least rw permissions. evolution 3.03 under Fedora 15 has a slightly different interface, but this problem does not appear there. Also, under an alternate identity in Fedora 17, I created a fresh evolution, and the problem didn't appear there.
I have just seen this error after installing evolution 3.2.3. Should I just create the missing mbox?
(In reply to comment #28) > I have just seen this error after installing evolution 3.2.3. Should I just > create the missing mbox? See comment #1.
I'm still getting this error in evolution 3.4.4
That might mean that the migration utility didn't run properly. Did you have this error in 3.4.3 too? The thing is that the migration runs only between major versions, like when you update from 3.2.x to 3.4.x, and only once. You may want to edit your account and set the sent folder manually (the 3.4.4 has a fix in migration too, which prevented proper run of migration).
Actually, when I moved from F14 to F17, I made a backup in evo 2 and restored it in evo 3.0.1 (had to use F15 in a VM), because version 3.4.1 could not restore that backup properly - all my local mail folders were empty, and it did not offer to migrate mbox format to maildir. Then I made a backup again in same VM and restored in on F17 with evolution 3.4.1 which comes with F17. After that restoration, I saw that problem every time I send email.
As I said above, 3.4.4 has a fix in migration, which makes your steps working as expected without the virtual machine. The change is done without bug reference, at least within the NEWS file for that version.
You mean, it will be able to restore backup made by version 2 and convert mbox format to maildir? That would be great. I won't need it now, but still, it is good.
Yes, you should be able to restore from F14 (2.32.3) backup in F17 (3.4.4) directly, without inter-step.
*** Bug 689613 has been marked as a duplicate of this bug. ***
I am still getting this with 3.8.0 :/
The automatic conversion is not done each start, but only when updating from some older version. I wanted to name the exact version, but I cannot find the code in 3.8.0; it's gone for an unknown reason to me.
In my case, I updated from old 2.32 version
(In reply to comment #39) > In my case, I updated from old 2.32 version Since this problem will hit all people running Gentoo stable when we tag Gnome 3.8 as stable in next months, could you provide me the "proper" way to solve this if the code won't be readded to 3.8? Thanks
To be honest, I do not know why it was dropped, or where it was moved. Matthew, could you clarify your changes on this, please?
As I recall, the migration code was doing a bunch of EAccount manipulation and we dropped the whole EAccount class in 3.6. Probably got lost at some point during the 18 months I was working on that. I can only assume it was an oversight. e_mail_folder_uri_parse() would be a better place to check for that corner case anyway, since there's already a bunch of backward-compatibility gunk there to handle old folder URI formats.
(In reply to comment #42) > e_mail_folder_uri_parse() would be a better place to check for that corner case > anyway, since there's already a bunch of backward-compatibility gunk there to > handle old folder URI formats. I implemented this for Evolution 3.9.1 and 3.8.1: https://git.gnome.org/browse/evolution/commit/?id=94372b5f1857b66d1ae7e14a37075122b5c8336c https://git.gnome.org/browse/evolution/commit/?h=gnome-3-8&id=ac480dcea5e584a54adf4c5a6b832e49c70f7fe7
Cannot them be reintroduced for 3.8? :/
Oops, sorry, I misunderstood comment #43, it now works fine. Thanks a lot :D