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

Bug#1029659: marked as done (AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?)



Your message dated Sun, 2 Apr 2023 14:44:18 +0200
with message-id <0a1fc577-44be-ea9d-525c-b5d16a3eb838@web.de>
and subject line Re: AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?
has caused the Debian Bug report #1029659,
regarding AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1029659: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029659
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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 ---
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 ---

Reply to: