Package: offlineimap Version: 6.0.2 Severity: grave Tags: patch Justification: renders package unusable
OfflineIMAP crashes with backtrace, I think when it tries to reuse an already open connection. Here is the backtrace, that is rather self-explaining: > Main program terminated with exception: > Traceback (most recent call last): > File "/var/lib/python-support/python2.4/offlineimap/init.py", line 198, in > startup > threadutil.exitnotifymonitorloop(threadutil.threadexited) > File "/var/lib/python-support/python2.4/offlineimap/threadutil.py", line > 116, in exitnotifymonitorloop > exitthreads.task_done() > AttributeError: Queue instance has no attribute 'task_done' It seems that Queue.task_done() is new in Python 2.5. On my Debian "Etch with some testing and unstable packages", I have both Python 2.4 and 2.5 installed, but /usr/bin/python still points to python2.4, no idea why. So, running offlineimap with "/usr/bin/env python2.5" instead of "/usr/bin/env python" solves that problem, but I do not know if that is the clean way to do it. Regards, -- Tanguy -- System Information: Debian Release: lenny/sid APT prefers stable APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-6-k7 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Versions of packages offlineimap depends on: ii python 2.4.4-2 An interactive high-level object-o ii python-support 0.7.7 automated rebuilding support for P offlineimap recommends no packages. -- no debconf information
--- offlineimap.py.old 2008-08-13 17:25:41.000000000 +0200 +++ offlineimap.py 2008-08-13 17:25:56.000000000 +0200 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2.5 # Startup from single-user installation # Copyright (C) 2002 - 2008 John Goerzen # <[EMAIL PROTECTED]>