Locally created mailboxes not synchronized to IMAP

Sebastian Spaeth Sebastian at SSpaeth.de
Tue Aug 16 10:56:08 BST 2011

On Tue, 16 Aug 2011 08:47:42 +0200, Vladimir Marek <Vladimir.Marek at Oracle.COM> wrote:

>  * re.sub('^outside/?', '', foldername)
>  WARNING: ERROR Attempting to create folder :Traceback (most recent call last):
>   File "/builds/vm156888/offlineimap/offlineimap/repository/Base.py", line 147, in syncfoldersto
>     copyfolder.makefolder(key.replace(dest.getsep(), copyfolder.getsep()))
>   File "/builds/vm156888/offlineimap/offlineimap/repository/LocalStatus.py", line 72, in makefolder
>     os.rename(filename + ".tmp", filename)
> OSError: [Errno 21] Is a directory

Hi Vladimir,

I attempted to deal with empty folder names with the following patch. Do
you dare to try and see if it makes things working with this nametrans

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110816/5b6ee0e1/attachment-0001.sig>

More information about the OfflineIMAP-project mailing list