--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?
- From: "Kingsley G. Morse Jr." <kingsley@loaner.com>
- Date: Wed, 25 Jan 2023 18:48:58 -0800
- Message-id: <167470133854.1684.9883626925821951800.reportbug@debian1.loaner.com>
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
--- End Message ---
--- Begin Message ---
- To: 1029659-done@bugs.debian.org, "Kingsley G. Morse Jr." <kingsley@loaner.com>
- Subject: Re: AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?
- From: Nis Martensen <nis.martensen@web.de>
- Date: Sun, 2 Apr 2023 14:44:18 +0200
- Message-id: <0a1fc577-44be-ea9d-525c-b5d16a3eb838@web.de>
- In-reply-to: <167470133854.1684.9883626925821951800.reportbug@debian1.loaner.com>
- References: <167470133854.1684.9883626925821951800.reportbug@debian1.loaner.com> <167470133854.1684.9883626925821951800.reportbug@debian1.loaner.com>
On 25 Jan 2023 "Kingsley G. Morse Jr." wrote:
> 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'?
This is not a bug in reportbug, but in pysimplesoap.
> 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
Good, so it is fixed already. Thank you for checking. The fixed package
had already migrated to testing when you filed the report.
> Please consider updating python3-reportbug to
> depend on at least version 1.16.2-5 of
> python3-pysimplesoap.
Not necessary, because neither reportbug nor python3-reportbug depend
directly on pysimplesoap. We do not add new dependencies in case such
bugs happen in packages we only indirectly depend on.
Closing accordingly.
--- End Message ---