Complete.Org: Mailing Lists: Archives: offlineimap: July 2005:
TypeError: unsubscriptable object
Home

TypeError: unsubscriptable object

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: offlineimap@xxxxxxxxxxxx
Subject: TypeError: unsubscriptable object
From: Karl Auer <kauer@xxxxxxxxxxxxxx>
Date: Tue, 5 Jul 2005 00:35:13 +0200

Hi there.

I've been through the mail archives on this and found only suggestions to 
upgrade, no actual fix. I may have missed something, there's no search feature, 
so I was manually scanning threads :-)

Anyway, I'm running Python 2.4.1 and the latest(?) OfflineIMAP (last change 
2004-11-16 17:14:17 according to the change log).

When I try to collect mail, OfflineIMAP dies with the following messages:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thread 'Copy message 224556 from INBOX' terminated with exception:
Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/offlineimap/threadutil.py", line 
153, in run
    Thread.run(self)
  File "/usr/local/lib/python2.4/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/local/lib/python2.4/site-packages/offlineimap/folder/Base.py", 
line 272, in copymessageto
    message = self.getmessage(uid)
  File "/usr/local/lib/python2.4/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 224556 from INBOX prior to 
exception:
imap: Returned object from fetching 224556: ('OK', [None])
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I would dearly love some help on this...

This is talking to an Exchange server, by the way.

Regards, K.


 
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer@xxxxxxxxxxxxxx)                   +41-43-2660706 (h)
http://www.biplane.com.au/~kauer/                  +41- 1-6327531 (w)



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