unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: Alex Branham <alex.branham@gmail.com>,
	28502@debbugs.gnu.org,
	Noam Postavsky <npostavs@users.sourceforge.net>
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	[thread overview]
Message-ID: <CADwFkmkTmq6CNi_aSfv+U4fh6VOpaf47cEQEiwUiJM8Ua43fEw@mail.gmail.com> (raw)
In-Reply-To: <87y2xeo16f.fsf@web.de>

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





  reply	other threads:[~2019-10-21 11:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-18 17:48 bug#28502: 25.3; list-packages ends with "error in process filter: End of file during parsing" Alex Branham
2017-09-27  0:45 ` Noam Postavsky
2017-09-27 13:43   ` Michael Heerdegen
2017-09-27 14:06     ` Alex Branham
2017-09-27 14:47       ` Michael Heerdegen
2017-09-27 14:50         ` Alex Branham
2017-09-29 14:34     ` Michael Heerdegen
2019-10-20 22:05 ` Stefan Kangas
2019-10-21 10:14   ` Michael Heerdegen
2019-10-21 11:50     ` Stefan Kangas [this message]
2019-10-21  1:27 ` Stefan Kangas
2019-11-29 13:00   ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADwFkmkTmq6CNi_aSfv+U4fh6VOpaf47cEQEiwUiJM8Ua43fEw@mail.gmail.com \
    --to=stefan@marxist.se \
    --cc=28502@debbugs.gnu.org \
    --cc=alex.branham@gmail.com \
    --cc=michael_heerdegen@web.de \
    --cc=npostavs@users.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).