Complete.Org: Mailing Lists: Archives: offlineimap: May 2003:
AttributeError: 'NoneType' object has no attribute 'StringTypes'
Home

AttributeError: 'NoneType' object has no attribute 'StringTypes'

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: offlineimap@xxxxxxxxxxxx
Subject: AttributeError: 'NoneType' object has no attribute 'StringTypes'
From: Jean Jordaan <jean@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 12 May 2003 22:18:16 +0200

Hi all

I'm trying out OfflineIMAP for the first time. I got it to start syncing,
and it did fine for about 132 messages. Then it stopped like so:

jean@klippie jean $ offlineimap -u Curses.Blinkenlights
Thread 'Copy message 104613 from INBOX' terminated with exception:
Traceback (most recent call last):
   File "/usr/lib/python2.2/site-packages/offlineimap/threadutil.py", line 153, 
in run
     Thread.run(self)
   File "/usr/lib/python2.2/threading.py", line 396, in run
     apply(self.__target, self.__args, self.__kwargs)
   File "/usr/lib/python2.2/site-packages/offlineimap/folder/Base.py", line 
272, 
in copymessageto
     message = self.getmessage(uid)
   File "/usr/lib/python2.2/site-packages/offlineimap/folder/IMAP.py", line 
109, 
in getmessage
     return imapobj.uid('fetch', '%d' % uid, 
'(BODY.PEEK[])')[1][0][1].replace("\r\n", "\n")
TypeError: unsubscriptable object


No debug messages were logged for Copy message 104613 from INBOX.
Unhandled exception in thread:
Traceback (most recent call last):
   File "/usr/lib/python2.2/threading.py", line 415, in __bootstrap
     s = _StringIO()
   File "/usr/lib/python2.2/StringIO.py", line 53, in __init__
     if type(buf) not in types.StringTypes:
AttributeError: 'NoneType' object has no attribute 'StringTypes'

Does this look familiar to anybody?

-- 
Jean Jordaan
http://www.upfrontsystems.co.za



[Prev in Thread] Current Thread [Next in Thread]
  • AttributeError: 'NoneType' object has no attribute 'StringTypes', Jean Jordaan <=