Skip to content
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

doom doctor fails #7857

Open
4 tasks done
seokbeomKim opened this issue May 5, 2024 · 0 comments
Open
4 tasks done

doom doctor fails #7857

seokbeomKim opened this issue May 5, 2024 · 0 comments
Labels
is:bug Something isn't working as intended needs-triage Issue hasn't been assessed yet

Comments

@seokbeomKim
Copy link
Contributor

seokbeomKim commented May 5, 2024

I confirm that...

  • I have searched the issue tracker, documentation, FAQ, Discourse, and Google, in case this issue has already been reported/resolved.

  • I have read "How to Debug Issues", and will use it to provide as much information about this issue as possible.

  • The issue can be reproduced on the latest available commit of Doom.

  • The issue can be reproduced on a stable release of Emacs, such as 27, 28, or 29. (Unstable versions end in .50, .60, or .9x)

Expected behavior

doom doctor must be done without any errors.

Current behavior

When I do doom doctor, it fails from (straight--modifications find-at-startup).

$ doom doctor
The doctor will see you now...

> Checking your Emacs version...
> Checking for Doom's prerequisites...
> Checking for Emacs config conflicts...
> Checking for missing Emacs features...
> Checking for private config conflicts...
> Checking for common environmental issues...
> Checking for stale elc files...
> Checking for problematic git global settings...
> Checking Doom Emacs...
  x There was an unexpected runtime error
    Message: Wrong type argument
    Details: (listp t)
    Backtrace:
      (memq find-at-startup t)
      (straight--modifications find-at-startup)
      (or (straight--modifications 'find-at-startup) (and (straight--modifications 'find-when-checking) straight--allow-find))
      (if (or (straight--modifications 'find-at-startup) (and (straight--modifications 'find-when-checking) straight--allow-find)) nil (throw '--cl-block-straight--package-might-...
      (progn (if local-repo nil (throw '--cl-block-straight--package-might-be-modified-p-- nil)) (if (or (straight--modifications 'find-at-startup) (and (straight--modifications ...
      (or (null build-info) (catch '--cl-block-nil-- (let ((tail straight--build-keywords)) (while tail (let ((keyword (car tail))) (if (equal (plist-get recipe keyword) (plist-g...
      (let* ((--cl-rest-- recipe) (package (car (cdr (plist-member --cl-rest-- ':package)))) (local-repo (car (cdr (plist-member --cl-rest-- ':local-repo)))) (build-info (gethash...
      (catch '--cl-block-straight--package-might-be-modified-p-- (let* ((--cl-rest-- recipe) (package (car (cdr (plist-member --cl-rest-- ':package)))) (local-repo (car (cdr (pli...
      (straight--package-might-be-modified-p (:type git :host github :repo "melpa/melpa" :build nil :package "melpa" :local-repo "melpa") t)
      (or (and straight--packages-to-rebuild (or (eq straight--packages-to-rebuild :all) (gethash package straight--packages-to-rebuild)) (not (gethash package straight--packages...
      (let* ((no-build (or (null local-repo) (straight--build-disabled-p recipe) (if (let ((object no-build)) (and (not (memq object '(no-build t))) (functionp object))) (funcall...
      (let ((already-registered (gethash package straight--success-cache)) (available (or (null local-repo) (straight--repository-is-available-p recipe)))) (if (if (let ((object ...
    ! Wrote extended backtrace to ~/.config/emacs/.local/state/logs/cli.doom.240505114203.18982.error

And, here's the backtrace:

Steps to reproduce

  1. doom doctor
  2. Error from (memq find-at-startup)

System Information

https://gist.github.com/seokbeomKim/78c699efb0ffef03547eb66c1c37e24e

@seokbeomKim seokbeomKim added is:bug Something isn't working as intended needs-triage Issue hasn't been assessed yet labels May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:bug Something isn't working as intended needs-triage Issue hasn't been assessed yet
Projects
Status: No status
Development

No branches or pull requests

1 participant