Francesco Poli scrisse in data 01/09/2010 23:53:
> Hence, it seems that your problem is triggered by the it_IT.UTF8
> locale...
>
> Nonetheless, I've been trying to reproduce the bug on a test system
> [...]
> In summary, on my test system, apt-listbugs seems to work flawlessly
> with different locale settings...
>
Hi Francesco, I've tried to change the locale settings reconfiguring
locales package and I've failed... this is the output:
$ sudo dpkg-reconfigure locales
GLib-GObject-WARNING **:
/build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1/gobject/gsignal.c:3079:
signal name `depressed' is invalid for instance `0xa95ed08' at
/usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 118, <GEN1> line 10.
Generating locales (this might take a while)...
en_GB.ISO-8859-15... done
en_GB.UTF-8... done
en_US.UTF-8... done
it_it.iso-8859...@euro... done
it_IT.UTF-8... done
Generation complete.
*** update-locale: Error: LANGUAGE ("it_IT") is not compatible with LANG
(en_US.UTF-8)
> Since I am still unable to reproduce the bug, it may still be useful to
> see the detailed errors on *your* system.
>
> Please issue the following command (this time without altering your
> italian locale settings):
>
> $ apt-listbugs -d list apt-listbugs
>
> and paste *the whole* output in your reply.
>
This is the whole output:
$ apt-listbugs -d list apt-listbugs
Lettura dei campi dei pacchetti... Fatto
Lettura dello stato dei pacchetti... Fatto
Recupero delle segnalazioni di bug... 0%Exception `NoMethodError' at
/usr/lib/ruby/1.8/rational.rb:78 - undefined method `gcd' for
Rational(1, 2):Rational
Exception `LoadError' at /usr/lib/ruby/1.8/xsd/xmlparser/xmlparser.rb:20
- no such file to load -- xml/encoding-ja
Set XSD::XMLParser::XMLParser as XML processor.
Exception `LoadError' at /usr/lib/ruby/1.8/httpclient/auth.rb:16 - no
such file to load -- net/ntlm
Exception `LoadError' at /usr/lib/ruby/1.8/httpclient/auth.rb:23 - no
such file to load -- win32/sspi
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 (httpclient.rb/280, ruby 1.8.7 (2010-08-16)
[i486-linux])
Date: Thu, 02 Sep 2010 06:44:49 GMT
Content-Length: 1053
Host: bugs.debian.org
<?xml version="1.0" encoding="utf-8" ?>
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Body>
<n1:get_bugs xmlns:n1="Debbugs/SOAP/"
env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<keyvalue n2:arrayType="xsd:anyType[4]"
xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="n2:Array">
<item xsi:type="xsd:string">severity</item>
<item n2:arrayType="xsd:anyType[3]"
xsi:type="n2:Array">
<item xsi:type="xsd:string">critical</item>
<item xsi:type="xsd:string">grave</item>
<item xsi:type="xsd:string">serious</item>
</item>
<item xsi:type="xsd:string">package</item>
<item n2:arrayType="xsd:anyType[1]"
xsi:type="n2:Array">
<item xsi:type="xsd:string">apt-listbugs</item>
</item>
</keyvalue>
</n1:get_bugs>
</env:Body>
</env:Envelope>
= Response
HTTP/1.0 400 Bad Request
Server: squid/2.6.STABLE21
Date: Thu, 02 Sep 2010 06:44:49 GMT
Content-Type: text/html
Content-Length: 2890
Expires: Thu, 02 Sep 2010 06:44:49 GMT
X-Squid-Error: ERR_INVALID_REQ 0
Proxy-Connection: close
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=iso-8859-1">
<TITLE>ERRORE: La URL richiesta non può essere recuperata</TITLE>
<STYLE
type="text/css"><!--BODY{background-color:#d3c100;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>
</HEAD><BODY>
<H1>ERRORE</H1>
<H2>La URL richiesta non può essere recuperata</H2>
<HR noshade size="1px">
<P>
Mentre si elaborava la richiesta:
<PRE>
POST /cgi-bin/soap.cgi HTTP/1,1
SOAPAction: ""
Content-Type: text/xml; charset=utf-8
User-Agent: SOAP4R/1.5.5 (httpclient.rb/280, ruby 1.8.7 (2010-08-16)
[i486-linux])
Date: Thu, 02 Sep 2010 06:44:49 GMT
Content-Length: 1053
Host: bugs.debian.org
<?xml version="1.0" encoding="utf-8" ?>
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Body>
<n1:get_bugs xmlns:n1="Debbugs/SOAP/"
env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<keyvalue n2:arrayType="xsd:anyType[4]"
xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="n2:Array">
<item xsi:type="xsd:string">severity</item>
<item n2:arrayType="xsd:anyType[3]"
xsi:type="n2:Array">
<item xsi:type="xsd:string">critical</item>
<item xsi:type="xsd:string">grave</item>
<item xsi:type="xsd:string">serious</item>
</item>
<item xsi:type="xsd:string">package</item>
<item n2:arrayType="xsd:anyType[1]"
xsi:type="n2:Array">
<item
xsi:type="xsd:string">apt-listbugs</item>
</item>
</keyvalue>
</n1:get_bugs>
</env:Body>
</env:Envelope>
</PRE>
<P>
È avvenuto il seguente errore:
<UL>
<LI>
<STRONG>
Richiesta non valida
</STRONG>
</UL>
<P>
Alcuni aspetti della richiesta HTTP non sono validi. Possibili problemi:
<UL>
<LI>Metodo mancante o sconosciuto (GET, POST)
<LI>URL mancante
<LI>Identificativo HTTP mancante (HTTP/1.0)
<LI>La richiesta può essere troppo grande
<LI>Mancanza di <i>Content-Length</i> per richieste POST o PUT
<LI>Caratteri illegali nel nome dell'host; gli "underscores" ('<TT>_</TT>')
non sono permessi
</UL>
</P>
<BR clear="all">
<HR noshade size="1px">
<ADDRESS>
Generated Thu, 02 Sep 2010 06:44:49 GMT by nethsecurity.csa.lan
(squid/2.6.STABLE21)
</ADDRESS>
</BODY></HTML>
! CONNECTION CLOSED
Exception `SOAP::HTTPStreamError' at
/usr/lib/ruby/1.8/soap/streamHandler.rb:200 - 400: Bad Request
Fallito
Exception: SOAP::HTTPStreamError
E: HTTP GET non riuscita
Thank you very much
Piviul
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]