GNU bug report logs - #28502
25.3; list-packages ends with "error in process filter: End of file during parsing"

Previous Next

Package: emacs;

Reported by: Alex Branham <alex.branham <at> gmail.com>

Date: Mon, 18 Sep 2017 17:49:01 UTC

Severity: normal

Tags: unreproducible

Found in version 25.3

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #41 received at 28502 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: Alex Branham <alex.branham <at> gmail.com>, 28502 <at> debbugs.gnu.org,
 Noam Postavsky <npostavs <at> users.sourceforge.net>
Subject: Re: 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
Michael Heerdegen <michael_heerdegen <at> web.de> 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




This bug report was last modified 5 years and 175 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.