New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors while deleting packages via counsel-package #970

Closed
seagle0128 opened this Issue Apr 23, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@seagle0128
Contributor

seagle0128 commented Apr 23, 2017

macOS 10.12.4
GNU Emacs 25.2
Ivy 0.9.1

While I use counsel-package to delete a package, I got the error message.

  1. M-x counsel-package
  2. Input ^-nlinum
  3. RET
Debugger entered--Lisp error: (wrong-type-argument arrayp nlinum)
  package-delete(nlinum)
  counsel-package-action((#("-nlinum" 0 1 (idx 3651)) nlinum [cl-struct-package-desc nlinum (1 6) "Show line numbers in the margin" nil single "gnu" nil ((:url . "http://elpa.gnu.org/packages/nlinum.html") (:keywords "convenience")) nil]))
  ivy-call()
  ivy-read("Packages (install +pkg or delete -pkg): " ((#("+0blayout" 0 1 (idx 0)) 0blayout [cl-struct-package-desc 0blayout (20161007 2307) "Layout grouping with ease" nil single "melpa" nil ((:url . "https://github.com/etu/0blayout") (:keywords "convenience" "window-management")) nil]) (#("+0xc" 0 1 (idx 1)) 0xc [cl-struct-package-desc 0xc (20170125 1953) "Base conversion made easy" ((emacs (24 4)) (s (1 11 0))) single "melpa" nil ((:url . "http://github.com/AdamNiederer/0xc") (:keywords "base" "conversion")) nil]) (#("+2048-game" 0 1 (idx 2)) 2048-game [cl-struct-package-desc 2048-game (20151026 1233) "play 2048 in Emacs" nil single "melpa" nil ((:url . "https://bitbucket.org/zck/2048.el")) nil]) (#("+4clojure" 0 1 (idx 3)) 4clojure [cl-struct-package-desc 4clojure (20131014 1507) "Open and evaluate 4clojure.com questions" ((json (1 2)) (request (0 2 0))) single "melpa" nil ((:keywords "languages" "data")) nil]) (#("+@" 0 1 (idx 4)) @ [cl-struct-package-desc @ (20140707 520) "multiple-inheritance prototype-based objects DSL" ((queue (0 1)) (emacs (24))) tar "melpa" nil ((:url . "https://github.com/skeeto/at-el")) nil]) (#("+aa-edit-mode" 0 1 (idx 5)) aa-edit-mode [cl-struct-package-desc aa-edit-mode (20170118 1920) "Major mode for editing AA(S_JIS Art) and .mlt file" ((emacs (24 3)) (navi2ch (2 0 0))) single "melpa" nil ((:keywords "wp" "text" "shiftjis" "mlt" "yaruo")) nil]) (#("+abc-mode" 0 1 (idx 6)) abc-mode [cl-struct-package-desc abc-mode (20140225 944) "Major mode for editing abc music files" nil single "melpa" nil ((:keywords "local" "docs")) nil]) (#("+abl-mode" 0 1 (idx 7)) abl-mode [cl-struct-package-desc abl-mode (20170309 117) "Python TDD minor mode" nil single "melpa" nil ((:url . "http://github.com/afroisalreadyinu/abl-mode")) nil]) (#("+abyss-theme" 0 1 (idx 8)) abyss-theme [cl-struct-package-desc abyss-theme (20160420 512) "A dark theme with contrasting colours." ((emacs (24))) single "melpa" nil ((:url . "https://github.com/mgrbyte/emacs-abyss-theme") (:keywords "theme" "dark" "contrasting colours")) nil]) (#("+ac-alchemist" 0 1 (idx 9)) ac-alchemist [cl-struct-package-desc ac-alchemist (20150907 2356) "auto-complete source for alchemist" ((auto-complete (1 5 0)) (alchemist (1 5 0)) (cl-lib (0 5))) single "melpa" nil ((:url . "https://github.com/syohex/emacs-ac-alchemist")) nil]) (#("+ac-anaconda" 0 1 (idx 10)) ac-anaconda [cl-struct-package-desc ac-anaconda (20160221 1123) "Anaconda sources for auto-complete-mode" ((auto-complete (1 4 0)) (anaconda-mode (0 1 1)) (dash (2 6 0))) single "melpa" nil ((:url . "https://github.com/proofit404/ac-anaconda")) nil]) (#("+ac-c-headers" 0 1 (idx 11)) ac-c-headers [cl-struct-package-desc ac-c-headers (20151021 134) "auto-complete source for C headers" ((auto-complete (1 3 1))) single "melpa" nil ((:url . "http://hins11.yu-yake.com/")) nil]) (#("+ac-cake" 0 1 (idx 12)) ac-cake [cl-struct-package-desc ac-cake (20140315 929) "CakePHP Minor Mode auto-complete.el source" ((cake (1 4 2)) (auto-complete (1 4 0))) single "melpa" nil ((:url . "http://code.101000lab.org")) nil]) (#("+ac-cake2" 0 1 (idx 13)) ac-cake2 [cl-struct-package-desc ac-cake2 (20140320 8) "CakePHP 2 Minor Mode auto-complete.el source" ((cake2 (1 1 2)) (auto-complete (1 4 0))) single "melpa" nil ((:url . "http://code.101000lab.org")) nil]) (#("+ac-capf" 0 1 (idx 14)) ac-capf [cl-struct-package-desc ac-capf (20151031 1917) "auto-complete source with completion-at-point" ((auto-complete (1 4)) (cl-lib (0 5))) single "melpa" nil ((:url . "https://github.com/syohex/emacs-ac-capf")) nil]) (#("+ac-cider" 0 1 (idx 15)) ac-cider [cl-struct-package-desc ac-cider (20161006 19) "Clojure auto-complete sources using CIDER" ((cider (0 8 0)) (auto-complete (1 4)) (cl-lib (0 3))) single "melpa" nil ((:url . "https://github.com/clojure-emacs/ac-cider") (:keywords "languages" "clojure" "nrepl" "cider" "compliment")) nil]) (#("+ac-clang" 0 1 (idx 16)) ac-clang [cl-struct-package-desc ac-clang (20170330 1108) "Auto Completion source by libclang for GNU Emacs" ((emacs (24)) (cl-lib (0 5)) (auto-complete (1 4 0)) (pos-tip (0 4 6)) (yasnippet (0 8 0))) tar "melpa" nil ((:url . "https://github.com/yaruopooner/ac-clang") (:keywords "completion" "convenience" "intellisense")) nil]) (#("+ac-dabbrev" 0 1 (idx 17)) ac-dabbrev [cl-struct-package-desc ac-dabbrev (20130905 2218) "auto-complete.el source for dabbrev" nil single "melpa" nil nil nil]) (#("+ac-dcd" 0 1 (idx 18)) ac-dcd [cl-struct-package-desc ac-dcd (20170323 601) "Auto Completion source for dcd for GNU Emacs" ((auto-complete (1 3 1)) (flycheck-dmd-dub (0 7))) single "melpa" nil ((:url . "http://github.com/atilaneves/ac-dcd") (:keywords "languages")) nil]) (#("+ac-emacs-eclim" 0 1 (idx 19)) ac-emacs-eclim [cl-struct-package-desc ac-emacs-eclim (20170104 743) "auto-complete source for eclim" ((eclim (0 3)) (auto-complete (1 5))) single "melpa" nil nil nil]) (#("+ac-emmet" 0 1 (idx 20)) ac-emmet [cl-struct-package-desc ac-emmet (20131015 858) "auto-complete sources for emmet-mode's snippets" ((emmet-mode (1 0 2)) (auto-complete (1 4))) single "melpa" nil ((:url . "https://github.com/yasuyk/ac-emmet") (:keywords "completion" "convenience" "emmet")) nil]) (#("+ac-emoji" 0 1 (idx 21)) ac-emoji [cl-struct-package-desc ac-emoji (20150823 11) "auto-complete source of Emoji" ((auto-complete (1 5 0)) (cl-lib (0 5))) tar "melpa" nil ((:url . "https://github.com/syohex/emacs-ac-emoji")) nil]) (#("+ac-etags" 0 1 (idx 22)) ac-etags [cl-struct-package-desc ac-etags (20161001 807) "etags/ctags completion source for auto-complete" ((auto-complete (1 4))) single "melpa" nil ((:url . "https://github.com/syohex/emacs-ac-etags")) nil]) (#("+ac-geiser" 0 1 (idx 23)) ac-geiser [cl-struct-package-desc ac-geiser (20130928 2347) "Auto-complete backend for geiser" ((geiser (0 5)) (auto-complete (1 4))) tar "melpa" nil nil nil]) (#("+ac-haskell-process" 0 1 (idx 24)) ac-haskell-process [cl-struct-package-desc ac-haskell-process (20150423 702) "Haskell auto-complete source which uses the current haskell process" ((auto-complete (1 4)) (haskell-mode (13))) single "melpa" nil ((:keywords "languages")) nil]) (#("+ac-helm" 0 1 (idx 25)) ac-helm [cl-struct-package-desc ac-helm (20160318 1933) "Helm interface for auto-complete" ((helm (1 6 3)) (auto-complete (1 4 0)) (popup (0 5 0)) (cl-lib (0 5))) single "melpa" nil ((:keywords "completion" "convenience" "helm")) nil]) (#("+ac-html" 0 1 (idx 26)) ac-html [cl-struct-package-desc ac-html (20151005 31) "auto complete source for html tags and attributes" ((auto-complete (1 4)) (s (1 9)) (f (0 17)) (dash (2 10))) tar "melpa" nil ((:url . "https://github.com/cheunghy/ac-html") (:keywords "html" "auto-complete" "slim" "haml" "jade")) nil]) (#("+ac-html-angular" 0 1 (idx 27)) ac-html-angular [cl-struct-package-desc ac-html-angular (20151224 2319) "auto complete angular15 data for `ac-html' and `company-web'" ((web-completion-data (0 1))) tar "melpa" nil ((:url . "https://github.com/osv/ac-html-bootstrap") (:keywords "html" "auto-complete" "angular")) nil]) (#("+ac-html-bootstrap" 0 1 (idx 28)) ac-html-bootstrap [cl-struct-package-desc ac-html-bootstrap (20160302 901) "auto complete bootstrap3/fontawesome classes for `ac-html' and `company-web'" ((web-completion-data (0 1))) tar "melpa" nil ((:url . "https://github.com/osv/ac-html-bootstrap") (:keywords "html" "auto-complete" "bootstrap" "cssx")) nil]) (#("+ac-html-csswatcher" 0 1 (idx 29)) ac-html-csswatcher [cl-struct-package-desc ac-html-csswatcher (20151208 1313) "css/less class/id completion with `ac-html' or `company-web'" ((web-completion-data (0 1))) single "melpa" nil ((:url . "https://github.com/osv/ac-html-csswatcher") (:keywords "html" "css" "less" "auto-complete")) nil]) (#("+ac-inf-ruby" 0 1 (idx 30)) ac-inf-ruby [cl-struct-package-desc ac-inf-ruby (20131115 350) "Enable auto-complete in inf-ruby sessions" ((inf-ruby (2 3 2)) (auto-complete (1 4))) single "melpa" nil ((:keywords "languages" "tools")) nil]) (#("+ac-ispell" 0 1 (idx 31)) ac-ispell [cl-struct-package-desc ac-ispell (20151031 1926) "ispell completion source for auto-complete" ((auto-complete (1 4)) (cl-lib (0 5))) single "melpa" nil ((:url . "https://github.com/syohex/emacs-ac-ispell")) nil]) (#("+ac-js2" 0 1 (idx 32)) ac-js2 [cl-struct-package-desc ac-js2 (20140906 442) "Auto-complete source for Js2-mode, with navigation" ((js2-mode (20090723)) (skewer-mode (1 4))) tar "melpa" nil ((:url . "https://github.com/ScottyB/ac-js2")) nil]) (#("+ac-math" 0 1 (idx 33)) ac-math [cl-struct-package-desc ac-math (20141116 1327) "Auto-complete sources for input of mathematical symbols and latex tags" ((auto-complete (1 4)) (math-symbol-lists (1 0))) single "melpa" nil ((:url . "https://github.com/vitoshka/ac-math") (:keywords "latex" "auto-complete" "unicode" "symbols")) nil]) (#("+ac-mozc" 0 1 (idx 34)) ac-mozc [cl-struct-package-desc ac-mozc (20150227 819) "auto-complete sources for Japanese input using Mozc" ((cl-lib (0 5)) (auto-complete (1 4)) (mozc (0))) single "melpa" nil ((:url . "https://github.com/igjit/ac-mozc")) nil]) (#("+ac-octave" 0 1 (idx 35)) ac-octave [cl-struct-package-desc ac-octave (20170220 1728) "An auto-complete source for Octave" ((auto-complete (1 4 0))) single "melpa" nil ((:url . "https://github.com/coldnew/ac-octave") (:keywords "octave" "auto-complete" "completion")) nil]) (#("+ac-php" 0 1 (idx 36)) ac-php [cl-struct-package-desc ac-php (20170110 2036) "auto-completion source for php" ((ac-php-core (1)) (auto-complete (1 4 0)) (yasnippet (0 8 0))) single "melpa" nil ((:url . "https://github.com/xcwen/ac-php") (:keywords "completion" "convenience" "intellisense")) nil]) (#("+ac-php-core" 0 1 (idx 37)) ac-php-core [cl-struct-package-desc ac-php-core (20170327 542) "gen tags for php" ((emacs (24)) (dash (1)) (php-mode (1)) (xcscope (1)) (s (1)) (f (0 17 0)) (popup (0 5 0))) tar "melpa" nil ((:url . "https://github.com/xcwen/ac-php") (:keywords "completion" "convenience" "intellisense")) nil]) (#("+ac-racer" 0 1 (idx 38)) ac-racer [cl-struct-package-desc ac-racer (20170114 9) "auto-complete source of racer" ((emacs (24 3)) (auto-complete (1 5 0)) (racer (0 0 2))) single "melpa" nil ((:url . "https://github.com/syohex/emacs-ac-racer")) nil]) (#("+ac-rtags" 0 1 (idx 39)) ac-rtags [cl-struct-package-desc ac-rtags (20170402 653) "auto-complete back-end for RTags" ((auto-complete (1 4 0)) (rtags (2 9))) single "melpa" nil ((:url . "http://rtags.net")) nil]) (#("+ac-skk" 0 1 (idx 40)) ac-skk [cl-struct-package-desc ac-skk (20141229 1719) "auto-complete-mode source for DDSKK a.k.a Japanese input method" ((auto-complete (1 3 1)) (ddskk (16 0 50)) (tinysegmenter (0)) (cl-lib (0 5))) single "melpa" nil ((:url . "https://github.com/myuhe/ac-skk.el") (:keywords "convenience" "auto-complete")) nil]) (#("+ac-slime" 0 1 (idx 41)) ac-slime [cl-struct-package-desc ac-slime (20150729 2035) "An auto-complete source using slime completions" ((auto-complete (1 4)) (slime (2 9)) (cl-lib (0 5))) single "melpa" nil ((:url . "https://github.com/purcell/ac-slime")) nil]) (#("+ac-sly" 0 1 (idx 42)) ac-sly [cl-struct-package-desc ac-sly (20150421 1322) "An auto-complete source using sly completions" ((sly (1 0 0 -3)) (auto-complete (1 4)) (cl-lib (0 5))) single "melpa" nil ((:url . "https://github.com/qoocku/ac-sly")) nil]) (#("+ace-flyspell" 0 1 (idx 43)) ace-flyspell [cl-struct-package-desc ace-flyspell (20170308 2109) "Jump to and correct spelling errors using `ace-jump-mode' and flyspell" ((avy (0 4 0))) single "melpa" nil ((:url . "https://github.com/cute-jumper/ace-flyspell") (:keywords "extensions")) nil]) (#("+ace-isearch" 0 1 (idx 44)) ace-isearch [cl-struct-package-desc ace-isearch (20161107 1730) "A seamless bridge between isearch, ace-jump-mode, avy and helm-swoop" ((ace-jump-mode (2 0)) (avy (0 3)) (helm-swoop (1 4)) (emacs (24))) single "melpa" nil ((:url . "https://github.com/tam17aki/ace-isearch")) nil]) (#("+ace-jump-buffer" 0 1 (idx 45)) ace-jump-buffer [cl-struct-package-desc ace-jump-buffer (20160229 1458) "fast buffer switching extension to `avy'" ((avy (0 4 0)) (dash (2 4 0))) single "melpa" nil ((:url . "https://github.com/waymondo/ace-jump-buffer")) nil]) (#("+ace-jump-helm-line" 0 1 (idx 46)) ace-jump-helm-line [cl-struct-package-desc ace-jump-helm-line (20160918 1136) "Ace-jump to a candidate in helm window" ((avy (0 4 0)) (helm (1 6 3))) single "melpa" nil ((:url . "https://github.com/cute-jumper/ace-jump-helm-line") (:keywords "extensions")) nil]) (#("+ace-jump-zap" 0 1 (idx 47)) ace-jump-zap [cl-struct-package-desc ace-jump-zap (20150330 1342) "Character zapping, `ace-jump-mode` style" ((ace-jump-mode (1 0)) (dash (2 10 0))) single "melpa" nil ((:url . "https://github.com/waymondo/ace-jump-zap") (:keywords "convenience" "tools" "extensions")) nil]) (#("+ace-mc" 0 1 (idx 48)) ace-mc [cl-struct-package-desc ace-mc (20160408 1737) "Add multiple cursors quickly using ace jump" ((ace-jump-mode (1 0)) (multiple-cursors (1 0)) (dash (2 10 0))) single "melpa" nil ((:url . "https://github.com/mm--/ace-mc") (:keywords "motion" "location" "cursor")) nil]) (#("+ace-popup-menu" 0 1 (idx 49)) ace-popup-menu [cl-struct-package-desc ace-popup-menu (20161231 1553) "Replace GUI popup menu with something more efficient" ((emacs (24 3)) (avy-menu (0 1))) single "melpa" nil ((:url . "https://github.com/mrkkrp/ace-popup-menu") (:keywords "convenience" "popup" "menu")) nil]) ...) :action counsel-package-action :initial-input "^+ " :require-match t :caller counsel-package)
  counsel-package()
  funcall-interactively(counsel-package)
  call-interactively(counsel-package record nil)
  command-execute(counsel-package record)
  #[257 "\304\305!\203\f
\306\307�!!\210��\307�!\211��\310\307�!\311\")\207" [current-prefix-arg prefix-arg this-command real-this-command featurep smex smex-rank intern command-execute record] 4 "\n\n(fn CMD)"]("counsel-package")
  ivy-call()
  ivy-read("M-x " ("toggle-debug-on-error" "package-delete" "global-linum-mode" "global-nlinum-mode" "list-packages" "dired-k" "emacs-init-time" "benchmark-init/show-durations-tabulated" "try" "fzf" "save-buffers-kill-emacs" "auto-package-update-now" "eshell" "load-library" "bmkp-set-lighting-for-bookmark" "ag" "flyspell-mode" "recode-region" "projectile-mode" "package-autoremove" "byte-compile-init-dir" "bmkp-toggle-auto-light-when-set" "global-diff-hl-mode" "diff-hl-amend-mode" "benchmark-init/show-durations-tree" "svn-status" "ripgrep-regexp" "bmkp-light-bookmarks" "flymd-flyit" "esup" "ivy-mode" "discover-my-major" "ack" "gfm-mode" "open-junk-file" "projectile-ripgrep" "quickrun" "diff-hl-mode" "git-timemachine" "discover-my-mode" "diff-hl-margin-mode" "diff-hl-flydiff-mode" "paradox-upgrade-packages" "revert-buffer-with-coding-system" "term" "bar-browse" "sort-lines" "ztree-diff" "eval-region" "emacs-uptime" ...) :predicate nil :require-match t :history extended-command-history :action #[257 "\304\305!\203\f
\306\307�!!\210��\307�!\211��\310\307�!\311\")\207" [current-prefix-arg prefix-arg this-command real-this-command featurep smex smex-rank intern command-execute record] 4 "\n\n(fn CMD)"] :sort nil :keymap (keymap (67108908 . counsel--info-lookup-symbol) (67108910 . counsel-find-symbol)) :initial-input "^" :caller counsel-M-x)
  counsel-M-x()
  funcall-interactively(counsel-M-x)
  call-interactively(counsel-M-x nil nil)
  command-execute(counsel-M-x)

@abo-abo abo-abo closed this in dfa3bc5 Apr 23, 2017

@abo-abo

This comment has been minimized.

Owner

abo-abo commented Apr 23, 2017

Thanks, please test.

@seagle0128

This comment has been minimized.

Contributor

seagle0128 commented Apr 23, 2017

Sure. Already test locally. It works well. Waiting for the melpa updating.
Thanks for the quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment