Package: bugs.debian.org
Severity: important

Hello!
Thanks for maintaing my favorite bug tracking system!

Today I am having serious issues with the SOAP interface.
When querying it from reportbug or querybts it seems to always
fail with the following error message:

  $ reportbug reportbug
  *** 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 '"Francesco Poli (wintermute)" <invernom...@paranoici.org>' as your 
from address.
  Getting status for reportbug...
  Checking for newer versions at madison...
  Will send report to Debian (per lsb_release).
  Querying Debian BTS for reports on reportbug (source)...
  Traceback (most recent call last):
    File "/usr/bin/reportbug", line 2211, in <module>
      main()
    File "/usr/bin/reportbug", line 1081, in main
      return iface.user_interface()
    File "/usr/bin/reportbug", line 1703, in user_interface
      latest_first=self.options.latest_first)
    File "/usr/lib/python2.7/dist-packages/reportbug/ui/text_ui.py", line 517, 
in handle_bts_query
      source=source, http_proxy=http_proxy, archived=archived)
    File "/usr/lib/python2.7/dist-packages/reportbug/debbugs.py", line 1275, in 
get_reports
      stats = debianbts.get_status(bugs)
    File "/usr/lib/pymodules/python2.7/debianbts.py", line 179, in get_status
      reply = server.get_status(*nr)
    File "/usr/lib/python2.7/dist-packages/SOAPpy/Client.py", line 545, in 
__call__
      return self.__r_call(*args, **kw)
    File "/usr/lib/python2.7/dist-packages/SOAPpy/Client.py", line 567, in 
__r_call
      self.__hd, self.__ma)
    File "/usr/lib/python2.7/dist-packages/SOAPpy/Client.py", line 480, in 
__call
      raise p
  SOAPpy.Types.faultType: <Fault soap:Client: Can't use an undefined value as a 
subroutine reference at /usr/share/perl5/SOAP/Lite.pm line 1218.
  >

A substantantially similar error is obtained with querybts:

  $ querybts reportbug
  Querying Debian BTS for reports on reportbug...
  Traceback (most recent call last):
    File "/usr/bin/querybts", line 240, in <module>
      main()
    File "/usr/bin/querybts", line 220, in main
      mbox_reader_cmd=options.mbox_reader_cmd, 
latest_first=options.latest_first)
    File "/usr/lib/python2.7/dist-packages/reportbug/ui/text_ui.py", line 517, 
in handle_bts_query
      source=source, http_proxy=http_proxy, archived=archived)
    File "/usr/lib/python2.7/dist-packages/reportbug/debbugs.py", line 1275, in 
get_reports
      stats = debianbts.get_status(bugs)
    File "/usr/lib/pymodules/python2.7/debianbts.py", line 179, in get_status
      reply = server.get_status(*nr)
    File "/usr/lib/python2.7/dist-packages/SOAPpy/Client.py", line 545, in 
__call__
      return self.__r_call(*args, **kw)
    File "/usr/lib/python2.7/dist-packages/SOAPpy/Client.py", line 567, in 
__r_call
      self.__hd, self.__ma)
    File "/usr/lib/python2.7/dist-packages/SOAPpy/Client.py", line 480, in 
__call
      raise p
  SOAPpy.Types.faultType: <Fault soap:Client: Can't use an undefined value as a 
subroutine reference at /usr/share/perl5/SOAP/Lite.pm line 1218.
  >

I was about to report this as a bug against package "reportbug",
when I found out that I could reproduce the issue with apt-listbugs,
as well:

  $ apt-listbugs list -s critical reportbug
  Retrieving bug reports... 0% Fail
  Error retrieving bug reports from the server with the following error message:
  E: Can't use an undefined value as a subroutine reference at 
/usr/share/perl5/SOAP/Lite.pm line 1218.
  It could be because your network is down, or because of broken proxy servers, 
or the BTS server itself is down. Check network configuration and try again
  Retry downloading bug information? [Y/n] n
  Continue the installation anyway? [y/N] 
  E: Exiting with error

Please note that reportbug and querybts are written in Python,
while apt-listbugs (which I maintain) is written in Ruby: hence,
the two tools use different libraries.

The awkward thing is that reportbug/querybts seems to always fail,
while apt-listbugs sometimes fails and sometimes succeeds in querying
the BTS SOAP interface:

  $ apt-listbugs -s critical list reportbug
  Retrieving bug reports... Done
  Parsing Found/Fixed information... Done
  critical bugs of reportbug (→ ) <Resolved in some Version>
   b1 - #690169 - reportbug: incorrectly labels a binary package choice as 
"Source:" (Fixed: reportbug/6.6.0)
     Merged with: 650386
  Summary:
   reportbug(1 bug)


I suspect that this issue is due to some server-side problem.
Hence, I am reporting it against the bugs.debian.org pseudo-package.

Please investigate this misbehavior and fix it.

Thanks for your time!
Bye.


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (800, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to