Complete.Org: Mailing Lists: Archives: offlineimap: September 2009:
Error while running offlineimap
Home

Error while running offlineimap

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: offlineimap <offlineimap@xxxxxxxxxxxx>
Subject: Error while running offlineimap
From: Ajeet Grewal <asgrewal@xxxxxxxxx>
Date: Fri, 4 Sep 2009 15:48:41 -0700

Hey guys,

I get the following error while running offlineimap

== ERROR ==
Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/offlineimap/threadutil.py",
 line 149, in run
    Thread.run(self)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py",
 line 477, in run
    self.__target(*self.__args, **self.__kwargs)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/offlineimap/accounts.py",
 line 183, in syncrunner
    self.sync(siglistener)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/offlineimap/accounts.py",
 line 220, in sync
    remoterepos.syncfoldersto(localrepos, [statusrepos])
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/offlineimap/repository/Base.py",
 line 135, in syncfoldersto
    srcfolders = src.getfolders()
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/offlineimap/repository/IMAP.py",
 line 214, in getfolders
    imapobj = self.imapserver.acquireconnection()
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/offlineimap/imapserver.py",
 line 259, in acquireconnection
    self.sslclientkey, self.sslclientcert)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/imaplib.py",
 line 1137, in __init__
    IMAP4.__init__(self, host, port)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/imaplib.py",
 line 163, in __init__
    self.open(host, port)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/offlineimap/imapserver.py",
 line 85, in open
    imaplibutil.new_open_ssl(self, host, port)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/offlineimap/imaplibutil.py",
 line 171, in new_open_ssl
    raise socket.error(last_error)
error: 61


Last 1 debug messages logged for Account sync FAS prior to exception:
maildir: MaildirRepository initialized, sep is '.'
== END ERROR ==

After some digging around I found that this was raised on line 166 of
imaplibutil.py by the socket.connect_ex() method. 

I am lost after that though. Any ideas why this is happening? BTW, I can
connect to the same imap server using my mail client.

-- 
Regards,
Ajeet



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