[Reportbug-maint] Bug#774248: Does not work with python2, 7, but allows install with only python2.7

Boruch Baum boruch_baum at gmx.com
Tue Dec 30 18:35:08 UTC 2014


Package: reportbug
Version: 6.6.1

reportbug, when invoked in text mode, generates the python traceback
pasted below. The particular traceback points to an ImportError for name
HTTPSConnection. The debian maintainers for python 2.7 have been aware
of similar problems (eg. bug #659831), to which their response (February
2013) was "this aint a tracking bug thus closing. individual packages
failures with python 2.7 should be filed as such".

So, I'm doing what they recommend, and am filing this bug as a failure
in reportbug to be compatible with python2.7.

My suggestion is that the dependency chain for reportbug require a
version of python that works with it (v2.6?).

Alternatively, It's been pointed out to me that there exists a debian
python package called virtualenv that might be useful for this. If so,
then the install could check if the target has a later version of python
installed, then also install virtualenv, and create an instance of
python in which reportbug will work.

Following is the Traceback, and the extended version info.

reportbug libpam-mount
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 38, in <module>
    from reportbug import utils
  File "/usr/lib/python2.7/dist-packages/reportbug/utils.py", line 70,
in <module>
    import debbugs
  File "/usr/lib/python2.7/dist-packages/reportbug/debbugs.py", line 40,
in <module>
    import debianbts
  File "/usr/lib/pymodules/python2.7/debianbts.py", line 33, in <module>
    import SOAPpy
  File "usr/lib/python2.7/dist-packages/SOAPpy__init__.py", line 5, in
<module>
    from Client      import *
  File "/usr/lib/python2.7/dist-packages/SOAPpy/Client.py", line 59, in
<module>
    from Parser      import parseSOAPRPC
  File "/usr/lib/python2.7/dist-packages/SOAPpy/Parser.py", line 10, in
<module>
    from wstools.XMLname import fromXMLname
  File "usr/lib/python2.7/dist-packages/wstools__init__.py", line 6,
in <module>
    import WSDLTools
  File "/usr/lib/python2.7/dist-packages/wstools/WSDLTools.py", line 15,
in <module>
    from Utility import Collection, CollectionNS, DOM, ElementProxy,
basejoin
  File "/usr/lib/python2.7/dist-packages/wstools/Utility.py", line 30,
in <module>
    from httplib import HTTPConnection, HTTPSConnection
ImportError: cannot import name HTTPSConnection


dpkg -l |grep reportbug
4715:ii  python-reportbug
6.6.1                                  all          Python modules for
interacting with bug tracking systems
4951:ii  reportbug
6.6.1                                  all          reports bugs in the
Debian distribution



dpkg -l |grep python2.7
3170:ii  libpython2.7:amd64
2.7.8-11                               amd64        Shared Python
runtime library (version 2.7)
3171:ii  libpython2.7-dbg:amd64
2.7.8-11                               amd64        Debug Build of the
Python Interpreter (version 2.7)
3172:ii  libpython2.7-dev:amd64
2.7.8-11                               amd64        Header files and a
static library for Python (v2.7)
3173:ii  libpython2.7-minimal:amd64
2.7.8-11                               amd64        Minimal subset of
the Python language (version 2.7)
3174:ii  libpython2.7-stdlib:amd64
2.7.8-11                               amd64        Interactive
high-level object-oriented language (standard library, version 2.7)
4795:ii  python2.7
2.7.8-11                               amd64        Interactive
high-level object-oriented language (version 2.7)
4796:ii  python2.7-dbg
2.7.8-11                               amd64        Debug Build of the
Python Interpreter (version 2.7)
4797:ii  python2.7-dev
2.7.8-11                               amd64        Header files and a
static library for Python (v2.7)
4798:ii  python2.7-doc
2.7.8-11                               all          Documentation for
the high-level object-oriented language Python (v2.7)
4799:ii  python2.7-examples
2.7.8-11                               all          Examples for the
Python language (v2.7)
4800:ii  python2.7-minimal
2.7.8-11                               amd64        Minimal subset of
the Python language (version 2.7)




-- 
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0






-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20141230/95202618/attachment.sig>


More information about the Reportbug-maint mailing list