Bug #100
Mail delete gives infinite loop when local info not correct
| 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