emacscollective/epkg

wrong-type-argument arrayp gelpa-builtin-recipe

Closed this issue · 6 comments

bwolf commented

After the recent update 4243b36, I get the following error after M-x epkg-describe-package:

Debugger entered--Lisp error: (wrong-type-argument arrayp gelpa-builtin-recipe)
  #f(compiled-function (class db row &optional resolve) #<bytecode 0x44c307fd>)(gelpa-recipe #<epkg-database epkg-database> (builtin "flymake" nil nil t "flymake"))
  apply(#f(compiled-function (class db row &optional resolve) #<bytecode 0x44c307fd>) gelpa-recipe (#<epkg-database epkg-database> (builtin "flymake" nil nil t "flymake")))
  closql--remake-instance(gelpa-recipe #<epkg-database epkg-database> (builtin "flymake" nil nil t "flymake"))
  #f(compiled-function (row) #<bytecode 0x44b7e921>)((builtin "flymake" nil nil t "flymake"))
  mapcar(#f(compiled-function (row) #<bytecode 0x44b7e921>) ((builtin "flymake" nil nil t "flymake")))
  closql-oref(#<epkg-builtin-package epkg-builtin-package> gelpa-recipes)
  eieio-oref--closql-oref(#f(compiled-function (obj slot) "Return the value in OBJ at SLOT in the object vector." #<bytecode 0x40f9f0e5>) #<epkg-builtin-package epkg-builtin-package> gelpa-recipes)
  apply(eieio-oref--closql-oref #f(compiled-function (obj slot) "Return the value in OBJ at SLOT in the object vector." #<bytecode 0x40f9f0e5>) (#<epkg-builtin-package epkg-builtin-package> gelpa-recipes))
  eieio-oref(#<epkg-builtin-package epkg-builtin-package> gelpa-recipes)
  slot-boundp(#<epkg-builtin-package epkg-builtin-package> gelpa-recipes)
  #f(compiled-function (obj) #<bytecode 0x44c30829>)(#<epkg-builtin-package epkg-builtin-package>)
  apply(#f(compiled-function (obj) #<bytecode 0x44c30829>) #<epkg-builtin-package epkg-builtin-package> nil)
  closql--resolve-slots(#<epkg-builtin-package epkg-builtin-package>)
  #f(compiled-function (class db row &optional resolve) #<bytecode 0x44c307fd>)(epkg-package #<epkg-database epkg-database> (builtin "flymake" "07f8f9bc5a51f5aa94eb099f3e15fbe0c20ea1ea" "https://git.savannah.gnu.org/git/emacs.git" nil "flymake" nil "flymake" nil nil "lisp/progmodes/flymake.el" "https://git.savannah.gnu.org/cgit/emacs.git" "https://www.gnu.org/software/emacs" nil "https://emacswiki.org/FlyMake" "GPL-3+" "2018" nil "A universal on-the-fly syntax checker" "Flymake is a minor Emacs mode performing on-the-fly syntax checks.\n\nFlymake collects diagnostic information for multiple sources,\ncalled backends, and visually annotates the relevant portions in\nthe buffer.\n\nThis file contains the UI for displaying and interacting with the\nresults produced by these backends, as well as entry points for\nbackends to hook on to.\n\nThe main entry points are `flymake-mode' and `flymake-start'\n\nThe docstrings of these variables are relevant to understanding how\nFlymake works for both the user and the backend programmer:\n\n* `flymake-diagnostic-functions'\n* `flymake-diagnostic-types-alist'\n" unbound unbound unbound unbound unbound unbound unbound unbound unbound nil nil nil) t)
  apply(#f(compiled-function (class db row &optional resolve) #<bytecode 0x44c307fd>) epkg-package (#<epkg-database epkg-database> (builtin "flymake" "07f8f9bc5a51f5aa94eb099f3e15fbe0c20ea1ea" "https://git.savannah.gnu.org/git/emacs.git" nil "flymake" nil "flymake" nil nil "lisp/progmodes/flymake.el" "https://git.savannah.gnu.org/cgit/emacs.git" "https://www.gnu.org/software/emacs" nil "https://emacswiki.org/FlyMake" "GPL-3+" "2018" nil "A universal on-the-fly syntax checker" "Flymake is a minor Emacs mode performing on-the-fly syntax checks.\n\nFlymake collects diagnostic information for multiple sources,\ncalled backends, and visually annotates the relevant portions in\nthe buffer.\n\nThis file contains the UI for displaying and interacting with the\nresults produced by these backends, as well as entry points for\nbackends to hook on to.\n\nThe main entry points are `flymake-mode' and `flymake-start'\n\nThe docstrings of these variables are relevant to understanding how\nFlymake works for both the user and the backend programmer:\n\n* `flymake-diagnostic-functions'\n* `flymake-diagnostic-types-alist'\n" unbound unbound unbound unbound unbound unbound unbound unbound unbound nil nil nil) t))
  closql--remake-instance(epkg-package #<epkg-database epkg-database> (builtin "flymake" "07f8f9bc5a51f5aa94eb099f3e15fbe0c20ea1ea" "https://git.savannah.gnu.org/git/emacs.git" nil "flymake" nil "flymake" nil nil "lisp/progmodes/flymake.el" "https://git.savannah.gnu.org/cgit/emacs.git" "https://www.gnu.org/software/emacs" nil "https://emacswiki.org/FlyMake" "GPL-3+" "2018" nil "A universal on-the-fly syntax checker" "Flymake is a minor Emacs mode performing on-the-fly syntax checks.\n\nFlymake collects diagnostic information for multiple sources,\ncalled backends, and visually annotates the relevant portions in\nthe buffer.\n\nThis file contains the UI for displaying and interacting with the\nresults produced by these backends, as well as entry points for\nbackends to hook on to.\n\nThe main entry points are `flymake-mode' and `flymake-start'\n\nThe docstrings of these variables are relevant to understanding how\nFlymake works for both the user and the backend programmer:\n\n* `flymake-diagnostic-functions'\n* `flymake-diagnostic-types-alist'\n" unbound unbound unbound unbound unbound unbound unbound unbound unbound nil nil nil) t)

....

This is on GNU Emacs 26.1

lib/closql                  master                    v1.0.0
lib/emacsql                 master                     3.0.0-3-g60b9976
lib/epkg                    master                    v3.2.0

Ideas?

Do you still get that error after updating the epkgs repository?

bwolf commented

Yes I do. For other packages like borg it works.

bwolf commented

Should I try to reproduce it in a minimal environment?

Please try again, I think I had not pushed the relevant commits to epkgs yet.

bwolf commented

Now it works nicely. Thank you so much for making this possible. I'm now able to remove my own Flymake elpa mirror, keeping my configuration smooth and simple.

You are welcome!