I could not empty the trash folder

Bug #325157 reported by Bui M Hung
198
This bug affects 42 people
Affects Status Importance Assigned to Milestone
Evolution
Fix Released
Critical
evolution-data-server (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: evolution

When I tried to clean the trash folder but there is no action. The trash folder increase the size, it make me feel not comfortable.

>>> NEW: When I initially OPEN evolution and click Trash's "Empty Trash",
there is a message

   "Storing Folder" with a percentage quickly going up to 100%.
    This is quickly and very briefly followed by
   quickly-vanishing messages like "Generating Message".

Then the messages (but not the trash-emails) vanish. If I click "Empty Trash" again, there is no new action.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/evolution
Package: evolution 2.24.1-0ubuntu2
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: evolution
Uname: Linux 2.6.27-7-generic i686

Tags: apport-bug
Revision history for this message
Bui M Hung (bmh-groups) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

thanks for your report, are you using an imap or pop account?

Changed in evolution:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Bui M Hung (bmh-groups) wrote : Re: [Bug 325157] Re: I could not empty the trash folder

Dear Sir,

I am using the POP and IMAP account Gmail.

Two days ago, I have installed the Ubuntu-8.10 (fresh install), before I
used the 8.04 and backup my e-mail account. I have just restored the
setting and all. Thus I meet this bug.

Thanks for your support.
On Wed, 2009-02-04 at 08:18 +0000, Pedro Villavicencio wrote:
> thanks for your report, are you using an imap or pop account?
>
> ** Changed in: evolution (Ubuntu)
> Importance: Undecided => Low
> Assignee: (unassigned) => Ubuntu Desktop Bugs (desktop-bugs)
> Status: New => Incomplete
>

Revision history for this message
Bui M Hung (bmh-groups) wrote :

Sorry,

I am using POP Gmail account
Thanks

Revision history for this message
Pedro Villavicencio (pedro) wrote :

that's not clear IMAP or POP? if are both one bug should be open for each. If POP is affected, could you try to get a camel debug log ? please run evolution as CAMEL_DEBUG=all evolution >& evo.log and attach the resulting file to the report, thanks.

Revision history for this message
Bui M Hung (bmh-groups) wrote :
  • evo.log Edit (147.3 KiB, text/x-log; name="evo.log"; charset="UTF-8")

Sorry, I am using only POP with Gmail account.

Here is my evo.log file.

Thanks
On Wed, 2009-02-04 at 15:08 +0000, Pedro Villavicencio wrote:
> that's not clear IMAP or POP? if are both one bug should be open for
> each. If POP is affected, could you try to get a camel debug log ?
> please run evolution as CAMEL_DEBUG=all evolution >& evo.log and attach
> the resulting file to the report, thanks.
>

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks you, could you try to delete the ~/.evolution/mail/local/folders.db and see if that fixes the issue? looks like bug http://bugzilla.gnome.org/show_bug.cgi?id=550414

Revision history for this message
Bui M Hung (bmh-groups) wrote :

Thank you Sir, I have done as your suggestion (delete the folder.db) and
fixed the bug.

The bug is successful fixed.

On Thu, 2009-02-05 at 08:41 +0000, Pedro Villavicencio wrote:
> Thanks you, could you try to delete the
> ~/.evolution/mail/local/folders.db and see if that fixes the issue?
> looks like bug http://bugzilla.gnome.org/show_bug.cgi?id=550414
>

Revision history for this message
Bui M Hung (bmh-groups) wrote :
  • evo-new.log Edit (114 bytes, text/x-log; name="evo-new.log"; charset="UTF-8")

Dear Pedro,

I got new bug from my evolution. Now, I meet the error when I move to any folder in my evolution. Please help me to fix it.
Thanks

On Thu, 2009-02-05 at 08:41 +0000, Pedro Villavicencio wrote:
> Thanks you, could you try to delete the
> ~/.evolution/mail/local/folders.db and see if that fixes the issue?
> looks like bug http://bugzilla.gnome.org/show_bug.cgi?id=550414
>

Revision history for this message
Pedro Villavicencio (pedro) wrote :

could you open a new bug for that other issue? thanks in advance.

Changed in evolution:
status: Incomplete → Triaged
Changed in evolution:
status: Unknown → Confirmed
description: updated
description: updated
description: updated
Revision history for this message
Peter Belmont (pabelmont2007) wrote :

The EVOLUTION software appears NEVER to have been fixed.
However, NORMAL DB OPERATIONS SEEM TO HAVE WORKED.
So, one must wonder WHY the normal "empty trash" did NOT work.

I did SOMETHING LIKE:

cd .evolution/mail/local
sqlite3 folders.db
 .output stdout
 .tables trash ## showing precise name of trash TABLE
 select count(*) from '[name of trash table]' ; ## to verify it contained 3000+ items
 delete from '[name of trash table]' ; ## to empty the trash
 select count(*) from '[name of trash table]' ; ## to verify it was now empty
 .quit

to delete the Trash.
It felt very dangerous but seems to have worked.

Revision history for this message
Yonas (yonas-y) wrote :

Is evolution dying? I'm seeing a lot of unfixed bugs that've been around for months or years......

Is Thunderbird stealing all of the open source mail client users!?! :)

evolution won't delete mail from my maildir.

1. At launch, the Inbox and Trash are empty.
2. Click Trash. Trash is empty.
3. Click Inbox. Inbox is empty.
4. Click Trash. All Trashed items appear.

Revision history for this message
guvi-cb (dj5and) wrote :

As suggested by Pedro the "...delete the > ~/.evolution/mail/local/folders.db" fixed my evolution. It took evolution a little longer to start after folders.db had been deleted, but the trash-folder can easily be emptied now. Thanks 2 Pedro

Revision history for this message
Yonas (yonas-y) wrote :

Doesn't work for me...

On Thu, 2009-05-21 at 17:15 +0000, guvi-cb wrote:
> As suggested by Pedro the "...delete the >
> ~/.evolution/mail/local/folders.db" fixed my evolution. It took
> evolution a little longer to start after folders.db had been deleted,
> but the trash-folder can easily be emptied now. Thanks 2 Pedro
>

Changed in evolution (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Yonas (yonas-y) wrote :

Trustroy,

Where is the fix? It still doesn't work for me. Pedro's technique doesn't work for me either.

Thanks,
Y.

Changed in evolution (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
guvi-cb (dj5and) wrote :

Have you guys enough disc space left on home? If this is not the case the messages cannot be compacted and hence the trash folder cannot be emptied. So having enough disc space left on home worked for me.

Hope this might help.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Why did you set the bug to confirmed again rather than triaged?

Changed in evolution (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Yonas (yonas-y) wrote :

It wouldn't let me select triaged, I think it was grayed out.

Revision history for this message
mac.ryan (macryan) wrote :

As this has been marked as the ultimate non-duplicate of a trail of duplicate bugs, I thought of reporting here the workaround that worked for me on Karmic 64 bit:

https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/287811/comments/6

Revision history for this message
strosse60 (rossettistefano) wrote :

resolve with ~/.evolution/mail/local/folders.db
Thanks

Revision history for this message
Oliver Joos (oliver-joos) wrote :

Remember when deleting ~/.evolution/mail/local/folders.db you will also loose all your labels (Important, Work, Personal, To Do, and Later)!

Revision history for this message
Don Manyette (manyette-cox) wrote :

While I cannot be certain, at least on my machine, it appears that one of the recent downloads (perhaps one of the "lib" files) has cured this problem. It was consistent on my machine, and now it has not appeared for 5 days. Perhaps a poll of others affected could confirm or deny?

Revision history for this message
Garry Leach (garry-leach) wrote :

I don't think that I have had the problem recently either. I ran "empty trash" just now, & it worked as it should.

In the past, I was a bit slack about emptying the trash folder, so it would build up to a large number. When I started having problems, I wondered whether the large number of e-mails may have contributed to the problem...

Changed in evolution:
status: Confirmed → Fix Released
Revision history for this message
Omer Akram (om26er) wrote :

this bug will be fixed in evoluton 2.30 and 2.31.3

Changed in evolution (Ubuntu):
status: Triaged → Fix Committed
affects: evolution (Ubuntu) → evolution-data-server (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.9 KiB)

This bug was fixed in the package evolution-data-server - 2.30.2-0ubuntu1

---------------
evolution-data-server (2.30.2-0ubuntu1) maverick; urgency=low

  * New upstream release:
    - Mail inline parser doesn't always work (Milan Crha) (LP: #219104)
    - Corruption of mailbox and can't expunge trash (Milan Crha)
      (LP: #286497, #325157)
    - WebDAV addressbook is too strict about content-type (Petr Tomasek)
    - Handle server's resource rename on WebDAV PUT response (Milan Crha)
    - Use NSS SQLite database, if available (Craig Ringer)
    - Fix NULL return without exception on krb5-auth-dialog
      failure (David Woodhouse)
    - Categories not translated in menus (Matthew Barnes) (LP: #443215)
    - Fix translation domain for default categories (Gert Michael Kulyk)
    - Mishandling of '@' in WebDAV contacts username (Milan Crha)
      (LP: #497146)
    - Use CRLF in signed & encrypted S/MIME messages
    - Remove superfluous space in flags in APPEND command (David Woodhouse)
    - Crash in gnome_keyring_item_info_free from e-passwords.c (Milan Crha)
    - Fix GSSAPI (and other SASL) authentication for imapx (David Woodhouse)
    - Teach camel_sexp_to_sql_sexp about no-arg (match-all)
      (Matt McCutchen 2)
    - Contacts are not displayed in GW Addressbook (Bharath Acharya)
    - Don't use an unitialized key in folder_changed_remove_uid
      (Claudio Saavedra)
    - Evolution didn't quit due to deadlock (Milan Crha)
    - Crash of e-addressbook-factory on second start of evolution (Milan Crha)
    - Fix translation of birthday and anniversary events (Gert Michael Kulyk)
    - Return formatted address in e_destination_get_address (David Ayers)
      (LP: #229187)
    - Add imap-over-custom-command support for imapx (David Woodhouse)
    - Fix fetch of large mails from broken servers like Exchange
      (David Woodhouse)
    - Fix double command ->complete() in imapx_command_start_next()
      (David Woodhouse)
    - Fix double-free of is->literal in cancel_all_jobs() (David Woodhouse)
    - use 'UID FETCH' instead of 'FETCH' for scan_changes (David Woodhouse)
    - Remove GroupWise debugging messages. (Matthew Barnes)
    - Bump libedataserver soname twice. (Matthew Barnes)
    - Check EBook DBus error names without underscores too (Milan Crha)
    - Create a section in the name selector dialog in its own function
      (Federico Mena Quintero)
    - Create the configdir instead of bailing out if it does not exist
      (Fridrich Štrba)
    - Don't set a default vertical size for the name selector window
      (Federico Mena Quintero)
    - Fix locking issues in cancel_all_jobs() (David Woodhouse)
    - Fix pointlessly narrow default width in the name selection dialog
    - Name the pointless label at the top, so it can be disabled for MeeGo
      (Michael Meeks)
    - Fix tagprefix for multiple accounts. (David Woodhouse)
    - Fix typo in patch for bug on WebDAV (Milan Crha)
    - Put the name selector's section labels in the same row as the
      treeviews (Federico Mena Quintero)
    - Redo the container hierarchy in the name selector dialog
      (Federico Mena Quintero)
    - Remove an unused label in the name selector ...

Read more...

Changed in evolution-data-server (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Jack Haesly (jackhaesly) wrote :

Re: Trash will no expunge or delete in Evolution email client,
Can anyone tell me, step by step, how to correct this problem? I am new to Ubuntu and not a programmer so be as specific as possible if you respond. I can get to Terminal, but that is about the extent of my expertise.
Thank you,
Jack Haesly'
Austin, Texas

Revision history for this message
Yonas (yonas-y) wrote :

Jack,

It's suppose to b fixed in version 2.30.2-0ubuntu1 of the evolution-data-server package.

Revision history for this message
rousta_bout@yahoo.com (rousta-bout) wrote :

Yonas: the bug is not fixed in all evolution releases, and we can't be sure what platform Jack is on.

Jack, try this:

Quit evolution

from terminal, cd to the Evolution app directory.

Most often: /home/userID/.evolution

If that directory exists, then cd /mail/local

do an mv folders.db ../../oldfolders.db

do an mv *summary* ../../

This will get the summary files and database out of your way.

Start evolution up. If you have a lot of folders other than inbox, display the contents of each in turn (evolution will rebuild the contents of each before displaying them.)

If you had already issued the 'empty trash' command before getting rid of hte summary and folder.db files, you may well find that it is already emptied once you re-open.

Hope this helps.

Revision history for this message
rousta_bout@yahoo.com (rousta-bout) wrote :

(sorry, since you aren't a shell person:

mv ../../ will move the files up two directories, so out of .evolution/mail/local and into .evolution in case you need them again for some reason.)

Changed in evolution:
importance: Unknown → Critical
Revision history for this message
David Michelson (david-igne) wrote :

This affects me too!

Changed in evolution:
status: Fix Released → Confirmed
Changed in evolution:
status: Confirmed → Fix Released
Revision history for this message
Diane Stiles (dinenpat11) wrote :

I have had success with this bug by both deleting Evolution and also it's support software, Gnome Desktop. I am now using Thunderbird Email and I like it fine, but I will eventually try going back to Evolution and seeing if everything is truly cleaned out. Now I have full use of Thunderbird and I like that way that it is organized better than Evolution. The inboxes of my different email addresses are all individual and this makes reading and keeping email much more organized and easy to clean out. But it is NOT as good as Evolution in every way.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.