emacs-eldev / eldev

Elisp development tool
https://emacs-eldev.github.io/eldev/
GNU General Public License v3.0
229 stars 17 forks source link

Symbol’s function definition is void: uninstallable #49

Closed Trevoke closed 3 years ago

Trevoke commented 3 years ago

Hi! Thanks for the work on this project. I need your help figuring out what's wrong with my setup on this box.

I am using eldev 0.9.2 .

I was working on my laptop, where this project and eldev 0.9.2 work fine, but on my desktop I run into this issue and I can't figure out why. For reference, this is the project: https://github.com/Trevoke/org-gtd.el/

When I run eldev -d test, I get the following:

Debugger entered--Lisp error: (void-function uninstallable)
  uninstallable(nil nil)
  eldev--install-or-upgrade-dependencies(project (test) nil nil t nil nil)
  eldev-load-project-dependencies(test)
  eldev-test()
  apply(eldev-test nil)
  eldev-cli(("-d" "test"))
  (kill-emacs (eldev-cli (append (cdr (member "--" command-line-args)) nil)))
  eval((kill-emacs (eldev-cli (append (cdr (member "--" command-line-args)) nil))) t)
  command-line-1(("--execute" "(let ((eldev--emacs-version (format \"%s.%s\" emacs-..." "--execute" "(kill-emacs (eldev-cli (append (cdr (member \"--\" c..." "--" "-d" "test"))
  command-line()
  normal-top-level()

This is what my Eldev file looks like:

; -*- mode: emacs-lisp; lexical-binding: t; no-byte-compile: t -*-

;; Autodetermined by `eldev init'.
(eldev-use-package-archive 'gnu)
(eldev-use-package-archive 'melpa)

(setq eldev-test-framework 'buttercup)

(eldev-add-extra-dependencies 'test 'with-simulated-input)
Trevoke commented 3 years ago

sigh never mind, I found the global eldev cache, cleared it, and this went away. Sorry about bothering you :)

doublep commented 3 years ago

No problem. It actually looks like the bug I fixed in the latest version, 0.9.2. Please have a look at the release notes and use the advice there. I guess you could run into problems using upgrade-self later otherwise.

Trevoke commented 3 years ago

Oh, OK. It's interesting because I upgraded from 0.7.2 to 0.9.2 on both computers and only ran into the issue on one of them, but it definitely looks like that was the bug... And I found the correct fix. Thanks!

On Fri, Sep 24, 2021 at 12:44 PM Paul Pogonyshev @.***> wrote:

No problem. It actually looks like the bug I fixed in the latest version, 0.9.2. Please have a look at the release notes https://github.com/doublep/eldev/releases/tag/0.9.2 and use the advice there. I guess you could run into problems using upgrade-self later otherwise.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/doublep/eldev/issues/49#issuecomment-926773856, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAQSSMCJB6TD52C6ZWBR6TUDSTHNANCNFSM5EU7PDMQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.