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 654628 - Random failure while trying to move emails from folder to folder: No such file or directory. (ENOENT)
Random failure while trying to move emails from folder to folder: No such fil...
Status: RESOLVED OBSOLETE
Product: evolution
Classification: Applications
Component: Mailer
3.0.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2011-07-14 16:32 UTC by Gilboa Davara
Modified: 2011-12-22 04:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gilboa Davara 2011-07-14 16:32:42 UTC
I'm trying to move multiple emails from one folder to another.
If I move them (either by dragging or by right click->move) one by one, the move is successful.
If I attempt to move multiple emails I get the following error code (no matter what is the source or destination folders):
"Error while moving messages to folder Inbox/XXX/XXX
Cannot transfer message to destination folder: No such file or directory."

Looking at strace (I can supply the full output) I see the following:
open("/home/gilboa/.config/evolution/mail/folders/.#et-expanded-maildir:_home_gilboa_.local_share_evolution_mail_local_Inbox_NAME1_Bank-Budget", O_WRONLY|O_CREAT|O_TRUNC, 0600) = -1 ENOENT (No such file or directory)

Please let me know how I can help debug this issue.

I'm on a fully updated Fedora 15/x86_64.
Evolution version: evolution-3.0.2-3.fc15.x86_64

- Gilboa
Comment 1 Gilboa Davara 2011-07-14 16:35:31 UTC
Strike that.
Now evolution refuses to move single messages.
I can open the source message without a problem.
I can read messages in the destination folder without a problem.

The mailbox was converted from Fedora 14 evolution 2.32.x, but was dragged with me since, more-or-less Fedora 2...

- Gilboa
Comment 2 Gilboa Davara 2011-07-14 17:19:23 UTC
Seems somewhat sporadic.
After a couple of restart cycles, I managed to move all the emails, but I had to restart evolution every time I got the "ENOENT" message.
Comment 3 Gilboa Davara 2011-07-30 10:59:29 UTC
I should also point out the .local/share/evolution and .config/evolution are symbolic links to ~/Documents/evolution (to ease backups).

If anyone can offer my any type of guidance how to better debug this issue, please let me know.

- Gilboa
Comment 4 Milan Crha 2011-08-31 14:17:45 UTC
Thanks for a bug report. 3.0.2 is capable of XDG directories, thus you can redirect it by them, rather than using symbolic links. See comment at commit [1] how to do that.

Apart of that (where I'm not sure how much it is related to your issue, though it might be quite much), what accounts are you moving messages between? You said it doesn't matter with folders, but I didn't get from the description what accounts this is about. is it just for On This Computer/ folders, or any IMAP, IMAP+, exchange, mapi... accounts too?

[1] http://git.gnome.org/browse/evolution-data-server/commit/?id=2f00a805a78b
Comment 5 Gilboa Davara 2011-09-13 11:21:24 UTC
Same account, gmail POP3 account.
As for XDG, I'll try it report back.

- Gilboa
Comment 6 Akhil Laddha 2011-10-29 04:02:09 UTC
Gilboa, ping, do you have any update for the bug ?
Comment 7 Gilboa Davara 2011-11-08 07:12:30 UTC
Bug can be closed. I've switched IMAP and solved the problem...