exceptions.AttributeError, interfaces down or host unreachable

zeek zeek at sparklehouse.com
Wed Aug 1 01:01:06 BST 2012



Greetings, I'm using offlineimap 6.3.4 on F16 3.1.0-7. My python is 
2.7.3. Also, to access the BigC account (noted in the error below) I'm 
using something called davmail-3.9.6-1. Davmail basically acts as an 
imap to exchange proxy.

I've been able to do clean runs on these accounts in the past. But 
within the past week I repeatedly get these errors. It's difficult for 
me to associate which account --or clearly determine what the issue is.


Any suggestions?


[root at fuzzy ~]# offlineimap

WARNING: UID validity problem for folder .mailboxlist (repo 
RemoteMyStuff) (saved 1343439460; got 1343596775); skipping it

WARNING: ERROR attempting to copy message 12057 for account 
BigC:Traceback (most recent call last):

   File "/usr/lib/python2.7/site-packages/offlineimap/folder/Base.py", 
line 250, in copymessageto
     message = self.getmessage(uid)
   File "/usr/lib/python2.7/site-packages/offlineimap/folder/IMAP.py", 
line 205, in getmessage
     res_type, data = imapobj.uid('fetch', str(uid), '(BODY.PEEK[])')
   File "/usr/lib/python2.7/site-packages/offlineimap/imaplib2.py", line 
1110, in uid
     return self._simple_command('UID', command, *args, **kw)
   File "/usr/lib/python2.7/site-packages/offlineimap/imaplib2.py", line 
1549, in _simple_command
     return self._command_complete(self._command(name, *args), kw)
   File "/usr/lib/python2.7/site-packages/offlineimap/imaplib2.py", line 
1314, in _command_complete
     raise self.error('%s command error: %s %s. Data: %.100s' % 
(rqb.name, typ, dat, rqb.data))

error: UID command error: BAD ['unable to handle request: All network 
interfaces down or host unreachable !']. Data: POGJ2417 UID FETCH 12057 
(BODY.PEEK[])

Thread 'Copy message 12057 from OTHER_logsrfr' terminated with exception:

Traceback (most recent call last):
   File "/usr/lib/python2.7/site-packages/offlineimap/threadutil.py", 
line 140, in run
     Thread.run(self)
   File "/usr/lib/python2.7/threading.py", line 504, in run
     self.__target(*self.__args, **self.__kwargs)
   File "/usr/lib/python2.7/site-packages/offlineimap/folder/Base.py", 
line 250, in copymessageto
     message = self.getmessage(uid)
   File "/usr/lib/python2.7/site-packages/offlineimap/folder/IMAP.py", 
line 205, in getmessage
     res_type, data = imapobj.uid('fetch', str(uid), '(BODY.PEEK[])')
   File "/usr/lib/python2.7/site-packages/offlineimap/imaplib2.py", line 
1110, in uid
     return self._simple_command('UID', command, *args, **kw)
   File "/usr/lib/python2.7/site-packages/offlineimap/imaplib2.py", line 
1549, in _simple_command
     return self._command_complete(self._command(name, *args), kw)
   File "/usr/lib/python2.7/site-packages/offlineimap/imaplib2.py", line 
1314, in _command_complete
     raise self.error('%s command error: %s %s. Data: %.100s' % 
(rqb.name, typ, dat, rqb.data))

error: UID command error: BAD ['unable to handle request: All network 
interfaces down or host unreachable !']. Data: POGJ2417 UID FETCH 12057 
(BODY.PEEK[])

Last 2 debug messages logged for Copy message 12057 from OTHER_logsrfr 
prior to exception:

thread: Register new thread 'Copy message 12057 from OTHER_logsrfr' 
(account 'BigC')
imap:   48:55.13 Copy message 12057 from OTHER_logsrfr last 20 log messages:
Exception in thread email.xyz.com reader (most likely raised during 
interpreter shutdown):Traceback (most recent call last):
   File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
   File "/usr/lib/python2.7/threading.py", line 504, in run
   File "/usr/lib/python2.7/site-packages/offlineimap/imaplib2.py", line 
1736, in _reader

<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 
'exc_info'





More information about the OfflineIMAP-project mailing list