[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28502: 25.3; list-packages ends with "error in process filter: End o
From: |
Stefan Kangas |
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 |
Michael Heerdegen <michael_heerdegen@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