Package: offlineimap
Version: 6.3.3-3
Severity: normal

I had some networking problem just now. offlineimap failed to connect
to the server, printed out a Python stack trace, and then exited
with exit code 0. If there's an error, it should indicate an error
in the exit code.

This seems to be easy to reproduce: just turn off networking and
run offlineimap.

liw@havelock$ offlineimap 
WARNING:root:Using old interface name, consider using one of machineui, 
blinkenlights, quiet, ttyui, basic
OfflineIMAP 6.3.3
Copyright (C) 2002 - 2010 John Goerzen <j...@complete.org>

This software comes with ABSOLUTELY NO WARRANTY; see the file
COPYING for details.  This is free software, and you are welcome
to distribute it under the conditions laid out in COPYING.
***** Processing account pieni
Copying folder structure from IMAP to Maildir
Establishing connection to pieni.net:993.
WARNING: Error occured attempting to sync account pieni: Traceback (most recent 
call last):
  File "/usr/lib/pymodules/python2.6/offlineimap/accounts.py", line 191, in 
syncrunner
    self.sync(siglistener)
  File "/usr/lib/pymodules/python2.6/offlineimap/accounts.py", line 246, in sync
    remoterepos.syncfoldersto(localrepos, [statusrepos])
  File "/usr/lib/pymodules/python2.6/offlineimap/repository/Base.py", line 121, 
in syncfoldersto
    srcfolders = src.getfolders()
  File "/usr/lib/pymodules/python2.6/offlineimap/repository/IMAP.py", line 242, 
in getfolders
    imapobj = self.imapserver.acquireconnection()
  File "/usr/lib/pymodules/python2.6/offlineimap/imapserver.py", line 207, in 
acquireconnection
    cacertfile = self.sslcacertfile)
  File "/usr/lib/pymodules/python2.6/offlineimap/imaplibutil.py", line 141, in 
__init__
    IMAP4_SSL.__init__(self, *args, **kwargs)
  File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 1871, in 
__init__
    IMAP4.__init__(self, host, port, debug, debug_file, identifier, timeout)
  File "/usr/lib/pymodules/python2.6/offlineimap/imaplib2.py", line 309, in 
__init__
    self.open(host, port)
  File "/usr/lib/pymodules/python2.6/offlineimap/imaplibutil.py", line 157, in 
open
    socket.SOCK_STREAM)
gaierror: [Errno -2] Name or service not known

***** Finished processing account pieni
liw@havelock$ 

-- System Information:
Debian Release: 6.0.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

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

Versions of packages offlineimap depends on:
ii  python                  2.6.6-3+squeeze6 interactive high-level object-orie
ii  python-support          1.0.10           automated rebuilding support for P

offlineimap recommends no packages.

Versions of packages offlineimap suggests:
ii  doc-base                      0.9.5      utilities to manage online documen
pn  python-kerberos               <none>     (no description available)

-- 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