Package: python-debianbts
Version: 2.4
Severity: important
User: [email protected]
Usertags: piuparts
in jessie this works:
Python 2.7.9 (default, Mar 1 2015, 12:57:24)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import debianbts
>>> debianbts.get_bugs('package', 'python-debianbts', 'bugs', [639458, 799393],
>>> 'archive', 'both')
[799393, 639458]
>>>
but in sid it fails:
Python 2.7.10 (default, Sep 13 2015, 20:30:50)
[GCC 5.2.1 20150911] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import debianbts
>>> debianbts.get_bugs('package', 'python-debianbts', 'bugs', [639458, 799393],
>>> 'archive', 'both')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/debianbts.py", line 308, in get_bugs
reply = _soap_client_call('get_bugs', *key_value)
File "/usr/lib/python2.7/dist-packages/debianbts.py", line 356, in
_soap_client_call
return getattr(soap_client, method_name)(soap_client, *soap_args)
File "/usr/lib/python2.7/dist-packages/pysimplesoap/client.py", line 179, in
<lambda>
return lambda self=self, *args, **kwargs: self.call(attr, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/pysimplesoap/client.py", line 274, in
call
detail)
pysimplesoap.client.SoapFault: soap:Server: The 'bugs' parameter
("HASH(0x315ced8)") to Debbugs::Bugs::get_bugs was a 'hashref', which is not
one of the allowed types: scalar arrayref
at /usr/local/lib/site_perl/Debbugs/Bugs.pm line 156.
Debbugs::Bugs::get_bugs("bugs", HASH(0x315ced8), "archive", "both",
"package", "python-debianbts") called at
/usr/local/lib/site_perl/Debbugs/SOAP.pm line 176
Debbugs::SOAP::get_bugs("Debbugs::SOAP", "package", "python-debianbts",
"bugs", HASH(0x315ced8), "archive", "both") called at
/usr/share/perl5/SOAP/Lite.pm line 2875
eval {...} called at /usr/share/perl5/SOAP/Lite.pm line 2860
eval {...} called at /usr/share/perl5/SOAP/Lite.pm line 2826
SOAP::Server::handle(Debbugs::SOAP::Server=HASH(0x1992a10), "<?xml
version=\"1.0\" encoding=\"UTF-8\"?><soap:Envelope xmlns:so"...) called at
/usr/share/perl5/SOAP/Transport/HTTP.pm line 438
SOAP::Transport::HTTP::Server::handle(Debbugs::SOAP::Server=HASH(0x1992a10))
called at /usr/share/perl5/SOAP/Transport/HTTP.pm line 603
SOAP::Transport::HTTP::CGI::handle(Debbugs::SOAP::Server=HASH(0x1992a10))
called at /srv/bugs.debian.org/cgi-bin/soap.cgi line 44
eval {...} called at /srv/bugs.debian.org/cgi-bin/soap.cgi line 40
>>>
This breaks piuparts (piuparts-analyze.py) in stretch.
Andreas