Closed Bug 466637 Opened 16 years ago Closed 16 years ago

The current command did not succeed. The mail server responded: No messages match. (Failure) .

Categories

(MailNews Core :: Networking: IMAP, defect)

x86
All
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: bug1125.moz, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.0.3) Gecko/2008091700 SUSE/3.0.3-1.1 Firefox/3.0.3
Build Identifier: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1b2pre) Gecko/20081124 Shredder/3.0b1pre

Constantly getting message:

The current command did not succeed.  The mail server responded: No messages match. (Failure).

With Gmail IMAP account. Attempt to view Inbox or refresh it produce that message and busy cursor. Busy cursor only goes away when selecting a different mail account from "All Folders" tree on left.  "Get Mail" button produces same message and inbox isn't refreshed. Viewing Inbox through Web Gmail interface confirms inbox is out of date.

Reproducible: Always

Steps to Reproduce:
It's not yet clear what causes this to start happening but once it starts it is very difficult to get rid of. Even restarting TB doesn't seem to fix it reliably.



This makes the inbox of a gmail account over IMAP inaccessible and unusable. This is a severe error.
While this problem exists, I've noticed that clicking on the inbox folder in the Gmail account briefly displays a message in the status bar: "moving message to trash" or similar. Then the error described above appears.

However, I have now found a way to clear the error. 

Right click on the inbox folder -> properties. Then "Rebuild Index".

The error has gone for now - but it will be back.
> Gecko/20081124 Shredder/3.0b1pre
> Viewing Inbox through Web Gmail interface confirms inbox is out of date.

What do you mean by "out of date"?
Same problem as Bug 465800? (See Bug 465800 Comment #3)

Get IMAP protocol log, and check real IMAP level flow.
> http://kb.mozillazine.org/Session_logging_for_mail/news
"Out of date" means that Thunderbirds content list of the inbox doesn't match GMail's. 

I can now reproduce the problem easily:

Delete a message through GMail's web interface then try to delete the same message through TB. Bingo! The error will persist now until you rebuild TB's index.

If you still need a trace, let me know. I've run one but as I have two IMAP accounts, it's full of stuff that isn't relevant.  I'll need to run it again with the other account disabled.
(In reply to comment #3)
> Bingo!
> If you still need a trace, let me know.

No need to get trace/log any more.
Setting dependency to Bug 465800 instead of "close as DUP of Bug 465800", in order to keep "No messages match. (Failure)" case due to Bug 465800.
Status: UNCONFIRMED → NEW
Depends on: 465800
Ever confirmed: true
Component: Mail Window Front End → Networking: IMAP
OS: Linux → All
Product: Thunderbird → Core
QA Contact: front-end → networking.imap
Version: unspecified → Trunk
To lenscape(bug opener):

It seems to be WORKSFORME already.  
See Bug 465800 Comment #6 and Bug 465800 Comment #7.
Can you still produce problem with latest-trunk?
It seems to be cured. 

Now, if you delete a message through Gmail's web interface, it is very quickly removed from TB on through IMAP.

Nice one.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.