I ran
apt-listbugs-0.0.69$ time ./examples/listbugs-soap.rb 401051 402407 403049 
403227 404611 399670 400339 > output 2> error

real    0m2.924s
user    0m0.304s
sys     0m0.020s

And got:
$ cat error
Exception `XMLParserError' 
at /usr/lib/ruby/1.8/xsd/xmlparser/xmlparser.rb:31 - no element found
/usr/lib/ruby/1.8/xsd/xmlparser/xmlparser.rb:31:in `parse': no element found 
(XMLParserError)
        from /usr/lib/ruby/1.8/xsd/xmlparser/xmlparser.rb:31:in `do_parse'
        from /usr/lib/ruby/1.8/soap/parser.rb:92:in `parse'
        from /usr/lib/ruby/1.8/soap/processor.rb:39:in `unmarshal'
        from /usr/lib/ruby/1.8/soap/rpc/proxy.rb:236:in `unmarshal'
        from /usr/lib/ruby/1.8/soap/rpc/proxy.rb:175:in `route'
        from /usr/lib/ruby/1.8/soap/rpc/proxy.rb:141:in `call'
        from /usr/lib/ruby/1.8/soap/rpc/driver.rb:178:in `call'
        from (eval):6:in `get_status'
        from /usr/share/apt-listbugs/debian/btssoap.rb:49:in `get_status'
        from ./examples/listbugs-soap.rb:11

I think that it's not a client timeout issue (since the execution completes in 
three seconds). Is the output from the server truncated by a server error or 
by the exception thrown?

Cheers,
-- 
Giuseppe D'Angelo
Exception `XMLParserError' at /usr/lib/ruby/1.8/xsd/xmlparser/xmlparser.rb:31 - 
no element found
/usr/lib/ruby/1.8/xsd/xmlparser/xmlparser.rb:31:in `parse': no element found 
(XMLParserError)
        from /usr/lib/ruby/1.8/xsd/xmlparser/xmlparser.rb:31:in `do_parse'
        from /usr/lib/ruby/1.8/soap/parser.rb:92:in `parse'
        from /usr/lib/ruby/1.8/soap/processor.rb:39:in `unmarshal'
        from /usr/lib/ruby/1.8/soap/rpc/proxy.rb:236:in `unmarshal'
        from /usr/lib/ruby/1.8/soap/rpc/proxy.rb:175:in `route'
        from /usr/lib/ruby/1.8/soap/rpc/proxy.rb:141:in `call'
        from /usr/lib/ruby/1.8/soap/rpc/driver.rb:178:in `call'
        from (eval):6:in `get_status'
        from /usr/share/apt-listbugs/debian/btssoap.rb:49:in `get_status'
        from ./examples/listbugs-soap.rb:11
Title: 302 Found
fetching 401051 402407 403049 403227 404611 399670 400339.. Wire dump: = Request ! CONNECT TO bugs.debian.org:80 ! CONNECTION ESTABLISHED POST /cgi-bin/soap.cgi HTTP/1.1 SOAPAction: "" Content-Type: text/xml; charset=utf-8 User-Agent: SOAP4R/1.5.5 (/114, ruby 1.8.5 (2006-08-25) [i486-linux]) Date: Wed Dec 27 15:26:05 +0100 2006 Content-Length: 755 Host: bugs.debian.org 401051 402407 403049 403227 404611 399670 400339 = Response HTTP/1.1 302 Found Date: Wed, 27 Dec 2006 14:26:05 GMT Server: Apache/1.3.33 (Debian GNU/Linux) Location: http://bugs.donarmstrong.com/cgi-bin/soap.cgi Transfer-Encoding: chunked Content-Type: text/html; charset=iso-8859-1 129

Found

The document has moved here.


Apache/1.3.33 Server at bugs.debian.org Port 80
0 redirected to http://bugs.donarmstrong.com/cgi-bin/soap.cgi = Request ! CONNECT TO bugs.donarmstrong.com:80 ! CONNECTION ESTABLISHED POST /cgi-bin/soap.cgi HTTP/1.1 SOAPAction: "" Content-Type: text/xml; charset=utf-8 User-Agent: SOAP4R/1.5.5 (/114, ruby 1.8.5 (2006-08-25) [i486-linux]) Date: Wed Dec 27 15:26:06 +0100 2006 Content-Length: 755 Host: bugs.donarmstrong.com 401051 402407 403049 403227 404611 399670 400339 = Response HTTP/1.1 200 OK Date: Wed, 27 Dec 2006 14:26:05 GMT Server: Apache/1.3.33 (Debian GNU/Linux) mod_perl/1.29 SOAPServer: SOAP::Lite/Perl/0.60 Content-Length: 11413 Content-Type: text/xml; charset=utf-8 400339Eric Dorland <[EMAIL PROTECTED]>1160994195iceweasel/2.0.0.1+dfsg-1iceweasel/2.0.0.1+dfsg-1<[EMAIL PROTECTED]>400339seriousContains non-free files.Simon Josefsson <[EMAIL PROTECTED]>doneiceweasel4030492.0+dsfg-1iceweasel/2.0+dfsg-1Eric Dorland <[EMAIL PROTECTED]>1166095082iceweasel/2.0.0.1+dfsg-1iceweasel/2.0.0.1+dfsg-1401051 402407 403227iceweasel/2.0+dfsg-12.0+dsfg-1<[EMAIL PROTECTED]>403049graveIceweasel don't worksJovan Spasojevic <[EMAIL PROTECTED]>doneiceweasel399670iceweasel/2.0+dfsg-1Eric Dorland <[EMAIL PROTECTED]>1164099787iceweasel/2.0.0.1+dfsg-1iceweasel/2.0.0.1+dfsg-1iceweasel/2.0+dfsg-1patch<[EMAIL PROTECTED]>399670seriousUpgrade to Iceweasel failedJordi Mallach <[EMAIL PROTECTED]>donepatchiceweasel4046111167173297<[EMAIL PROTECTED]>404611gravetrying to overwrite `/usr/lib/iceweasel/defaults', which is also in package mozilla-imagezoomMichael Prokop <[EMAIL PROTECTED]>pendingiceweasel4032272.0+dsfg-1iceweasel/2.0+dfsg-1Eric Dorland <[EMAIL PROTECTED]>1166191386iceweasel/2.0.0.1+dfsg-1iceweasel/2.0.0.1+dfsg-1401051 402407 403049iceweasel/2.0+dfsg-12.0+dsfg-1<[EMAIL PROTECTED]>403227graveIceweasel faild to startJovan Spasojevic <[EMAIL PROTECTED]>doneiceweasel4024072.0+dsfg-1iceweasel/2.0+dfsg-1Eric Dorland

Attachment: pgpTCwZCUZ0xa.pgp
Description: PGP signature

Reply via email to