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

Error Installation #44

Open
n2ng-dev opened this issue Feb 26, 2023 · 4 comments
Open

Error Installation #44

n2ng-dev opened this issue Feb 26, 2023 · 4 comments
Labels
invalid This doesn't seem right

Comments

@n2ng-dev
Copy link

Error Installation, its look likes file .config/doom/setup.sh not found

Screenshot 2023-02-27 at 03 20 06
Screenshot 2023-02-27 at 03 22 19

thanks

@donneyluck
Copy link

donneyluck commented Mar 23, 2023

.config/doom/setup.sh not found

you can run command

emacs --batch --eval "(progn (require 'org) (setq org-confirm-babel-evaluate nil) (org-babel-tangle-file "~/.config/doom/config.org"))"

@tecosaur
Copy link
Owner

I'll also note that this config is not made to be installed by others. There's a disclaimer for a reason.

@tecosaur tecosaur added the invalid This doesn't seem right label Mar 23, 2023
@s-a-c
Copy link

s-a-c commented Apr 15, 2023

I understand and accept the disclaimer, so there's no obligation :)
However, FYI

  1. The quotes around the file name need escaping.
  2. even so, I receive an error about not finding "org-id-location"
    I include a link to a gist of the error output --> https://gist.github.com/s-a-c/e3060341f849f4683aa435ae5755f5b4

Below is an excerpt:

emacs --batch --eval "(progn (require 'org) (setq org-confirm-babel-evaluate nil) (org-babel-tangle-file \"~/.config/doom/config.org\"))"

Could not read ‘org-id-values’ from ~/.emacs.d/.org-id-locations, setting it to nil executing Emacs-Lisp code block (org-pkg-statement)... (package! org :recipe (:host nil :repo "https://git.tecosaur.net/mirrors/org-mode.git" :remote "mirror" :fork (:host nil :repo "https://git.tecosaur.net/tec/org-mode.git" :branch "dev" :remote "tecosaur") :files (:defaults "etc") :build t :pre-build (with-temp-file "org-version.el" (require 'lisp-mnt) (let ((version (with-temp-buffer (insert-file-contents "lisp/org.el") (lm-header "version"))) (git-version (string-trim (with-temp-buffer (call-process "git" nil t nil "rev-parse" "--short" "HEAD") (buffer-string))))) (insert (format "(defun org-release () \"The release version of Org.\" %S)\n" version) (format "(defun org-git-version () \"The truncate git commit hash of Org mode.\" %S)\n" git-version) "(provide 'org-version)\n")))) :pin nil) ... ... executing Emacs-Lisp code block (confpkg-prepare)... Intitialising confpkg Debugger entered--Lisp error: (void-function org-fold-core-ignore-fragility-checks) (org-fold-core-ignore-fragility-checks (org-babel-map-executables nil (when (eq (org-element-type (org-element-context)) 'babel-call) (org-babel-lob-execute-maybe)))) ... org-babel-execute-src-block(nil nil ((:results . "silent"))) org-babel-ref-resolve("confpkg-prepare()") #f(compiled-function (m) #<bytecode 0xb61953ac8b72b29>)("<<confpkg-prepare()>>") replace-regexp-in-string("\\(.*?\\)\\(<<\\([^ \11\n]\\(?:.*?[^ \11\n]\\)?\\)>>\\)" #f(compiled-function (m) #<bytecode 0xb61953ac8b72b29>) "<<confpkg-prepare()>>" t t 2) org-babel-expand-noweb-references(("emacs-lisp" "<<confpkg-prepare()>>" ((:colname-names) (:rowname-names) (:result-params "silent") (:result-type . value) (:results . "silent") (:exports . "code") (:tangle . "/tmp/emacs-org-babel-excuses/confpkg-prepare-EQuk4...") (:export-embed . "no") (:mkdirp . "yes") (:noweb . "no-export") (:eval . "no-export") (:lexical . "no") (:hlines . "no") (:cache . "no") (:session . "none")) "" nil 20255 "(ref:%s)")) org-babel-tangle-single-block(2) org-babel-tangle-collect-blocks(nil nil) org-babel-tangle(nil nil nil) org-babel-tangle-file("~/.config/doom/config.org") (progn (require 'org) (setq org-confirm-babel-evaluate nil) (org-babel-tangle-file "~/.config/doom/config.org")) command-line-1(("--eval" "(progn (require 'org) (setq org-confirm-babel-eval...")) command-line() normal-top-level()

@ingtshan
Copy link

ingtshan commented Aug 4, 2023

@n2ng-dev Seems you skip echo "(doom! :config literate)" > ~/.config/doom/init.el step or didn't trigger tangling literate config well. Solution is redo this step and execute ~/.emacs.d/bin/doom sync after. Then you will get your setup.sh file.

@s-a-c You should tangle literate config within doom envrionment, solution is same above.

Hope it can help you guys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

5 participants