unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#16175: 24.3.50; debbugs-gnu-search fails with "Server response is not an XML document"
@ 2013-12-17  3:10 Dmitry Gutov
  2013-12-17  7:07 ` Michael Albinus
  0 siblings, 1 reply; 8+ messages in thread
From: Dmitry Gutov @ 2013-12-17  3:10 UTC (permalink / raw)
  To: 16175

(This is about the GNU ELPA package).

1. M-x debbugs-gnu-search.
2. Enter term, C-j, C-j.
3. See it wait for response for a bit, then fail.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#16175: 24.3.50; debbugs-gnu-search fails with "Server response is not an XML document"
  2013-12-17  3:10 bug#16175: 24.3.50; debbugs-gnu-search fails with "Server response is not an XML document" Dmitry Gutov
@ 2013-12-17  7:07 ` Michael Albinus
  2013-12-17 12:24   ` Dmitry Gutov
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Albinus @ 2013-12-17  7:07 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: 16175

Dmitry Gutov <dgutov@yandex.ru> writes:

Hi Dmitry,

> (This is about the GNU ELPA package).
>
> 1. M-x debbugs-gnu-search.
> 2. Enter term, C-j, C-j.
> 3. See it wait for response for a bit, then fail.

I cannot reproduce it. I run

In GNU Emacs 24.3.50.3 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.20)
 of 2013-12-16 on detlef
Bzr revision: 115554 eliz@gnu.org-20131216192904-8q3csiyztf1znail
System Description:     Ubuntu 13.10

Furthermore, I use the recent debbugs-gnu 0.5 from the ELPA git repo. If
I apply your test scenario, using "gutov" as term (without quotes), I
get 103 results.

Could you please check, whether it was just a short-time server problem?

Best regards, Michael.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#16175: 24.3.50; debbugs-gnu-search fails with "Server response is not an XML document"
  2013-12-17  7:07 ` Michael Albinus
@ 2013-12-17 12:24   ` Dmitry Gutov
  2013-12-17 12:34     ` Michael Albinus
  2014-01-03  9:00     ` Michael Albinus
  0 siblings, 2 replies; 8+ messages in thread
From: Dmitry Gutov @ 2013-12-17 12:24 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 16175

On 17.12.2013 09:07, Michael Albinus wrote:
> Furthermore, I use the recent debbugs-gnu 0.5 from the ELPA git repo. If
> I apply your test scenario, using "gutov" as term (without quotes), I
> get 103 results.

Hmm, this works for me, and searching for "albinus" also does.

But if I search for "ruby" or "ruby-mode" (likewise, without quotes), it 
raises the error, every time.

Strangely, searching for "python", "imenu" and "ido" works without problems.

Sorry, guess I should have mentioned the search term in the report.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#16175: 24.3.50; debbugs-gnu-search fails with "Server response is not an XML document"
  2013-12-17 12:24   ` Dmitry Gutov
@ 2013-12-17 12:34     ` Michael Albinus
  2014-01-03  9:00     ` Michael Albinus
  1 sibling, 0 replies; 8+ messages in thread
From: Michael Albinus @ 2013-12-17 12:34 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: 16175

Dmitry Gutov <dgutov@yandex.ru> writes:

Hi Dmitry,

> But if I search for "ruby" or "ruby-mode" (likewise, without quotes),
> it raises the error, every time.

Same here. Strange.

I'm very short in time, and the next days incl the weekend I'll be
offline. I'll investigate next week. Sorry for the delay.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#16175: 24.3.50; debbugs-gnu-search fails with "Server response is not an XML document"
  2013-12-17 12:24   ` Dmitry Gutov
  2013-12-17 12:34     ` Michael Albinus
@ 2014-01-03  9:00     ` Michael Albinus
  2014-01-07 11:45       ` Michael Albinus
  1 sibling, 1 reply; 8+ messages in thread
From: Michael Albinus @ 2014-01-03  9:00 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: 16175

Dmitry Gutov <dgutov@yandex.ru> writes:

> On 17.12.2013 09:07, Michael Albinus wrote:
>> Furthermore, I use the recent debbugs-gnu 0.5 from the ELPA git repo. If
>> I apply your test scenario, using "gutov" as term (without quotes), I
>> get 103 results.
>
> Hmm, this works for me, and searching for "albinus" also does.
>
> But if I search for "ruby" or "ruby-mode" (likewise, without quotes),
> it raises the error, every time.

It is not an error in Emacs or debbugs-gnu.el. It seems to be an error
of the debbugs server on debbugs.gnu.org.

If I raise a search for ruby or alike, the returned HTTP headers are
wrong:

HTTP/1.1 200 OK
Date: Fri, 03 Jan 2014 08:48:44 GMT
Server: Apache/2.2.22 (Debian)
 </value></item><item><key xsi: type="
SOAPServer: SOAP::Lite/Perl/0.714
Content-Length: 1162378
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: multipart/related; type="text/xml"; start="<main_envelope>"; boundary="----

With any other search string, the returned HTTP headers look correctly:

HTTP/1.1 200 OK
Date: Fri, 03 Jan 2014 08:54:55 GMT
Server: Apache/2.2.22 (Debian)
SOAPServer: SOAP::Lite/Perl/0.714
Vary: Accept-Encoding
Content-Encoding: gzip
Connection: close
Content-Type: text/xml; charset=utf-8

I'm worrying about the fourth line, which looks like XML. Maybe it is
unrelated, and the problem are rather the different Keep-Alive states.

I will continue to investigate on debbugs.gnu.org. This will take time.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#16175: 24.3.50; debbugs-gnu-search fails with "Server response is not an XML document"
  2014-01-03  9:00     ` Michael Albinus
@ 2014-01-07 11:45       ` Michael Albinus
  2014-01-07 12:05         ` Dmitry Gutov
  2014-01-07 13:12         ` Michael Albinus
  0 siblings, 2 replies; 8+ messages in thread
From: Michael Albinus @ 2014-01-07 11:45 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: 16175

Michael Albinus <michael.albinus@gmx.de> writes:

>> Hmm, this works for me, and searching for "albinus" also does.
>>
>> But if I search for "ruby" or "ruby-mode" (likewise, without quotes),
>> it raises the error, every time.
>
> It is not an error in Emacs or debbugs-gnu.el. It seems to be an error
> of the debbugs server on debbugs.gnu.org.
>
> If I raise a search for ruby or alike, the returned HTTP headers are
> wrong:
>
> HTTP/1.1 200 OK
> Date: Fri, 03 Jan 2014 08:48:44 GMT
> Server: Apache/2.2.22 (Debian)
>  </value></item><item><key xsi: type="
> SOAPServer: SOAP::Lite/Perl/0.714
> Content-Length: 1162378
> Keep-Alive: timeout=5, max=100
> Connection: Keep-Alive
> Content-Type: multipart/related; type="text/xml";
> start="<main_envelope>"; boundary="----
>
> With any other search string, the returned HTTP headers look correctly:
>
> HTTP/1.1 200 OK
> Date: Fri, 03 Jan 2014 08:54:55 GMT
> Server: Apache/2.2.22 (Debian)
> SOAPServer: SOAP::Lite/Perl/0.714
> Vary: Accept-Encoding
> Content-Encoding: gzip
> Connection: close
> Content-Type: text/xml; charset=utf-8
>
> I'm worrying about the fourth line, which looks like XML. Maybe it is
> unrelated, and the problem are rather the different Keep-Alive states.
>
> I will continue to investigate on debbugs.gnu.org. This will take time.

Finally, it is an error in the Perl package SOAP::Transport::HTTP::Server.
If the message to be returned contains the regexp
/content-type:.* boundary="([^\"]*)"/ the multipart/related content type
is returned. I've changed that regexp /^content-type:.* boundary="([^\"]*)"/

It shall work now, could you, please, test?

Best regards, Michael.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#16175: 24.3.50; debbugs-gnu-search fails with "Server response is not an XML document"
  2014-01-07 11:45       ` Michael Albinus
@ 2014-01-07 12:05         ` Dmitry Gutov
  2014-01-07 13:12         ` Michael Albinus
  1 sibling, 0 replies; 8+ messages in thread
From: Dmitry Gutov @ 2014-01-07 12:05 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 16175-done

On 07.01.2014 15:45, Michael Albinus wrote:
> Finally, it is an error in the Perl package SOAP::Transport::HTTP::Server.
> If the message to be returned contains the regexp
> /content-type:.* boundary="([^\"]*)"/ the multipart/related content type
> is returned. I've changed that regexp /^content-type:.* boundary="([^\"]*)"/
>
> It shall work now, could you, please, test?

Seems to work. Thanks!






^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#16175: 24.3.50; debbugs-gnu-search fails with "Server response is not an XML document"
  2014-01-07 11:45       ` Michael Albinus
  2014-01-07 12:05         ` Dmitry Gutov
@ 2014-01-07 13:12         ` Michael Albinus
  1 sibling, 0 replies; 8+ messages in thread
From: Michael Albinus @ 2014-01-07 13:12 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: 16175

For the records, I have reported this to Debian BTS as <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734470>.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-01-07 13:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-17  3:10 bug#16175: 24.3.50; debbugs-gnu-search fails with "Server response is not an XML document" Dmitry Gutov
2013-12-17  7:07 ` Michael Albinus
2013-12-17 12:24   ` Dmitry Gutov
2013-12-17 12:34     ` Michael Albinus
2014-01-03  9:00     ` Michael Albinus
2014-01-07 11:45       ` Michael Albinus
2014-01-07 12:05         ` Dmitry Gutov
2014-01-07 13:12         ` Michael Albinus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).