Package: offlineimap
Version: 6.3.4-1
Severity: normal

Hi,

imapserver.py makes use of errno.ECONNREFUSED, but does not import the module:

---
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/offlineimap/accounts.py", line 177, in 
syncrunner
    self.sync()
  File "/usr/lib/pymodules/python2.7/offlineimap/accounts.py", line 235, in sync
    remoterepos.syncfoldersto(localrepos, [statusrepos])
  File "/usr/lib/pymodules/python2.7/offlineimap/repository/Base.py", line 124, 
in syncfoldersto
    srcfolders = src.getfolders()
  File "/usr/lib/pymodules/python2.7/offlineimap/repository/IMAP.py", line 276, 
in getfolders
    imapobj = self.imapserver.acquireconnection()
  File "/usr/lib/pymodules/python2.7/offlineimap/imapserver.py", line 323, in 
acquireconnection
    elif isinstance(e, socket.error) and e.args[0] == errno.ECONNREFUSED:
NameError: global name 'errno' is not defined
---

Regards,
Ansgar

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages offlineimap depends on:
ii  python          2.7.2-9
ii  python-support  1.0.14 

offlineimap recommends no packages.

Versions of packages offlineimap suggests:
pn  doc-base         <none>
pn  python-kerberos  <none>

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to