From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#28502: 25.3; list-packages ends with "error in process filter: End of file during parsing" Date: Mon, 21 Oct 2019 13:50:31 +0200 Message-ID: References: <87y2xeo16f.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="262773"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Alex Branham , 28502@debbugs.gnu.org, Noam Postavsky To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 21 13:54:59 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iMWH3-0016CW-Ry for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Oct 2019 13:54:57 +0200 Original-Received: from localhost ([::1]:39066 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMWH2-0003sA-4M for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Oct 2019 07:54:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52993) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMWDH-0007Mv-HI for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2019 07:51:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMWDG-0003gS-CI for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2019 07:51:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47011) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMWDG-0003gO-99 for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2019 07:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iMWDG-0001HS-6d for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2019 07:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Oct 2019 11:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28502 X-GNU-PR-Package: emacs Original-Received: via spool by 28502-submit@debbugs.gnu.org id=B28502.15716586514903 (code B ref 28502); Mon, 21 Oct 2019 11:51:02 +0000 Original-Received: (at 28502) by debbugs.gnu.org; 21 Oct 2019 11:50:51 +0000 Original-Received: from localhost ([127.0.0.1]:55832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMWD4-0001H0-QQ for submit@debbugs.gnu.org; Mon, 21 Oct 2019 07:50:51 -0400 Original-Received: from mail-pl1-f171.google.com ([209.85.214.171]:39843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMWD3-0001Gn-D0 for 28502@debbugs.gnu.org; Mon, 21 Oct 2019 07:50:49 -0400 Original-Received: by mail-pl1-f171.google.com with SMTP id s17so6503702plp.6 for <28502@debbugs.gnu.org>; Mon, 21 Oct 2019 04:50:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=O9Kv+ZwgLIPWPp2g7QAR0P2NXrP+HtDwHoGwXfWeiPU=; b=npJuaHNFDKqPfDylf4r37/pwhNuLb6lpXsc1clNlDihIYztSucfHs/9SCJA14f3be0 4KoCMgyYdXEvQkL63JHtdw9yesQlXAYlZecEH2txMEY6nvP2mu9czlirUk/zsaVJYkRK n9v+ZKY9ssXo4LG2HpZKxkWe7eq0moUHnF4g1IKyUjEetzKXzNd5qGtw2ASfET29UPtR iVv5crXt6jP6qnVniaobcdY6JCkKmmgP5IVU3OWcbDjOOhWQ/q9qrcmWHZa/1Z5jHDZ1 ZqD2gvWck8V0q3mZysG/STJ19+aCZCI6PlVy7gZMI+Kq48Nfrp5FMaphkzaBtDYgjYgu Wsfw== X-Gm-Message-State: APjAAAU0DAGr5WjH7FFDfvTlGl3Wku2NQhPU2jgMpP6NMAOhwyoCmcKc lRCfxok+vJ0ZAg+Ce/oJfGsLUZ31gS2MIEJS12s= X-Google-Smtp-Source: APXvYqyFiJVlwtFVQHRATa3nXjA94JN9MvKDCHNyez3w75/Vi0swGhXJiAw8eMMeo4Y00yc5lqqS3d6KUJNHNOAJViM= X-Received: by 2002:a17:902:6b88:: with SMTP id p8mr23048619plk.251.1571658643378; Mon, 21 Oct 2019 04:50:43 -0700 (PDT) In-Reply-To: <87y2xeo16f.fsf@web.de> 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: 209.51.188.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:169901 Archived-At: Michael Heerdegen writes: > > The file you saw contained a package entry that was nil. My guess is > > that this was due to an intermittent error on MELPA, since it was > > well-formed in all other respects. > > > > I don't think it's necessary to signal an error in this case. We should > > just ignore nil entries. On the other hand, it might indicate that > > something is wrong with the package archive, so it's nice to warn about > > it. > > > > I've installed the attached patch on master which does that. > > If your assumption is correct, this seems like a reasonable fix. Thank > you! I'm pretty confident: if you open the archive-contents file and run M-x end-of-buffer, you see the nil entry at the end there. You can also reproduce the backtrace you saw by reverting the changes to package.el and running the test that I add I added. Best regards, Stefan Kangas