Skip to content

Unexpected runtime error running doom cli ((stringp afternoon-theme)) #6960

@neolee

Description

@neolee

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 or 28. (Doom does not support development builds like 29+ or any version ending in .50 or .9x)

Expected behavior

Running doom sync doom upgrade etc. without error.

Current behavior

When running doom cli some unexpected runtime error occurs:

x There was an unexpected runtime error
  Message: Wrong type argument
  Details: (stringp afternoon-theme)
  Backtrace:
    (intern afternoon-theme)
    ((closure ((package . gnu-elpa-mirror) use-package-pre-ensure-function u...
    (cl--position gnu-elpa-mirror ((afternoon-theme :url "https://github.com...
    (cl-position gnu-elpa-mirror ((afternoon-theme :url "https://github.com/...
    (cl-find gnu-elpa-mirror ((afternoon-theme :url "https://github.com/osen...
    (straight-recipes-nongnu-elpa--translate (cl-find package (straight-reci...
    (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)...
    (let* ((--cl-rest-- recipe) (local-repo (car (cdr (plist-member --cl-res...
    (let ((recipe (straight--convert-recipe name cause))) (let* ((--cl-rest-...
    (let ((straight--recipe-repository-stack (cons name straight--recipe-rep...
  ! Wrote extended backtrace to ~/.emacs.d/.local/logs/cli.doom.221125120618.19303.error
✓ Finished in 0.22100s

cli.doom.221125123224.19611.error.txt

Steps to reproduce

Running doom sync or doom upgrade or doom doctor.

System Information

https://gist.github.com/neolee/d9743798ab05e6165448aefb141c8dc2

Metadata

Metadata

Assignees

No one assigned

    Labels

    is:bugSomething isn't working as intendedmodule:core:cliPertains to the `$ doom` scriptre:packagesPertains to package & dependency managementworkaroundContains a workaround, but no acceptable or final solution (yet)

    Type

    No type

    Projects

    Status

    Resolved

    Status

    Resolved

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions