Re: [Mutt] #2883: mutt gets confused when a message disappears from
#2883: mutt gets confused when a message disappears from a maildir
---------------------+------------------------------------------------------
Reporter: myon | Owner: mutt-dev
Type: defect | Status: infoneeded_new
Priority: minor | Milestone: 1.6
Component: mutt | Version:
Resolution: | Keywords:
---------------------+------------------------------------------------------
Changes (by brendan):
* status: new => infoneeded_new
Old description:
> {{{
> ----- Forwarded message from Mike O'Connor <stew@xxxxxxxxx> -----
>
> Date: Wed, 18 Apr 2007 18:30:12 -0400
> From: Mike O'Connor <stew@xxxxxxxxx>
> Reply-To: Mike O'Connor <stew@xxxxxxxxx>, 419946@xxxxxxxxxxxxxxx
> To: Debian Bug Tracking System <submit@xxxxxxxxxxxxxxx>
> Subject: Bug#419946: mutt gets confused when a message dissapears from a
> maildir
>
> Package: mutt
> Version: 1.5.13-3
> Severity: normal
>
> I use offlineimap to keep multiple computers in sync with a remote
> imap server. If offline imap deletes a file from a new directory in a
> Maildir that mutt is currently viewing, mutt gets an error trying to
> move the file from new to cur when running <sync-mailbox>. The only
> recourse is to quit mutt and restart.
>
> Here are the steps I can use to reproduce this:
>
> Machine A and Machine B run the same offlineimap config and the same
> mutt config.
>
> I start offlineimap on both, which re-syncs with the server every 5
> minutes.
>
> I start mutt on both, and switch both machines to be viewing some
> maildir which is synced by offlineimap which has new messages (which
> equates to messages in that maildir's new directory).
>
> On machine A i delete one of the messages which was new, then change
> to a different folder (causing the message to actually be deleted).
>
> The next time machine A's offlineimap syncs to the server, it deletes
> the message on the server.
>
> The next time machine B's offlineimap syncs to the server, it deletes
> the message that machine A delted from the new directory of the folder
> that machine B's mutt is viewing.
>
> Then if i try to change folders or run :sync-mailbox on machine B, i
> get an error in the status area:
>
> rename: No such file or directory (errno = 2)
>
> stracing the running process reveals that it is, in fact trying to
> rename a no-longer-existant file from the new directory to the cur
> directory.
>
> At this point, I can never change folders on Machine B without
> quitting mutt and restarting it.
>
> Thanks,
>
> stew
> }}}
New description:
{{{
----- Forwarded message from Mike O'Connor <stew@xxxxxxxxx> -----
Date: Wed, 18 Apr 2007 18:30:12 -0400
From: Mike O'Connor <stew@xxxxxxxxx>
Reply-To: Mike O'Connor <stew@xxxxxxxxx>, 419946@xxxxxxxxxxxxxxx
To: Debian Bug Tracking System <submit@xxxxxxxxxxxxxxx>
Subject: Bug#419946: mutt gets confused when a message dissapears from a
maildir
Package: mutt
Version: 1.5.13-3
Severity: normal
I use offlineimap to keep multiple computers in sync with a remote
imap server. If offline imap deletes a file from a new directory in a
Maildir that mutt is currently viewing, mutt gets an error trying to
move the file from new to cur when running <sync-mailbox>. The only
recourse is to quit mutt and restart.
Here are the steps I can use to reproduce this:
Machine A and Machine B run the same offlineimap config and the same
mutt config.
I start offlineimap on both, which re-syncs with the server every 5
minutes.
I start mutt on both, and switch both machines to be viewing some
maildir which is synced by offlineimap which has new messages (which
equates to messages in that maildir's new directory).
On machine A i delete one of the messages which was new, then change
to a different folder (causing the message to actually be deleted).
The next time machine A's offlineimap syncs to the server, it deletes
the message on the server.
The next time machine B's offlineimap syncs to the server, it deletes
the message that machine A delted from the new directory of the folder
that machine B's mutt is viewing.
Then if i try to change folders or run :sync-mailbox on machine B, i
get an error in the status area:
rename: No such file or directory (errno = 2)
stracing the running process reveals that it is, in fact trying to
rename a no-longer-existant file from the new directory to the cur
directory.
At this point, I can never change folders on Machine B without
quitting mutt and restarting it.
Thanks,
stew
}}}
--
Comment:
I couldn't reproduce from this recipe either -- I had the same experience
as Rocco. Can you try with a newer mutt, eg one of the nightlies?
--
Ticket URL: <http://dev.mutt.org/trac/ticket/2883#comment:12>
Mutt <http://www.mutt.org/>
The Mutt mail user agent