Bug#917165: reportbug: Crashes in soap client, fails to retrive a bugreport

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#917165: reportbug: Crashes in soap client, fails to retrive a bugreport

Witold Baryluk-2
Package: reportbug
Version: 7.5.1
Severity: important

Hi!


baryluk@picoczarny:~$ reportbug  solvespace
*** Welcome to reportbug.  Use ? for help at prompts. ***
Note: bug reports are publicly archived (including the email address of the submitter).
Detected character set: UTF-8
Please change your locale if this is incorrect.

Using 'Witold Baryluk <[hidden email]>' as your from address.
Getting status for solvespace...
Checking for newer versions at madison, incoming.debian.org and http://ftp-master.debian.org/new.html
Will send report to Debian (per lsb_release).
Querying Debian BTS for reports on solvespace (source)...
1 bug report found:

Bugs with severity important
  1) #887978  solvespace: Crashes on startup
(1-1/1) Is the bug you found listed above [y|N|b|m|r|q|s|f|e|?]? y
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2275, in <module>
    main()
  File "/usr/bin/reportbug", line 1111, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1724, in user_interface
    latest_first=self.options.latest_first)
  File "/usr/lib/python3/dist-packages/reportbug/ui/text_ui.py", line 602, in handle_bts_query
    mbox_reader_cmd)
  File "/usr/lib/python3/dist-packages/reportbug/ui/text_ui.py", line 716, in browse_bugs
    return debbugs.get_report(number, timeout)[0]
  File "/usr/lib/python3/dist-packages/reportbug/debbugs.py", line 1154, in get_report
    log = debianbts.get_bug_log(number)
  File "/usr/lib/python3/dist-packages/debianbts/debianbts.py", line 316, in get_bug_log
    reply = _soap_client_call('get_bug_log', nr)
  File "/usr/lib/python3/dist-packages/debianbts/debianbts.py", line 488, in _soap_client_call
    return getattr(soap_client, method_name)(soap_client, *soap_args)
  File "/usr/lib/python3/dist-packages/pysimplesoap/client.py", line 175, in <lambda>
    return lambda *args, **kwargs: self.call(attr, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/pysimplesoap/client.py", line 213, in call
    for k, v in parameters:  # dict: tag=valor
TypeError: cannot unpack non-iterable SoapClient object
baryluk@picoczarny:~$ reportbug  solvespace
*** Welcome to reportbug.  Use ? for help at prompts. ***
Note: bug reports are publicly archived (including the email address of the submitter).
Detected character set: UTF-8
Please change your locale if this is incorrect.

Using 'Witold Baryluk <[hidden email]>' as your from address.
Getting status for solvespace...
Checking for newer versions at madison, incoming.debian.org and http://ftp-master.debian.org/new.html
Will send report to Debian (per lsb_release).
Querying Debian BTS for reports on solvespace (source)...
1 bug report found:

Bugs with severity important
  1) #887978  solvespace: Crashes on startup
(1-1/1) Is the bug you found listed above [y|N|b|m|r|q|s|f|e|?]? 1
Retrieving report #887978 from Debian bug tracking system...
No report available: #887978
No bug reports found.
Maintainer for solvespace is 'Debian Science Maintainers <[hidden email]>'.
Looking up dependencies of solvespace...

Briefly describe the problem (max. 100 characters allowed). This will be the bug email subject, so keep the summary as concise as possible, for example: "fails to send email" or "does not start with -q option
specified" (enter Ctrl+c to exit reportbug without reporting a bug).
>
...
$

Notice, that when saying 'y' it crashes.

When saying '1', it says no report available. Which is wrong.

I doubt it is related to my network, because I do not have this problem
with other packages I tested reportbug on.


However, it might be something more generic:

I.e. reportbug repotbug list:

...
Querying Debian BTS for reports on reportbug (source)...
223 bug reports found:

Bugs with severity important
    1) #709862  reportbug: GTK interface crashes on continue from package selection
...
(1-19/223) Is the bug you found listed above [y|N|b|m|r|q|s|f|e|?]? 1
Retrieving report #709862 from Debian bug tracking system...
No report available: #709862
No bug reports found.


If it is indeed network or BTS issue, the output does not indicate that
at all.

Best regards,
Witold




-- Package-specific info:
** Environment settings:
INTERFACE="text"

** /home/baryluk/.reportbugrc:
reportbug_version "7.1.10"
mode advanced
ui text
email "[hidden email]"
no-cc
header "X-Debbugs-CC: [hidden email]"
smtphost reportbug.debian.org

-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages reportbug depends on:
ii  apt                1.8.0~alpha2
ii  python3            3.7.1-2
ii  python3-reportbug  7.5.1
ii  sensible-utils     0.0.12

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                                 <none>
pn  debconf-utils                              <none>
pn  debsums                                    <none>
pn  dlocate                                    <none>
pn  emacs24-bin-common | emacs25-bin-common    <none>
ii  exim4-daemon-light [mail-transport-agent]  4.91-9
ii  file                                       1:5.34-2
ii  gnupg                                      2.2.12-1
pn  python3-urwid                              <none>
pn  reportbug-gtk                              <none>
ii  xdg-utils                                  1.1.3-1

Versions of packages python3-reportbug depends on:
ii  apt                1.8.0~alpha2
ii  file               1:5.34-2
ii  python3            3.7.1-2
ii  python3-apt        1.7.0
ii  python3-debian     0.1.33
ii  python3-debianbts  2.7.2
ii  python3-requests   2.20.0-2

python3-reportbug suggests no packages.

-- no debconf information

Reply | Threaded
Open this post in threaded view
|

Bug#917165: reportbug: Crashes in soap client, fails to retrive a bugreport

Nis Martensen-2
control: reassign -1 pysimplesoap
control: severity -1 serious
control: affects -1 reportbug
control: affects -1 python-debianbts
control: tags -1 upstream
control: forwarded -1
https://github.com/pysimplesoap/pysimplesoap/issues/167

On 23 Dec 2018 Witold Baryluk wrote:
>   File "/usr/lib/python3/dist-packages/debianbts/debianbts.py", line 316, in get_bug_log
>     reply = _soap_client_call('get_bug_log', nr)
>   File "/usr/lib/python3/dist-packages/debianbts/debianbts.py", line 488, in _soap_client_call
>     return getattr(soap_client, method_name)(soap_client, *soap_args)
>   File "/usr/lib/python3/dist-packages/pysimplesoap/client.py", line 175, in <lambda>
>     return lambda *args, **kwargs: self.call(attr, *args, **kwargs)
>   File "/usr/lib/python3/dist-packages/pysimplesoap/client.py", line 213, in call
>     for k, v in parameters:  # dict: tag=valor
> TypeError: cannot unpack non-iterable SoapClient object

Thank you for the report.

Increasing severity: The bug renders reportbug unable to display
existing bug information, breaking important functionality.

Reply | Threaded
Open this post in threaded view
|

Bug#917165: reportbug: Crashes in soap client, fails to retrive a bugreport

Nis Martensen-2
In reply to this post by Witold Baryluk-2
control: reassign -1 python-debianbts
control: notforwarded -1
control: retitle -1 python-debianbts: incompatible with new pysimplesoap

>   File "/usr/lib/python3/dist-packages/reportbug/debbugs.py", line 1154, in get_report
>     log = debianbts.get_bug_log(number)
>   File "/usr/lib/python3/dist-packages/debianbts/debianbts.py", line 316, in get_bug_log
>     reply = _soap_client_call('get_bug_log', nr)
>   File "/usr/lib/python3/dist-packages/debianbts/debianbts.py", line 488, in _soap_client_call
>     return getattr(soap_client, method_name)(soap_client, *soap_args)
>   File "/usr/lib/python3/dist-packages/pysimplesoap/client.py", line 175, in <lambda>
>     return lambda *args, **kwargs: self.call(attr, *args, **kwargs)
>   File "/usr/lib/python3/dist-packages/pysimplesoap/client.py", line 213, in call
>     for k, v in parameters:  # dict: tag=valor
> TypeError: cannot unpack non-iterable SoapClient object


python-debianbts currently still carries a workaround for an old
pysimplesoap bug. The workaround is broken in that it does not work with
latest pysimplesoap, where the original bug is fixed..

Explanation and fix by Gaetano Guerriero:
https://github.com/venthur/python-debianbts/pull/45