[Bug 232962] New: Stale dimap folders confuse kmail after forcing resync of imap cache

Dennis Schridde devurandom at gmx.net
Thu Apr 1 13:47:13 BST 2010


https://bugs.kde.org/show_bug.cgi?id=232962

           Summary: Stale dimap folders confuse kmail after forcing resync
                    of imap cache
           Product: kmail
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: devurandom at gmx.net


Version:            (using KDE 4.4.1)
Compiler:          gcc 4.4.3 Gentoo 4.4.3 p1.0
OS:                Linux
Installed from:    Gentoo Packages

I recently forced a resync of my imap cache, which made a problem appear:
Upon startup, and when pressing OK or Accept in the configuration dialogue,
KMail presents me 10 windows with following content:
"Error when opening /home/$USER/.kde4/share/apps/kmail/dimap/1668694697. This
folder does not exist." [Translated]

A console log and a backtrace of that state is attached.

Examining the apps/kmail/dimap folder showed several .NUMBER.directory folders
with no accompanying NUMBER folder.
Appart from several .SOMETHING.uidcache files, they contain only some
.SOMETHING.directory folders:
.kde4/share/apps/kmail/dimap/.130708501.directory
.kde4/share/apps/kmail/dimap/.130708501.directory/.INBOX.directory
.kde4/share/apps/kmail/dimap/.1402182378.directory
.kde4/share/apps/kmail/dimap/.1402182378.directory/.somenamespace.directory
.kde4/share/apps/kmail/dimap/.1587347013.directory
.kde4/share/apps/kmail/dimap/.1668694697.directory
.kde4/share/apps/kmail/dimap/.1785330918.directory
.kde4/share/apps/kmail/dimap/.1785330918.directory/.somefolder.directory
.kde4/share/apps/kmail/dimap/.1991805192.directory
.kde4/share/apps/kmail/dimap/.1991805192.directory/.INBOX.directory

My theory is that I am seeing three different issues:
1) When deleting some IMAP accounts KMail "forgot" to delete all folders.
2) When resyncing imap caches, instead of ignoring or deleting the stale
folders, KMail started messing with them, probably trying to recreate the uid
caches.
3) The error handling during recreation of the uid caches is not verbose enough
and displays just a default and uninformative error message.

This bug shows similarities with problem 1 in bug #209208.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list