control: reassign 905737 python-debianbts On 08 Aug 2018 Santiago wrote: > Package: reportbug > Version: 7.5.0 > Severity: important > > Dear Maintainer, for several months, I reported without problems about the > bugnumber 885947 (the last correct was on 23-Jul-2018). > > > From 29-Jul-2018, this command fails to recover the report, with messages > '500 Internal Server Error' and 'No report available'. > > $ reportbug -N 885947 > *** Welcome to reportbug. Use ? for help at prompts. *** > . . . > Retrieving report #885947 from Debian bug tracking system... > b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML > 2.0//EN">\n<html><head>\n<title>500 Internal Server > Error</title>\n</head><body>\n<h1>Internal Server Error</h1>\n<p>The server > encountered an internal error or\nmisconfiguration and was unable to > complete\nyour request.</p>\n<p>Please contact the server administrator at \n > ow...@bugs.debian.org to inform them of the time this error occurred,\n and > the actions you performed just before this error.</p>\n<p>More information > about this error may be available\nin the server error > log.</p>\n<hr>\n<address>Apache Server at bugs.debian.org Port > 443</address>\n</body></html>\n' > No report available: #885947 > No such bug report. > > > If I try other bugnumbers, several work fine (825930, 904391) but some work > badly (750587) with the same error. > > $ reportbug -N 825930 > *** Welcome to reportbug. Use ? for help at prompts. *** > . . . > Retrieving report #825930 from Debian bug tracking system... > What do you want to do now? [N|x|o|r|b|e|q|?]? q > Exiting. > > $ reportbug -N 904391 > *** Welcome to reportbug. Use ? for help at prompts. *** > . . . > Retrieving report #904391 from Debian bug tracking system... > What do you want to do now? [x|O|r|b|e|q|?]? q > Exiting. > > $ reportbug -N 750587 > *** Welcome to reportbug. Use ? for help at prompts. *** > . . . > Retrieving report #885947 from Debian bug tracking system... > b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML > 2.0//EN">\n<html><head>\n<title>500 Internal Server > Error</title>\n</head><body>\n<h1>Internal Server Error</h1>\n<p>The server > encountered an internal error or\nmisconfiguration and was unable to > complete\nyour request.</p>\n<p>Please contact the server administrator at \n > ow...@bugs.debian.org to inform them of the time this error occurred,\n and > the actions you performed just before this error.</p>\n<p>More information > about this error may be available\nin the server error > log.</p>\n<hr>\n<address>Apache Server at bugs.debian.org Port > 443</address>\n</body></html>\n' > No report available: #885947 > No such bug report. > > > Is it a bug in this package or is it a problem in the bug report? > How can I now inform the maintainer of bugnumber 885947? > > Regards.
Santiago, thank you for this report. The bug is neither in reportbug nor in the bug report. The reason is that debianbts.get_bug_log() (which is used internally by reportbug) throws an exception. Example: >>> import debianbts >>> log = debianbts.get_bug_log(885947) b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>500 Internal Server Error</title>\n</head><body>\n<h1>Internal Server Error</h1>\n<p>The server encountered an internal error or\nmisconfiguration and was unable to complete\nyour request.</p>\n<p>Please contact the server administrator at \n ow...@bugs.debian.org to inform them of the time this error occurred,\n and the actions you performed just before this error.</p>\n<p>More information about this error may be available\nin the server error log.</p>\n<hr>\n<address>Apache Server at bugs.debian.org Port 443</address>\n</body></html>\n' Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3/dist-packages/debianbts.py", line 320, in get_bug_log reply = _soap_client_call('get_bug_log', nr) File "/usr/lib/python3/dist-packages/debianbts.py", line 492, in _soap_client_call return getattr(soap_client, method_name)(soap_client, *soap_args) File "/usr/lib/python3/dist-packages/pysimplesoap/client.py", line 179, in <lambda> return lambda self=self, *args, **kwargs: self.call(attr, *args, **kwargs) File "/usr/lib/python3/dist-packages/pysimplesoap/client.py", line 262, in call jetty=self.__soap_server in ('jetty',)) File "/usr/lib/python3/dist-packages/pysimplesoap/simplexml.py", line 56, in __init__ self.__document = xml.dom.minidom.parseString(text) File "/usr/lib/python3.5/xml/dom/minidom.py", line 1968, in parseString return expatbuilder.parseString(string) File "/usr/lib/python3.5/xml/dom/expatbuilder.py", line 925, in parseString return builder.parseString(string) File "/usr/lib/python3.5/xml/dom/expatbuilder.py", line 223, in parseString parser.Parse(string, True) xml.parsers.expat.ExpatError: syntax error: line 1, column 49 >>>