Bug #100

Mail delete gives infinite loop when local info not correct

Added by Kent Boortz 81 days ago. Updated 76 days ago.

Status :Feedback Start :09/13/2008
Priority :Normal Due date :
Assigned to :- % Done :

0%

Category :-
Target version :-
Resolution :


Description

When trying to solve issue 99 remote and local got out of sync and this
caused offlineimap to go into an infinite loop. The situation was like

- I had Maildir locally, and emptied a folder
- I ran into issue 99 when syncing
- offlineimap, in the ".offlineimap/Account-<account>/LocalStatus/<myfoldername>,
thought all the emails to delete were still there
- I checked the remote server, the IMAP file for that folder had no mails
- Running offlineimap gave endlessly repeated lines like
Base.py(199):         for uid in uidlist:
Base.py(200): self.deletemessage(uid)
threadutil.py(115): try:
threadutil.py(116): thrd = exitthreads.get(False)
threadutil.py(118): except Empty:
threadutil.py(119): time.sleep(1)
threadutil.py(115): try:
threadutil.py(116): thrd = exitthreads.get(False)
threadutil.py(118): except Empty:
threadutil.py(119): time.sleep(1)

A larger trace snippet is attached

bug.trace (14.8 KB) Kent Boortz, 09/13/2008 05:16 PM

History

09/18/2008 09:30 AM - John Goerzen

  • Status changed from New to Feedback

I don't understand what you mean by "got out of sync".

How many messages were involved?

Also available in: Atom PDF