Package: offlineimap
Version: 5.99.7
Found: 5.99.7

With the latest version uploaded.
Server is: courier-imapd  4.1.1.20060828-5 (debian stable)

---
Thread 'Copy message 1264 from .debian' 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/folder/Base.py", line 
277, in copymessageto
    message = self.getmessage(uid)
  File "/var/lib/python-support/python2.4/offlineimap/folder/IMAP.py", line 
167, in getmessage
    return initialresult[1][0][1].replace("\r\n", "\n")
TypeError: unsubscriptable object


Last 1 debug messages logged for Copy message 1264 from .debian prior to 
exception:
imap: Returned object from fetching 1264: ('OK', [None])
---

I didn't see any indication of a message  1264  on the server, the
courierimapuiddb doesn't list this UID. The latest is 1263. I don't
think there was any new mail in that folder in the meantime.
According to my procmail log, the only messages delivered to that folder
were spam messages I already got during the previous sync run.

Next run, the folder worked, but I had a similar error in another folder
---
Syncing INBOX.debian-lists: IMAP -> Maildir
Deleting 1 messages (13544) in IMAP[INBOX.debian-lists],
LocalStatus[.debian-lists]
Adding flags S to 1 messages  on IMAP[INBOX.debian-lists]
Adding flags T to 1 messages  on IMAP[INBOX.debian-lists]
Adding flags S to 1 messages  on LocalStatus[.debian-lists]
Adding flags T to 1 messages  on LocalStatus[.debian-lists]
Copy message 13552 IMAP[INBOX.debian-lists] -> Maildir[.debian-lists],
LocalStatus[.debian-lists]
Copy message 13553 IMAP[INBOX.debian-lists] -> Maildir[.debian-lists],
LocalStatus[.debian-lists]
Thread 'Copy message 13552 from .debian-lists' 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/folder/Base.py",
line 277, in copymessageto
    message = self.getmessage(uid)
  File "/var/lib/python-support/python2.4/offlineimap/folder/IMAP.py",
line 167, in getmessage
    return initialresult[1][0][1].replace("\r\n", "\n")
TypeError: unsubscriptable object


Last 1 debug messages logged for Copy message 13552 from .debian-lists
prior to exception:
imap: Returned object from fetching 13552: ('OK', [None])
---

Here there is again no reference to messages 13552 or 13553 in the 
courierimapuiddb.
There are however new mails in the folder this time.

I tried a third run with -1 -d imap, but it went through with no errors.
So I can't provide you with a more detailed log. But maybe you can catch
the case when None is returned and handle this by printing some useful
debug output instead of running into the TypeError.

P.S.
I still believe this only happens when the folder was modified on the
server by a non-IMAP client such as mutt. But in this particular case I
don't think I actually read the debian and debian-lists folders on the
server with mutt...

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.24-1-686

Debian Release: lenny/sid
  500 unstable        www.debian-multimedia.org 
  500 unstable        ftp.de.debian.org 
    1 experimental    ftp.de.debian.org 

--- Package information. ---
Depends             (Version) | Installed
=============================-+-===========
python               (>= 2.3) | 2.4.4-6
python-support     (>= 0.7.1) | 0.7.6





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to