Hi,

On Mon, 2008-09-08 at 03:02 +0200, Cyril Brulebois wrote:
> I was trying to generate a list of submitted bugs using the following,
> but that didn't work that well:
> | $ bts select from:[EMAIL PROTECTED] archive:both
> | Can't locate object method "result" via package "archive:both" (perhaps you 
> forgot to load "archive:both"?) at 
> /usr/share/devscripts/Devscripts/Debbugs.pm line 183.
> 
> I suspect there's a problem with debbugs, but I'm reporting it against
> devscripts because it's an explicit example given in bts's manpage, and
> since you probably are able to debug SOAP thingies in case debbugs isn't
> actually guilty.

This turns out not to be debbugs fault. Although most parameters can be
passed as an array in order to support requesting multiple values (e.g.
"severity:normal severity:wishlist") "archive" must be passed as a
scalar and debbugs is therefore throwing a SOAP fault when an array is
passed.

I've committed a fix to SVN to special-case the "archive" key so that
the example works - if the key's supplied multiple times then the
earlier values will simply be overwritten, which seems like a reasonable
behaviour to me.

We really do need to fix Debbugs.pm's sucky error-handling, but that's
another issue :-/

Cheers,

Adam



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to