Complete.Org: Mailing Lists: Archives: offlineimap: March 2003:
Re: getcopyinstancelimit NotImplementedException
Home

Re: getcopyinstancelimit NotImplementedException

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Randy Orrison <randy@xxxxxxxxxxx>
Cc: offlineimap@xxxxxxxxxxxx
Subject: Re: getcopyinstancelimit NotImplementedException
From: John Goerzen <jgoerzen@xxxxxxxxxxxx>
Date: Sat, 1 Mar 2003 09:27:30 -0600

On Sat, Mar 01, 2003 at 07:10:20AM +0000, Randy Orrison wrote:
> 
> This is happening pretty much every time I have a local maildir and create
> the corresponding empty IMAP folder on the server.  I can work around it by
> putting a message into the empty folder on the server before running
> offlineimap.

Try this diff:

Index: offlineimap/folder/Base.py
===================================================================
--- offlineimap/folder/Base.py  (revision 357)
+++ offlineimap/folder/Base.py  (working copy)
@@ -199,7 +199,7 @@
             usethread = applyto[0]
         
         for uid in uidlist:
-            if usethread:
+            if usethread and usethread.suggeststhreads():
                 usethread.waitforthread()
                 thread = InstanceLimitedThread(\
                     usethread.getcopyinstancelimit(),

I'm checking this in to the repository.

-- John


[Prev in Thread] Current Thread [Next in Thread]