Skip to content

"doom sync" fails with unexpected runtime error #7539

@wilhelmy

Description

@wilhelmy

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 sync should byte-compile ~/.emacs.d as usual

Current behavior

doom sync fails with the following runtime error

$ ./.emacs.d/bin/doom sync 
x There was an unexpected runtime error
  Message: Wrong type argument
  Details: (stringp adoc-mode)
  Backtrace:
    (intern adoc-mode)
    ((closure ((package . gnu-elpa-mirror) use-package-pre-ensure-function use-package-keywords use-package-ensure-function use-pa...
    (cl--position gnu-elpa-mirror ((adoc-mode :url "https://github.com/bbatsov/adoc-mode") (afternoon-theme :url "https://github.c...
    (cl-position gnu-elpa-mirror ((adoc-mode :url "https://github.com/bbatsov/adoc-mode") (afternoon-theme :url "https://github.co...
    (apply cl-position gnu-elpa-mirror ((adoc-mode :url "https://github.com/bbatsov/adoc-mode") (afternoon-theme :url "https://git...
    (cl-find gnu-elpa-mirror ((adoc-mode :url "https://github.com/bbatsov/adoc-mode") (afternoon-theme :url "https://github.com/os...
    (straight-recipes-nongnu-elpa--translate (cl-find package (straight-recipes-nongnu-elpa--recipes) :key #'(lambda (it) (intern ...
    (straight-recipes-nongnu-elpa-retrieve gnu-elpa-mirror)
    (apply straight-recipes-nongnu-elpa-retrieve gnu-elpa-mirror)
    (let ((default-directory (if local-repo (straight--repos-dir local-repo) default-directory)) (func (intern (format "straight-r...
    (let* ((--cl-rest-- recipe) (local-repo (car (cdr (plist-member --cl-rest-- ':local-repo))))) (let ((default-directory (if loc...
    (let ((recipe (straight--convert-recipe name cause))) (let* ((--cl-rest-- recipe) (local-repo (car (cdr (plist-member --cl-res...
  ! Wrote extended backtrace to ~/.emacs.d/.local/state/logs/cli.doom.231110124247.348981.error
✓ Finished in 0.75764s

Furthermore, the string "adoc" does not occur in ~/.doom.d and I don't remember enabling it myself.

Steps to reproduce

Run "doom sync", watch it fail.

System Information

https://paste.xinu.at/LOWQB0/

Metadata

Metadata

Assignees

No one assigned

    Labels

    is:bugSomething isn't working as intendedmodule:coreRelevant to Doom coremodule:core:cliPertains to the `$ doom` scriptre:straightTo do with straight; our package managerwontfixThis will not be worked on

    Type

    No type

    Projects

    Status

    Closed

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions