Package: offlineimap
Version: 4.0.9
Followup-For: Bug #199452

I have the impression, that this only occurs when I have accessed the
mailbox with mutt on the imap server directly inbetween.

I'm using courier-imap als imap server, run mutt locally on that machine
(using maildir directly, not imap localhost) and then sync the mailbox
to my local system with offlineimap.

OfflineIMAP 4.0.8 (Rev 592)
Copyright (C) 2002 - 2004 John Goerzen <[EMAIL PROTECTED]>
This software comes with ABSOLUTELY NO WARRANTY; see the file
COPYING for details.  This is free software, and you are welcome
to distribute it under the conditions laid out in COPYING.
***** Processing account Mucl
Copying folder structure from IMAP to Maildir
Establishing connection to mail.mucl.de:993.
Syncing INBOX: IMAP -> Maildir
Syncing INBOX.admin: IMAP -> Maildir
Deleting 14 messages (5696, 5697, 5698, 5699, 5700, 5701, 5702, 5689, 5690, 
5691, 5692, 5693, 5694, 5695) in IMAP[INBOX.admin], LocalStatus[admin]
Copy message 5703 IMAP[INBOX.admin] -> Maildir[admin], LocalStatus[admin]
Copy message 5704 IMAP[INBOX.admin] -> Maildir[admin], LocalStatus[admin]
Thread 'Copy message 5703 from admin' 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 272, 
in copymessageto
    message = self.getmessage(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


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

Please try to at least catch this error somehow. detecting that the
"initalresult" is not an array can't be that hard...
Especially since the tk frontend just segfaults on exceptions.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (2, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.11-rc5+swsusp
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8)

Versions of packages offlineimap depends on:
ii  python2.3                     2.3.5-3    An interactive high-level object-o

-- no debconf information


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

Reply via email to