reportbug: crashes on BTS query returning "HTTPError 500 Internal Server Error"

Bug #1512200 reported by Shih-Yuan Lee on 2015-11-02
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-debianbts (Debian)
Fix Released
Unknown
python-debianbts (Ubuntu)
Medium
Unassigned
Trusty
Critical
Clint Byrum
Vivid
Critical
Clint Byrum

Bug Description

[Impact]

 * This issue affects the people who want to interact with Debian BTS on Ubuntu.

[Test Case]

$ reportbug -B debian
Please enter the name of the package in which you have found a problem, or type 'other' to report a more general problem.
> wnpp
Are you sure you want to file a WNPP report? [y|N|q|?]? y
*** 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 '"Shih-Yuan Lee (FourDollars)" <email address hidden>' as your from address.
Will send report to Debian (per request).
What sort of request is this? (If none of these things mean anything to you, or you are trying to report a bug in an existing package, please press Enter to exit reportbug.)

1 ITP This is an `Intent To Package'. Please submit a package description along with copyright and URL in such a report.
2 O The package has been `Orphaned'. It needs a new maintainer as soon as possible.
3 RFA This is a `Request for Adoption'. Due to lack of time, resources, interest or something similar, the current maintainer is asking for someone else to maintain this package. They will maintain it in the meantime, but perhaps
       not in the best possible way. In short: the package needs a new maintainer.
4 RFH This is a `Request For Help'. The current maintainer wants to continue to maintain this package, but they needs some help to do this, because their time is limited or the package is quite big and needs several maintainers.
5 RFP This is a `Request For Package'. You have found an interesting piece of software and would like someone else to maintain it for Debian. Please submit a package description along with copyright and URL in such a report.

Choose the request type: 1
Please enter the proposed package name: kore
Checking status database...
Please briefly describe this package; this should be an appropriate short description for the eventual package: Fast SPDY capable web server for web development in C
Your report will be carbon-copied to debian-devel, per Debian policy.
Querying Debian BTS for reports on wnpp (source)...
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2217, in <module>
    main()
  File "/usr/bin/reportbug", line 1079, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1709, in user_interface
    latest_first=self.options.latest_first)
  File "/usr/lib/pymodules/python2.7/reportbug/ui/text_ui.py", line 517, in handle_bts_query
    source=source, http_proxy=http_proxy, archived=archived)
  File "/usr/lib/pymodules/python2.7/reportbug/debbugs.py", line 1276, in get_reports
    stats = debianbts.get_status(bugs)
  File "/usr/lib/pymodules/python2.7/debianbts.py", line 161, in get_status
    reply = server.get_status(*nr)
  File "/usr/lib/pymodules/python2.7/SOAPpy/Client.py", line 470, in __call__
    return self.__r_call(*args, **kw)
  File "/usr/lib/pymodules/python2.7/SOAPpy/Client.py", line 492, in __r_call
    self.__hd, self.__ma)
  File "/usr/lib/pymodules/python2.7/SOAPpy/Client.py", line 363, in __call
    config = self.config)
  File "/usr/lib/pymodules/python2.7/SOAPpy/Client.py", line 252, in call
    raise HTTPError(code, msg)
SOAPpy.Errors.HTTPError: <HTTPError 500 Internal Server Error>

[Regression Potential]

 * None

[Other Info]

 * This issue only happens on trusty and vivid. There is no problem for wily.
 * The patch is taken from the upstream directly. https://github.com/venthur/python-debianbts/pull/5/files

Related branches

tags: added: vivid
Shih-Yuan Lee (fourdollars) wrote :
Changed in python-debianbts (Debian):
status: Unknown → Fix Released
Shih-Yuan Lee (fourdollars) wrote :
description: updated
description: updated
Changed in python-debianbts (Ubuntu):
importance: Undecided → Medium
Changed in python-debianbts (Ubuntu):
status: New → Fix Released
Changed in python-debianbts (Ubuntu Trusty):
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Clint Byrum (clint-fewbar)
Clint Byrum (clint-fewbar) wrote :

I've sponsored the upload to trusty-proposed and built test packages with it that resolve the bug for me. Vivid test build is going now and I will upload that as well. Thanks for the patches Shih-Yuan!

Changed in python-debianbts (Ubuntu Vivid):
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Clint Byrum (clint-fewbar)
Shih-Yuan Lee (fourdollars) wrote :

Thanks for the sponsoring. :-)

Hello Shih-Yuan, or anyone else affected,

Accepted python-debianbts into vivid-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python-debianbts/1.12ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in python-debianbts (Ubuntu Vivid):
status: In Progress → Fix Committed
tags: added: verification-needed
Changed in python-debianbts (Ubuntu Trusty):
status: In Progress → Fix Committed
Brian Murray (brian-murray) wrote :

Hello Shih-Yuan, or anyone else affected,

Accepted python-debianbts into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python-debianbts/1.11ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Shih-Yuan Lee (fourdollars) wrote :

I have verified python-debianbts/1.11ubuntu0.1 and python-debianbts/1.12ubuntu0.1, and they work without this issue now.

tags: added: verification-done
removed: verification-needed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-debianbts - 1.11ubuntu0.1

---------------
python-debianbts (1.11ubuntu0.1) trusty-proposed; urgency=medium

  * Fix the crashes on BTS query. (LP: #1512200)

 -- Shih-Yuan Lee (FourDollars) <email address hidden> Mon, 02 Nov 2015 11:58:03 +0800

Changed in python-debianbts (Ubuntu Trusty):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for python-debianbts has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-debianbts - 1.12ubuntu0.1

---------------
python-debianbts (1.12ubuntu0.1) vivid-proposed; urgency=medium

  * Fix the crashes on BTS query. (LP: #1512200)

 -- Shih-Yuan Lee (FourDollars) <email address hidden> Mon, 02 Nov 2015 13:27:45 +0800

Changed in python-debianbts (Ubuntu Vivid):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.