Package: offlineimap Version: 5.99.7 offlineimap crashes for me when it tries to create a new folder (i.e. when a new folder appears on the IMAP server):
Thread 'Account sync Archive' terminated with exception:
Traceback (most recent call last):
File "/var/lib/python-support/python2.4/offlineimap/threadutil.py", line 153,
in run
Thread.run(self)
File "/usr/lib/python2.4/threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
File "/var/lib/python-support/python2.4/offlineimap/accounts.py", line 114,
in syncrunner
self.sync()
File "/var/lib/python-support/python2.4/offlineimap/accounts.py", line 148,
in sync
remoterepos.syncfoldersto(localrepos, [statusrepos])
File "/var/lib/python-support/python2.4/offlineimap/repository/Base.py", line
157, in syncfoldersto
copyfolder.makefolder(key)
File
"/var/lib/python-support/python2.4/offlineimap/repository/LocalStatus.py", line
46, in makefolder
os.unlink(filename)
OSError: [Errno 2] No such file or directory:
'/home/pkern/.offlineimap/Account-Archive/LocalStatus/fsmi.skates'
[...]
maildir: makefolder called with arg 'fsmi.skates'
maildir: makefolder: calling makedirs fsmi.skates
maildir: makefolder: creating cur, new, tmp
Funny enough a rerun continues with the next directory, so after one run
per new directory it finally succeeds and begins to sync over the
messages. It is a nuissance though as the directories are automatically
created by scripts on my mailserver.
Out of privacy reasons I don't want to post the full debugging
information. The folder in question is not present in
_GETFOLDERS_SCANDIR whose result is displayed just above the makefolder
stuff.
Kind regards,
Philipp Kern
signature.asc
Description: Digital signature

