[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1029659: AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?



Package: python3-reportbug
Version: 11.6.0
Severity: important

Thank you very much for maintaining Debian's
python3-reportbug package.

I love the ideal of freely cooperating.

I happened to notice version 11.5.1 crashed with

    $ reportbug
    Traceback (most recent call last):
      File "/usr/bin/reportbug", line 40, in <module>
        from reportbug import utils
      File "/usr/lib/python3/dist-packages/reportbug/utils.py", line 70, in <module>
        from . import debbugs   # noqa: E402
        ^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3/dist-packages/reportbug/debbugs.py", line 33, in <module>
        import debianbts
      File "/usr/lib/python3/dist-packages/debianbts/__init__.py", line 1, in <module>
        from debianbts.debianbts import * # noqa
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3/dist-packages/debianbts/debianbts.py", line 21, in <module>
        import pysimplesoap
      File "/usr/lib/python3/dist-packages/pysimplesoap/__init__.py", line 16, in <module>
        from . import client, server, simplexml, transport
      File "/usr/lib/python3/dist-packages/pysimplesoap/client.py", line 33, in <module>
        from .transport import get_http_wrapper, set_http_wrapper, get_Http
      File "/usr/lib/python3/dist-packages/pysimplesoap/transport.py", line 109, in <module>
        if 'timeout' in inspect.getargspec(httplib2.Http.__init__)[0]:
                        ^^^^^^^^^^^^^^^^^^
    AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?


I expected to see

    Please enter the name of the package in which you have found a problem, or type 'other' to report a more general problem. If you don't know what package the bug is in, please contact debian-user@lists.debian.org for assistance.
    > 


I'm happy to report I seem to have fixed it by
upgrading Debian's python3-pysimplesoap package
from version

    1.16.2-3

to

    1.16.2-5


Humble suggestion:

Please consider updating python3-reportbug to
depend on at least version 1.16.2-5 of
python3-pysimplesoap.

Kind regards,
Kingsley

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
merged-usr: no
Architecture: i386 (i686)

Kernel: Linux 4.4.0-1-686-pae (SMP w/2 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages python3-reportbug depends on:
ii  apt                2.1.13
ii  file               1:5.39-3
ii  python3            3.11.1-1
ii  python3-apt        2.5.2
ii  python3-debian     0.1.48
ii  python3-debianbts  3.2.0
ii  python3-requests   2.25.1+dfsg-2
ii  sensible-utils     0.0.17

python3-reportbug recommends no packages.

Versions of packages python3-reportbug suggests:
ii  reportbug  11.6.0

-- no debconf information


Reply to: