From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Volunteers to implement test for stuff called at startup? Date: Mon, 02 May 2016 18:56:13 +0300 Message-ID: <831t5kmp2a.fsf@gnu.org> References: <83y47tn5tv.fsf@gnu.org> <8360uwmq56.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1462204626 15041 80.91.229.3 (2 May 2016 15:57:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 May 2016 15:57:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kaushal Modi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 02 17:56:59 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1axGDN-0007MG-EU for ged-emacs-devel@m.gmane.org; Mon, 02 May 2016 17:56:53 +0200 Original-Received: from localhost ([::1]:37416 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axGDJ-0005F3-LP for ged-emacs-devel@m.gmane.org; Mon, 02 May 2016 11:56:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axGD0-0004x7-TL for emacs-devel@gnu.org; Mon, 02 May 2016 11:56:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axGCm-0006w7-Cm for emacs-devel@gnu.org; Mon, 02 May 2016 11:56:25 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60388) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axGCm-0006uS-9s; Mon, 02 May 2016 11:56:16 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3385 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1axGCg-0003iO-8o; Mon, 02 May 2016 11:56:10 -0400 In-reply-to: (message from Kaushal Modi on Mon, 02 May 2016 15:44:24 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:203521 Archived-At: > From: Kaushal Modi > Date: Mon, 02 May 2016 15:44:24 +0000 > Cc: emacs-devel@gnu.org > > What improvement did you have in mind? The error message generally > means the stream from which the Emacs reader was reading hit EOF. > > As someone reported in a Melpa github issue, the problem is that the Melpa archive-contents ( > http://melpa.org/packages/archive-contents ) is corrupted (as of writing this). > > If the above problem is fixed at the time of viewing this email, this is what archive-contents ended with: > > ===== > https://github.com/cosmicexplorer/cloc-emacs") (:keywords "cloc" "count" "source" "code" "lines"))]) (clmemo > . [(20160326 923) nil "Change Log MEMO" tar ((:url . "https://github.com/ataka/clmemo") (:keywords > "convenience"))]) (cljsbuild-mode . [(20160402 1000) nil "A minor mode for the ClojureScript 'lein cljsbuild' > command" single ((:url . "http://github.com/kototama/cljsbuild-mode") (:keywords "clojure" "clojurescript" > "leiningen" "compilation"))]) (cljr-helm . [(20150425 1307) ((clj-refactor (0 13 0)) (helm (1 5 6))) "Wraps clojure > refactor commands with helm" single ((:url . "https://github.com/philjackson/cljr-he > ===== > > So the improvement request is if it's possible for emacs to print the path to the offending file so that, in this > case, the error would directly tell that EOF error was found in archive-contents downloaded from Melpa. As you see from the detailed backtrace I posted for your bug report, the problem happens when Emacs tries to read from an empty string, so there's no file to report.