GNU bug report logs -
#28502
25.3; list-packages ends with "error in process filter: End of file during parsing"
Previous Next
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 #32 received at 28502 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Michael Heerdegen <michael_heerdegen <at> web.de> writes:
> FWIW, I see now that my error was a bit different; I can still reproduce
> it with the copy of the file I had removed (it is attached):
>
> Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
> package--add-to-archive-contents(nil "melpa")
> package-read-archive-contents("melpa")
> package-read-all-archive-contents()
> package-initialize()
> byte-code("..." 10)
> load("~/gnu-emacs/.gnu-emacs")
> eval-buffer(#<buffer *load*> nil "/home/micha/.emacs" nil t) ; Reading at buffer position 261
> load-with-code-conversion("/home/micha/.emacs" "/home/micha/.emacs" t t)
> load("~/.emacs" t t)
> #f(compiled-function () #<bytecode 0x2567f5>)()
> command-line()
> normal-top-level()
Thanks for the archive-contents file and backtrace.
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.
Best regards,
Stefan Kangas
[0001-Don-t-try-to-add-nil-packages-on-refresh.patch (application/octet-stream, attachment)]
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.