Bug#623432: new version breaks offlineimap
Package: python2.6 Version: 2.6.6-9 Severity: critical The new version breaks offlineimap which by definition makes the bug critical. I have no idea, however, if the problem lies in python2.6 or in offlineimap. Here's what happens: Traceback (most recent call last): File /usr/bin/offlineimap, line 20, in module from offlineimap import OfflineImap File /usr/lib/pymodules/python2.6/offlineimap/__init__.py, line 23, in module from offlineimap.init import OfflineImap File /usr/lib/pymodules/python2.6/offlineimap/init.py, line 28, in module from offlineimap import accounts, threadutil, syncmaster File /usr/lib/pymodules/python2.6/offlineimap/accounts.py, line 19, in module import offlineimap.repository.Base, offlineimap.repository.LocalStatus File /usr/lib/pymodules/python2.6/offlineimap/repository/LocalStatus.py, line 20, in module from offlineimap import folder File /usr/lib/pymodules/python2.6/offlineimap/folder/__init__.py, line 1, in module import Base, Gmail, IMAP, Maildir, LocalStatus File /usr/lib/pymodules/python2.6/offlineimap/folder/Gmail.py, line 22, in module from IMAP import IMAPFolder File /usr/lib/pymodules/python2.6/offlineimap/folder/IMAP.py, line 29, in module from offlineimap import imaputil, imaplibutil, __version__ File /usr/lib/pymodules/python2.6/offlineimap/imaplibutil.py, line 72, in module class WrappedIMAP4_SSL(IMAP4_SSL): NameError: name 'IMAP4_SSL' is not defined Downgrading to 2.6.6-8 fixes the problem. Michael -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.38-2-amd64 (SMP w/8 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python2.6 depends on: ii libbz2-1.01.0.5-6high-quality block-sorting file co ii libc6 2.11.2-13 Embedded GNU C Library: Shared lib ii libdb4.8 4.8.30-6 Berkeley v4.8 Database Libraries [ ii libexpat1 2.0.1-7XML parsing C library - runtime li ii libncursesw5 5.9-1 shared libraries for terminal hand ii libreadline6 6.1-3 GNU readline and history libraries ii libsqlite3-0 3.7.5-1SQLite 3 shared library ii mime-support 3.51-1 MIME files 'mime.types' 'mailcap ii python2.6-minimal 2.6.6-8+b1 A minimal subset of the Python lan python2.6 recommends no packages. Versions of packages python2.6 suggests: ii binutils 2.21.51.20110419-2 The GNU assembler, linker and bina pn python2.6-doc none (no description available) pn python2.6-profilernone (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
Bug#623432: new version breaks offlineimap
reassign 623432 offlineimap found 623432 offlineimap/6.3.2~rc3-2 tags 623432 + wheezy sid thanks On 20/04/2011 09:14, Michael Meskes wrote: The new version breaks offlineimap which by definition makes the bug critical. I have no idea, however, if the problem lies in python2.6 or in offlineimap. Here's what happens: Traceback (most recent call last): File /usr/bin/offlineimap, line 20, inmodule from offlineimap import OfflineImap File /usr/lib/pymodules/python2.6/offlineimap/__init__.py, line 23, inmodule from offlineimap.init import OfflineImap File /usr/lib/pymodules/python2.6/offlineimap/init.py, line 28, inmodule from offlineimap import accounts, threadutil, syncmaster File /usr/lib/pymodules/python2.6/offlineimap/accounts.py, line 19, inmodule import offlineimap.repository.Base, offlineimap.repository.LocalStatus File /usr/lib/pymodules/python2.6/offlineimap/repository/LocalStatus.py, line 20, inmodule from offlineimap import folder File /usr/lib/pymodules/python2.6/offlineimap/folder/__init__.py, line 1, inmodule import Base, Gmail, IMAP, Maildir, LocalStatus File /usr/lib/pymodules/python2.6/offlineimap/folder/Gmail.py, line 22, inmodule from IMAP import IMAPFolder File /usr/lib/pymodules/python2.6/offlineimap/folder/IMAP.py, line 29, inmodule from offlineimap import imaputil, imaplibutil, __version__ File /usr/lib/pymodules/python2.6/offlineimap/imaplibutil.py, line 72, inmodule class WrappedIMAP4_SSL(IMAP4_SSL): NameError: name 'IMAP4_SSL' is not defined Downgrading to 2.6.6-8 fixes the problem. This is most likely due to a fix for #613369, which is intended. We won't see SSLv2 support back… so, packages must be fixed to not use them. Better is to fix offlineimap instead. Thus, I'm reassigning the bug to offlineimap. Regards, -- Mehdi Dogguy مهدي الدڤي http://dogguy.org/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#623432: new version breaks offlineimap
On Wed, Apr 20, 2011 at 09:57, Mehdi Dogguy me...@dogguy.org wrote: reassign 623432 offlineimap found 623432 offlineimap/6.3.2~rc3-2 tags 623432 + wheezy sid thanks Are you sure about that? the important code at /usr/lib/python2.6/imaplib.py is: try: import ssl except ImportError: pass else: class IMAP4_SSL(IMAP4): and infact IMAP4_SSL is not defined since the python maintainer deliberately broke ssl module: $ python2.6 -c import ssl Traceback (most recent call last): File string, line 1, in module File /usr/lib/python2.6/ssl.py, line 64, in module from _ssl import PROTOCOL_SSLv2, PROTOCOL_SSLv3, PROTOCOL_SSLv23, PROTOCOL_TLSv1 ImportError: cannot import name PROTOCOL_SSLv2 See #623423 Regards. -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#623432: new version breaks offlineimap
reassign 623432 python2.6 found 623432 python2.6/2.6.6-9 thanks On 20/04/2011 10:09, Sandro Tosi wrote: On Wed, Apr 20, 2011 at 09:57, Mehdi Dogguy me...@dogguy.org wrote: reassign 623432 offlineimap found 623432 offlineimap/6.3.2~rc3-2 tags 623432 + wheezy sid thanks Are you sure about that? the important code at /usr/lib/python2.6/imaplib.py is: No. Your explanation is better than my intuition :) and confirmed by a quick test. Sorry for the noise. Re-Re-assigning back… try: import ssl except ImportError: pass else: class IMAP4_SSL(IMAP4): and in fact IMAP4_SSL is not defined since the python maintainer deliberately broke ssl module: $ python2.6 -c import ssl Traceback (most recent call last): File string, line 1, in module File /usr/lib/python2.6/ssl.py, line 64, in module from _ssl import PROTOCOL_SSLv2, PROTOCOL_SSLv3, PROTOCOL_SSLv23, PROTOCOL_TLSv1 ImportError: cannot import name PROTOCOL_SSLv2 See #623423 It's a pity that the testsuite didn't report anything about those missing/broken modules. Regards, -- Mehdi Dogguy مهدي الدڤي http://dogguy.org/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#623432: new version breaks offlineimap
On Wed, Apr 20, 2011 at 10:53, Mehdi Dogguy me...@dogguy.org wrote: It's a pity that the testsuite didn't report anything about those missing/broken modules. actually it's there (at least in the i386 buildd log): test_ssl test_ssl skipped -- No SSL support ... 7 skips unexpected on linux2: test_cprofile test_gdbm test_hotshot test_ioctl test_profile test_pstats test_ssl (and it's fine it didn't failed, since you can run the full test suite but you compilation didn't include some features) but it needs someone to look at the tests output in order for them to be useful. Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#623432: new version breaks offlineimap
On Wed, Apr 20, 2011 at 09:57:35AM +0200, Mehdi Dogguy wrote: This is most likely due to a fix for #613369, which is intended. We won't see SSLv2 support back… so, packages must be fixed to not use them. Better is to fix offlineimap instead. Thus, I'm reassigning the bug to offlineimap. I agree that this is likely the cause and that it might be better to fix it in offlineimap but shouldn't python2.6 have a Breaks: offlineimap entry then? Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org Jabber: michael.meskes at googlemail dot com VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#623432: new version breaks offlineimap
On 20/04/2011 11:11, Michael Meskes wrote: On Wed, Apr 20, 2011 at 09:57:35AM +0200, Mehdi Dogguy wrote: This is most likely due to a fix for #613369, which is intended. We won't see SSLv2 support back… so, packages must be fixed to not use them. Better is to fix offlineimap instead. Thus, I'm reassigning the bug to offlineimap. I agree that this is likely the cause and that it might be better to fix it in offlineimap but shouldn't python2.6 have a Breaks: offlineimap entry then? No. My first reply was wrong. See the reply of Sandro instead and ignore mine. Regards, -- Mehdi Dogguy مهدي الدڤي http://dogguy.org/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org