Complete.Org: Mailing Lists: Archives: offlineimap: November 2006:
Re: AssertionError in File "/usr/lib/python2.3/site-packages/offlineimap
Home

Re: AssertionError in File "/usr/lib/python2.3/site-packages/offlineimap

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: offlineimap@xxxxxxxxxxxx
Subject: Re: AssertionError in File "/usr/lib/python2.3/site-packages/offlineimap/folder/IMAP.py", line 224
From: Gunter Ohrner <G.Ohrner@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 21 Nov 2006 00:22:27 +0100
Reply-to: G.Ohrner@xxxxxxxxxxxxxxxxxxx

John Goerzen wrote:
>> > offlineimap happily starts to sync the boxes until it suddenly bails
>> > out with an Assertion Error.
> Not unless you post more debugging information; please see -d imap -1.

Does that help?

DEBUG[imap]:   20:17.50 > PJO16 UID FETCH 13027 (BODY.PEEK[])
DEBUG[imap]:   20:17.58 < PJO16 OK Completed (0.000 sec)
DEBUG[imap]:   20:17.58         matched r'(?P<tag>PJO\d+) (?P<type>[A-Z]+)
(?P<data>.*)' => ('PJO16',
'OK', 'Completed (0.000 sec)')
DEBUG[imap]: Returned object from fetching 13027: ('OK', [None])
Thread 'New msg sync from INBOX.Abgeschickte' terminated with exception:
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/offlineimap/threadutil.py", line
153, in run
    Thread.run(self)
  File "/usr/lib/python2.3/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.3/site-packages/offlineimap/folder/Base.py", line
204, in syncmessagesto_negu
id_msg
    message = self.getmessage(uid)
  File "/usr/lib/python2.3/site-packages/offlineimap/folder/UIDMaps.py",
line 131, in getmessage
    return self._mb.getmessage(self, self.r2l[uid])
  File "/usr/lib/python2.3/site-packages/offlineimap/folder/IMAP.py", line
114, in getmessage
    return initialresult[1][0][1].replace("\r\n", "\n")
TypeError: unsubscriptable object

> What version of OfflineIMAP do you have again?

I took the code from Debian's 4.0.14 package, which itself always tells it
would be version 4.0.13. First I tried 4.0.8 which failed with exactly the
same Assertion failure.

Greetings,

  Gunter




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