From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Politz Newsgroups: gmane.emacs.bugs Subject: bug#26063: 26.0.50; url-insert-file-contents signals error for HTTP 304 response Date: Sat, 11 Mar 2017 19:34:39 +0100 Message-ID: <87shmjwtkw.fsf@luca> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1489257381 31632 195.159.176.226 (11 Mar 2017 18:36:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 11 Mar 2017 18:36:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: 26063@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 11 19:36:14 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmlsA-0006ln-9r for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Mar 2017 19:36:10 +0100 Original-Received: from localhost ([::1]:44351 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmlsD-0006XD-3v for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Mar 2017 13:36:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmls6-0006Wt-TH for bug-gnu-emacs@gnu.org; Sat, 11 Mar 2017 13:36:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmls2-0006U2-P9 for bug-gnu-emacs@gnu.org; Sat, 11 Mar 2017 13:36:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53520) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cmls2-0006Tu-LG for bug-gnu-emacs@gnu.org; Sat, 11 Mar 2017 13:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cmls2-0000pT-F5 for bug-gnu-emacs@gnu.org; Sat, 11 Mar 2017 13:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Politz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Mar 2017 18:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26063 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14892573123126 (code B ref -1); Sat, 11 Mar 2017 18:36:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Mar 2017 18:35:12 +0000 Original-Received: from localhost ([127.0.0.1]:51719 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmlrE-0000oM-FV for submit@debbugs.gnu.org; Sat, 11 Mar 2017 13:35:12 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49365) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmlrD-0000oA-M3 for submit@debbugs.gnu.org; Sat, 11 Mar 2017 13:35:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmlr7-0005t8-7w for submit@debbugs.gnu.org; Sat, 11 Mar 2017 13:35:06 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:59299) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cmlr7-0005t4-5G for submit@debbugs.gnu.org; Sat, 11 Mar 2017 13:35:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmlr5-0006CL-NJ for bug-gnu-emacs@gnu.org; Sat, 11 Mar 2017 13:35:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmlr1-0005pY-Pn for bug-gnu-emacs@gnu.org; Sat, 11 Mar 2017 13:35:03 -0500 Original-Received: from gateway-a.fh-trier.de ([143.93.54.181]:50773) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cmlr1-0005no-Eh for bug-gnu-emacs@gnu.org; Sat, 11 Mar 2017 13:34:59 -0500 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum Hochschule Trier (RZ/HT)] Original-Received: from localhost (ip5f5bdecf.dynamic.kabel-deutschland.de [95.91.222.207]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTPSA id 4EF5D179B332 for ; Sat, 11 Mar 2017 19:34:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de; s=default; t=1489257284; bh=EaYVBChQ/Y21idrUB5++vxPe7zk=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=lgV91s5P/OEoDOH7pPnpLDEJGpQxJGfG636WjrSSBspjwux4DPINaTs02mSTfsPzx d6TddME/BC37eBtcGAcHd5GH2U8A8RXJowJO8Gc3JAihx6H1wjMAdnNy3Cen/ygAAA UWOBhE2Y9SVT3ydEcsOYwGEN+KLMiXAfyBHpdShA= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:130495 Archived-At: Start from emacs -Q . 1. Install debbugs (http://elpa.gnu.org/packages/debbugs.html) 2. Enable url-automatic-caching 3. M-x debbugs-gnu-search RET change-group RET This should pop-up some results in a new buffer. Now hit RET (debbugs-gnu-select-report) on one of them, which will popup a gnus buffer displaying the related articles. Close that buffer via q (gnus-summary-exit). Back in the debbugs buffer, hit RET again, which will lead to the following (abbreviated) backtrace. Debugger entered--Lisp error: (file-error "http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23906;mboxmaint=yes;mboxstat=yes" "Not modified") signal(file-error ("http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23906;mboxmaint=yes;mboxstat=yes" "Not modified")) ... url-insert-file-contents("http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23906;mboxmaint=yes;mboxstat=yes") gnus-read-ephemeral-bug-group((23906) "http://debbugs.gnu.org/cgi/bugreport.cgi?bug=%s;mboxmaint=yes;mboxstat=yes" (# . #)) gnus-read-ephemeral-emacs-bug-group((23906) (# . #)) debbugs-read-emacs-bug-with-gnus(23906 ((cache_time . 1489254461.4531486) (summary) (subject . "25.0.95; Undo boundary after process output is not consistent") (done) (fixed_versions) (blockedby) (date . 1467827822) (log_modified . 1469396222) (blocks) (affects) (fixed_date) (bug_num . 23906) (source . "unknown") (unarchived) (mergedwith) (found_versions "25.0.95") (tags) (pending . "pending") (found (item (key . "25.0.95") (value))) (package "emacs") (keywords) (id . 23906) (severity . "normal") (msgid . "") (forwarded) (owner) (found_date) (originator . "Markus Triska ") (fixed) (location . "db-h") (archived) (last_modified . 1469396222)) nil) debbugs-gnu-select-report() I think url-insert-file-contents should not raise an error when the status code is 304, because it just means that the result comes from the cache, instead of the server. -ap