Unable to retrieve message

View: New views
12 Messages — Rating Filter:   Alert me  

Unable to retrieve message

by Felix Koop :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I have one message in the listing of messages in my Inbox that I cannot
get to or delete. If I try to open that message, I get the error:

Unable to retrieve message
Cannot get message 134185 from folder /..../.evolution/mail/local/Inbox
No such message

How can I get rid of this dead message?

Evolution 2.28.1 on Debian Sid amd64
---

Kind regards,
Felix


_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

Re: Unable to retrieve message

by Patrick O'Callaghan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 2009-11-06 at 22:36 +0100, Felix Koop wrote:

> Hello,
>
> I have one message in the listing of messages in my Inbox that I cannot
> get to or delete. If I try to open that message, I get the error:
>
> Unable to retrieve message
> Cannot get message 134185 from folder /..../.evolution/mail/local/Inbox
> No such message
>
> How can I get rid of this dead message?

Sounds like a broken index. See an earlier thread from yesterday and
today on how to fix this.

poc

_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

Re: Unable to retrieve message

by Felix Koop :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 2009-11-06 at 17:44 -0430, Patrick O'Callaghan wrote:

> On Fri, 2009-11-06 at 22:36 +0100, Felix Koop wrote:
> > Hello,
> >
> > I have one message in the listing of messages in my Inbox that I cannot
> > get to or delete. If I try to open that message, I get the error:
> >
> > Unable to retrieve message
> > Cannot get message 134185 from folder /..../.evolution/mail/local/Inbox
> > No such message
> >
> > How can I get rid of this dead message?
>
> Sounds like a broken index. See an earlier thread from yesterday and
> today on how to fix this.
>
> poc

Thanks Patrick, but deleting all index files didn't help. The message in
question is still there.

---
Kind regards,
Felix




_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

Re: Unable to retrieve message

by Patrick O'Callaghan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 2009-11-06 at 23:56 +0100, Felix Koop wrote:

> On Fri, 2009-11-06 at 17:44 -0430, Patrick O'Callaghan wrote:
> > On Fri, 2009-11-06 at 22:36 +0100, Felix Koop wrote:
> > > Hello,
> > >
> > > I have one message in the listing of messages in my Inbox that I cannot
> > > get to or delete. If I try to open that message, I get the error:
> > >
> > > Unable to retrieve message
> > > Cannot get message 134185 from folder /..../.evolution/mail/local/Inbox
> > > No such message
> > >
> > > How can I get rid of this dead message?
> >
> > Sounds like a broken index. See an earlier thread from yesterday and
> > today on how to fix this.
> >
> > poc
>
> Thanks Patrick, but deleting all index files didn't help. The message in
> question is still there.

You could try vacuuming the SQL database files (shutting down Evo first
of course):

#!/bin/sh

cd ~/.evolution/mail/
for i in `find . -name folders.db`
do
        echo "Rebuilding Table $i"
        sqlite3 $i "vacuum;"
done

If that doesn't work, I'm out of ideas.

poc

_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

Re: Unable to retrieve message

by Felix Koop :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Am Freitag, den 06.11.2009, 19:40 -0430 schrieb Patrick O'Callaghan:

> On Fri, 2009-11-06 at 23:56 +0100, Felix Koop wrote:
> You could try vacuuming the SQL database files (shutting down Evo first
> of course):
>
> #!/bin/sh
>
> cd ~/.evolution/mail/
> for i in `find . -name folders.db`
> do
>         echo "Rebuilding Table $i"
>         sqlite3 $i "vacuum;"
> done
>
> If that doesn't work, I'm out of ideas.
>
> poc

Very strange. If I delete all of the index files and vacuum the database
files, then restart evoilution, the message is not there. I can try and
get all of my mails and the message will not appear. If I then shut down
evolution and restart it, then the message is back. :-(

Additionally, when I try to visualize the message, then change message
folders, then come back to the Inbox, then the message is no longer
visible, not even in the listing where I did see it before.

Anyone with any ideas?

---
Kind regards,

Felix

_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

Re: Unable to retrieve message

by Patrick O'Callaghan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 2009-11-07 at 08:59 +0100, Felix Koop wrote:

>
> Am Freitag, den 06.11.2009, 19:40 -0430 schrieb Patrick O'Callaghan:
> > On Fri, 2009-11-06 at 23:56 +0100, Felix Koop wrote:
> > You could try vacuuming the SQL database files (shutting down Evo first
> > of course):
> >
> > #!/bin/sh
> >
> > cd ~/.evolution/mail/
> > for i in `find . -name folders.db`
> > do
> >         echo "Rebuilding Table $i"
> >         sqlite3 $i "vacuum;"
> > done
> >
> > If that doesn't work, I'm out of ideas.
> >
> > poc
>
> Very strange. If I delete all of the index files and vacuum the database
> files, then restart evoilution, the message is not there. I can try and
> get all of my mails and the message will not appear. If I then shut down
> evolution and restart it, then the message is back. :-(

Did you shut down Evo *before* removing the index files and vacuuming
the database?

poc

_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

Re: Unable to retrieve message

by Felix Koop :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Am Samstag, den 07.11.2009, 09:32 -0430 schrieb Patrick O'Callaghan:

> On Sat, 2009-11-07 at 08:59 +0100, Felix Koop wrote:
> >
> > Very strange. If I delete all of the index files and vacuum the database
> > files, then restart evoilution, the message is not there. I can try and
> > get all of my mails and the message will not appear. If I then shut down
> > evolution and restart it, then the message is back. :-(
>
> Did you shut down Evo *before* removing the index files and vacuuming
> the database?
>
> poc
>

Sure. I executed evolution --force-shutdown, then cleaned all of the
index files, then vacuumed the database and then restarted evolution.

---
Kind regards, Felix

_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

Parent Message unknown Re: Unable to retrieve message

by Felix Koop :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Am Samstag, den 07.11.2009, 11:15 -0500 schrieb Philippe LeCavalier:

> On Sat, 2009-11-07 at 17:09 +0100, Felix Koop wrote:
> > I don't have an IMAP server. The INBOX is on local storage and I get all
> > of my mail from POP servers.
> >
> > ---
> > Kind regards, Felix
> >
> The same can be done with POP just google 'pop3 command line'.
>
> P.S. you responded to me and not the list.
>
>         Cheers,
>         Phil

Just to be sure: The folder in which I get this message is not on any
server, but on the local machine. But I looked up all servers and there
is no message in the inbox of any server (not anything that resembles
this dead message by any means).

---
Kind regards, Felix

_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

Re: Unable to retrieve message

by Patrick O'Callaghan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 2009-11-07 at 20:03 +0100, Felix Koop wrote:

>
> Am Samstag, den 07.11.2009, 11:15 -0500 schrieb Philippe LeCavalier:
> > On Sat, 2009-11-07 at 17:09 +0100, Felix Koop wrote:
> > > I don't have an IMAP server. The INBOX is on local storage and I get all
> > > of my mail from POP servers.
> > >
> > > ---
> > > Kind regards, Felix
> > >
> > The same can be done with POP just google 'pop3 command line'.
> >
> > P.S. you responded to me and not the list.
> >
> >         Cheers,
> >         Phil
>
> Just to be sure: The folder in which I get this message is not on any
> server, but on the local machine. But I looked up all servers and there
> is no message in the inbox of any server (not anything that resembles
> this dead message by any means).

The only other thing I can think of is a corrupted mbox file. You might
try passing it through formail (part of the procmail package) which can
clean up problems like this. Or even looking at it with an editor (e.g.
if there's a non-ASCII character in there somewhere it could cause
problems).

poc

_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

Re: Unable to retrieve message

by Felix Koop :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Am Sonntag, den 08.11.2009, 10:09 -0430 schrieb Patrick O'Callaghan:

> On Sat, 2009-11-07 at 20:03 +0100, Felix Koop wrote:
> >
> > Just to be sure: The folder in which I get this message is not on any
> > server, but on the local machine. But I looked up all servers and there
> > is no message in the inbox of any server (not anything that resembles
> > this dead message by any means).
>
> The only other thing I can think of is a corrupted mbox file. You might
> try passing it through formail (part of the procmail package) which can
> clean up problems like this. Or even looking at it with an editor (e.g.
> if there's a non-ASCII character in there somewhere it could cause
> problems).
>
> poc
>

That didn't help. But I found another solution that did work: deleting
folders.db. When deleting index files, I only deleted *.cmeta, *.index,
*.index.data, *.ev-summary and *.ev-summary-meta. Now that I deleted
folders.db the mail seemed to go away.

---
Kind regards, Felix


_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

Re: Unable to retrieve message

by Philippe LeCavalier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 2009-11-08 at 18:51 +0100, Felix Koop wrote:

Am Sonntag, den 08.11.2009, 10:09 -0430 schrieb Patrick O'Callaghan:
> On Sat, 2009-11-07 at 20:03 +0100, Felix Koop wrote:
> > 
> > Just to be sure: The folder in which I get this message is not on any
> > server, but on the local machine. But I looked up all servers and there
> > is no message in the inbox of any server (not anything that resembles
> > this dead message by any means).
> 
> The only other thing I can think of is a corrupted mbox file. You might
> try passing it through formail (part of the procmail package) which can
> clean up problems like this. Or even looking at it with an editor (e.g.
> if there's a non-ASCII character in there somewhere it could cause
> problems).
> 
> poc
> 

That didn't help. But I found another solution that did work: deleting
folders.db. When deleting index files, I only deleted *.cmeta, *.index,
*.index.data, *.ev-summary and *.ev-summary-meta. Now that I deleted
folders.db the mail seemed to go away.

I remember once I had to do that. Can't remember why but that had fixed my problem at the time as well.

Glad to hear you're in the clear!

Cheers,
Phil

_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

Re: Unable to retrieve message

by Patrick O'Callaghan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 2009-11-08 at 18:51 +0100, Felix Koop wrote:

>
> Am Sonntag, den 08.11.2009, 10:09 -0430 schrieb Patrick O'Callaghan:
> > On Sat, 2009-11-07 at 20:03 +0100, Felix Koop wrote:
> > >
> > > Just to be sure: The folder in which I get this message is not on any
> > > server, but on the local machine. But I looked up all servers and there
> > > is no message in the inbox of any server (not anything that resembles
> > > this dead message by any means).
> >
> > The only other thing I can think of is a corrupted mbox file. You might
> > try passing it through formail (part of the procmail package) which can
> > clean up problems like this. Or even looking at it with an editor (e.g.
> > if there's a non-ASCII character in there somewhere it could cause
> > problems).
> >
> > poc
> >
>
> That didn't help. But I found another solution that did work: deleting
> folders.db. When deleting index files, I only deleted *.cmeta, *.index,
> *.index.data, *.ev-summary and *.ev-summary-meta. Now that I deleted
> folders.db the mail seemed to go away.

You should probably report this to Bugzilla. It means that even
vacuuming the database didn't fix the problem.

poc

_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list