Git Product home page Git Product logo

Comments (4)

yeongsheng-tan avatar yeongsheng-tan commented on June 10, 2024 1

doom upgrade in macOS Apple M2 Max on Sonoma 14.4.1 with GNU Emacs 29.3 throws error:

> Preparing to upgrade Doom Emacs and its packages...
- A new version of Doom Emacs is available!

    Old revision: 286be1b249 (6 days ago)
    New revision: 5f5a163c49 (26 hours ago)

Link to diff: https://github.com/doomemacs/doomemacs/compare/286be1b2496a3ffa2280a16a41f56babebea93f0...5f5a163c49207a7083ab1ecc9e78d268fd6600b8
View the comparison diff in your browser? (y or n) y
- Opened github in your browser.
Proceed with upgrade? (y or n) y
> Upgrading Doom Emacs...
  x There was an unexpected runtime error
    Message: Symbol's function definition is void
    Details: (doom-compile-clean)
    Backtrace:
      (doom-compile-clean)
      (let ((doom-print-level (or nil doom-print-level)) (doom-print-indent ...
      (progn (let ((doom-print-level (or nil doom-print-level)) (doom-print-...
      (if (not (or auto-accept-p (y-or-n-p "Proceed with upgrade?"))) (ignor...
      (cond ((and (null this-rev) (null new-rev)) (error "Failed to get revi...
      (let ((this-rev (cdr (sh! "git" "rev-parse" "HEAD"))) (new-rev (cdr (s...
      (let (result) (or (= 0 (car (sh! "git" "remote" "add" doom-upgrade-rem...
      (unwind-protect (let (result) (or (= 0 (car (sh! "git" "remote" "add" ...
      (let* ((branch (replace-regexp-in-string "^\\(?:[^/]+/[^/]+/\\)?\\(.+\...
      (let ((default-directory doom-emacs-dir) process-file-side-effects) (d...
      (doom-cli-upgrade #s(doom-cli-context (26120 65073 93880 0) 91953 0 (8...
      (cond (packages? (let ((recipe (doom-cli-context-get context 'straight...
    ! Wrote extended backtrace to ~/.config/emacs/.local/state/logs/cli.doom.240331140953.91953.error
  ✓ Finished in 51.83550s```

from doomemacs.

jn64 avatar jn64 commented on June 10, 2024 1

@yeongsheng-tan Please create a new issue and follow the template.

Correction, your issue looks like #7769. Try the suggested workaround.

from doomemacs.

rondDev avatar rondDev commented on June 10, 2024

Just wanted to add extra details to this. As far as I can tell from my testing in the Doom Sandbox (vanilla emacs, without doom core), I could replicate the error with the following

(require 'lsp-mode)

So it does seem like an upstream issue. Issue persists on the last commit on lsp-mode

from doomemacs.

yeongsheng-tan avatar yeongsheng-tan commented on June 10, 2024

Confirmed that it is exact issue as #7769. This solution works.
doom upgrade in macOS Apple M2 Max on Sonoma 14.4.1 with GNU Emacs 29.3 throws error:

> Preparing to upgrade Doom Emacs and its packages...
- A new version of Doom Emacs is available!

    Old revision: 286be1b249 (6 days ago)
    New revision: 5f5a163c49 (26 hours ago)

Link to diff: https://github.com/doomemacs/doomemacs/compare/286be1b2496a3ffa2280a16a41f56babebea93f0...5f5a163c49207a7083ab1ecc9e78d268fd6600b8
View the comparison diff in your browser? (y or n) y
- Opened github in your browser.
Proceed with upgrade? (y or n) y
> Upgrading Doom Emacs...
  x There was an unexpected runtime error
    Message: Symbol's function definition is void
    Details: (doom-compile-clean)
    Backtrace:
      (doom-compile-clean)
      (let ((doom-print-level (or nil doom-print-level)) (doom-print-indent ...
      (progn (let ((doom-print-level (or nil doom-print-level)) (doom-print-...
      (if (not (or auto-accept-p (y-or-n-p "Proceed with upgrade?"))) (ignor...
      (cond ((and (null this-rev) (null new-rev)) (error "Failed to get revi...
      (let ((this-rev (cdr (sh! "git" "rev-parse" "HEAD"))) (new-rev (cdr (s...
      (let (result) (or (= 0 (car (sh! "git" "remote" "add" doom-upgrade-rem...
      (unwind-protect (let (result) (or (= 0 (car (sh! "git" "remote" "add" ...
      (let* ((branch (replace-regexp-in-string "^\\(?:[^/]+/[^/]+/\\)?\\(.+\...
      (let ((default-directory doom-emacs-dir) process-file-side-effects) (d...
      (doom-cli-upgrade #s(doom-cli-context (26120 65073 93880 0) 91953 0 (8...
      (cond (packages? (let ((recipe (doom-cli-context-get context 'straight...
    ! Wrote extended backtrace to ~/.config/emacs/.local/state/logs/cli.doom.240331140953.91953.error
  ✓ Finished in 51.83550s```

> @yeongsheng-tan ~Please [create a new issue](https://github.com/doomemacs/doomemacs/issues/new/choose) and follow the template.~
> 
> Correction, your issue looks like #7769. [Try the suggested workaround.](https://github.com/doomemacs/doomemacs/issues/7769#issuecomment-2023328842)


Thank you so very much @jn64 . Confirmed my problem is fixed by [the suggested workaround](https://github.com/doomemacs/doomemacs/issues/7769#issuecomment-2023328842).

from doomemacs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.