offlineimap crashes processing folder named 'tmp'

Bug #701305 reported by Kevin Kennedy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
offlineimap (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: offlineimap

I'm using offlineimap 6.2.0+nmu2ubuntu1 in Ubuntu 10.04.1 LTS to backup up my gmail mailboxes. Offlineimap successfully backed up all mailbox folders including "tmp" on the first run. On subsequent runs, it crashed until I renamed the folder "tmp" to "tmp_"

Here is the error:

Thread 'Account sync nivekydennek' terminated with exception:
                                                             Traceback (most recent call last):
                                                                                                 File "/usr/lib/pymodules/python2.6/offlineimap/threadutil.py", line 149, in run
                                                                                                                                                                                    Thread.run(self)
        File "/usr/lib/python2.6/threading.py", line 484, in run
                                                                    self.__target(*self.__args, **self.__kwargs)
                                                                                                                  File "/usr/lib/pymodules/python2.6/offlineimap/accounts.py", line 188, in syncrunner
            self.sync(siglistener)
                                    File "/usr/lib/pymodules/python2.6/offlineimap/accounts.py", line 220, in sync
                                                                                                                      remoterepos.syncfoldersto(localrepos, [statusrepos])
                                                                                                                                                                            File "/usr/lib/pymodules/python2.6/offlineimap/repository/Base.py", line 155, in syncfoldersto
                                                                                dest.makefolder(key)
                                                                                                      File "/usr/lib/pymodules/python2.6/offlineimap/repository/Maildir.py", line 101, in makefolder
          os.makedirs(foldername, 0700)
                                         File "/usr/lib/python2.6/os.py", line 157, in makedirs
                                                                                                   mkdir(name, mode)
                                                                                                                    OSError: [Errno 17] File exists: 'tmp'

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.