Bug#905737: reportbug: fails with '500 Internal Server Error' and 'No such bug report' retrieving only some bugnumbers
Package: python-debianbts Version: 2.7.2 Followup-For: Bug #905737 Dear maintainer Nis Martensen, thanks for reallocating this bug in the correct package; the information that shows did not come out in console and I could not get it. Dear maintainer for python-debianbts, it is only to show the associated information on my machine. -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.17.0-1-amd64 (SMP w/2 CPU cores) Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), LANGUAGE=es_ES.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages python-debianbts depends on: ii python 2.7.15-3 ii python-pysimplesoap 1.16-2 python-debianbts recommends no packages. python-debianbts suggests no packages. -- no debconf information
Bug#905737: reportbug: fails with '500 Internal Server Error' and 'No such bug report' retrieving only some bugnumbers
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' 2.0//EN">\n\n500 Internal Server > Error\n\nInternal Server Error\nThe server > encountered an internal error or\nmisconfiguration and was unable to > complete\nyour request.\nPlease 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.\nMore information > about this error may be available\nin the server error > log.\n\nApache Server at bugs.debian.org Port > 443\n\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' 2.0//EN">\n\n500 Internal Server > Error\n\nInternal Server Error\nThe server > encountered an internal error or\nmisconfiguration and was unable to > complete\nyour request.\nPlease 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.\nMore information > about this error may be available\nin the server error > log.\n\nApache Server at bugs.debian.org Port > 443\n\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'\n\n500 Internal Server Error\n\nInternal Server Error\nThe server encountered an internal error or\nmisconfiguration and was unable to complete\nyour request.\nPlease 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.\nMore information about this error may be available\nin the server error log.\n\nApache Server at bugs.debian.org Port 443\n\n' Traceback (most recent call last): File "", line 1, in 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 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 >>>
Bug#905737: reportbug: fails with '500 Internal Server Error' and 'No such bug report' retrieving only some bugnumbers
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'\n\n500 Internal Server Error\n\nInternal Server Error\nThe server encountered an internal error or\nmisconfiguration and was unable to complete\nyour request.\nPlease 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.\nMore information about this error may be available\nin the server error log.\n\nApache Server at bugs.debian.org Port 443\n\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'\n\n500 Internal Server Error\n\nInternal Server Error\nThe server encountered an internal error or\nmisconfiguration and was unable to complete\nyour request.\nPlease 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.\nMore information about this error may be available\nin the server error log.\n\nApache Server at bugs.debian.org Port 443\n\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. -- Package-specific info: ** Environment settings: INTERFACE="text" ** /home/iotest/.reportbugrc: reportbug_version "7.1.7" mode novice ui text realname "Santiago" email "yg2...@hotmail.com" no-cc header "X-Debbugs-CC: yg2...@hotmail.com" smtphost reportbug.debian.org -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.17.0-1-amd64 (SMP w/2 CPU cores) Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), LANGUAGE=es_ES.UTF-8 (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 apt1.6.3 ii python33.6.5-3 ii python3-reportbug 7.5.0 ii sensible-utils 0.0.12 reportbug recommends no packages. Versions of packages reportbug suggests: pn claws-mail ii debconf-utils 1.5.69 ii debsums2.2.3 pn dlocate pn emacs24-bin-common | emacs25-bin-common ii exim4-daemon-light [mail-transport-agent] 4.91-6 ii file 1:5.33-3 ii gnupg 2.2.9-1 pn python3-urwid pn reportbug-gtk ii xdg-utils 1.1.3-1 Versions of packages python3-reportbug depends on: ii apt1.6.3 ii file 1:5.33-3 ii python33.6.5-3 ii python3-apt1.6.2 ii python3-debian 0.1.32 ii python3-debianbts 2.7.2 ii python3-requests 2.18.4-2 python3-reportbug suggests no packages. -- no debconf information