8000 Resource temporarily unavailable on Windows · Issue #77 · meedstrom/org-node · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Resource temporarily unavailable on Windows #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its m 10000 aintainers 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

Open
fleimgruber opened this issue Dec 9, 2024 · 11 comments
Open

Resource temporarily unavailable on Windows #77

fleimgruber opened this issue Dec 9, 2024 · 11 comments
Labels
needs-reproduction Something isn't working

Comments

@fleimgruber
Copy link

After upgrade today, on opening an Org mode buffer I see the backtrace below. I realize this might be related to my setup similar to #75. Just putting it out as another data point for Windows compatibility.

Debugger entered--Lisp error: (file-error "Spawning child process" "Resource temporarily unavailable")
  #<subr make-process>(:name "el-job:org-node:8" :noquery t :connection-type pipe :coding utf-8-emacs-unix :stderr #<buffer  *el-job-org-node:err*> :buffer #<buffer  *el-job-org-node:8*> :command ("c:/Users/LeimgruberF/opt/emacs-29.4/bin/emacs" "--quick" "--batch" "--load" "c:/Users/LeimgruberF/.config/emacs/.local/cache/el..." "--eval" "(el-job-child--work #'org-node-parser--collect-dan...") :sentinel ignore)
  apply(#<subr make-process> (:name "el-job:org-node:8" :noquery t :connection-type pipe :coding utf-8-emacs-unix :stderr #<buffer  *el-job-org-node:err*> :buffer #<buffer  *el-job-org-node:8*> :command ("c:/Users/LeimgruberF/opt/emacs-29.4/bin/emacs" "--quick" "--batch" "--load" "c:/Users/LeimgruberF/.config/emacs/.local/cache/el..." "--eval" "(el-job-child--work #'org-node-parser--collect-dan...") :sentinel ignore))
  make-process@with-editor-process-filter(#<subr make-process> :name "el-job:org-node:8" :noquery t :connection-type pipe :coding utf-8-emacs-unix :stderr #<buffer  *el-job-org-node:err*> :buffer #<buffer  *el-job-org-node:8*> :command ("c:/Users/LeimgruberF/opt/emacs-29.4/bin/emacs" "--quick" "--batch" "--load" "c:/Users/LeimgruberF/.config/emacs/.local/cache/el..." "--eval" "(el-job-child--work #'org-node-parser--collect-dan...") :sentinel ignore)
  apply(make-process@with-editor-process-filter #<subr make-process> (:name "el-job:org-node:8" :noquery t :connection-type pipe :coding utf-8-emacs-unix :stderr #<buffer  *el-job-org-node:err*> :buffer #<buffer  *el-job-org-node:8*> :command ("c:/Users/LeimgruberF/opt/emacs-29.4/bin/emacs" "--quick" "--batch" "--load" "c:/Users/LeimgruberF/.config/emacs/.local/cache/el..." "--eval" "(el-job-child--work #'org-node-parser--collect-dan...") :sentinel ignore))
  make-process(:name "el-job:org-node:8" :noquery t :connection-type pipe :coding utf-8-emacs-unix :stderr #<buffer  *el-job-org-node:err*> :buffer #<buffer  *el-job-org-node:8*> :command ("c:/Users/LeimgruberF/opt/emacs-29.4/bin/emacs" "--quick" "--batch" "--load" "c:/Users/LeimgruberF/.config/emacs/.local/cache/el..." "--eval" "(el-job-child--work #'org-node-parser--collect-dan...") :sentinel ignore)
  apply(make-process (:name "el-job:org-node:8" :noquery t :connection-type pipe :coding utf-8-emacs-unix :stderr #<buffer  *el-job-org-node:err*> :buffer #<buffer  *el-job-org-node:8*> :command ("c:/Users/LeimgruberF/opt/emacs-29.4/bin/emacs" "--quick" "--batch" "--load" "c:/Users/LeimgruberF/.config/emacs/.local/cache/el..." "--eval" "(el-job-child--work #'org-node-parser--collect-dan...") :sentinel ignore))
  el-job--spawn-processes(#s(el-job :id org-node :anonymous nil :method reap :benchmark t :sig 1140670435041811207 :cores 15 :wrapup nil :ready (#<process el-job:org-node:7> #<process el-job:org-node:6> #<process el-job:org-node:5> #<process el-job:org-node:4> #<process el-job:org-node:3> #<process el-job:org-node:2> #<process el-job:org-node:1> #<process el-job:org-node:0>) :busy nil :stderr #<buffer  *el-job-org-node:err*> :timestamps (:accept-launch-request (1733741735058130000 . 1000000000)) :poll-timer [t nil nil nil nil nil nil nil nil nil] :timeout [t nil nil nil nil nil nil nil nil nil] :finish-times nil :past-elapsed #<hash-table equal 0/65 0x7c50d50ac1> :spawn-args (#1 (org-node-parser) (($plain-re . "\\(?:\\<\\(https?\\|id\\):\\(\\(?:[^][ \11\n()<>]\\|[(<[]\\(?:...") ($merged-re . "\\[\\[\\(\\(?:[^][\\]\\|\\\\\\(?:\\\\\\\\\\)*[][]\\|\\\\+[^][]\\)+\\)...") ($assume-coding-system) ($inlinetask-min-level) ($file-todo-option-re . "^[[:space:]]*\\(?:#\\+\\(?:\\(?:\\(?:seq\\|typ\\)_\\)?todo...") ($global-todo-re . "\\(?:DONE\\|H\\(?:EAP\\|OLD\\)\\|IDEA\\|KILL\\|LOOP\\|N\\(?:...") ($file-name-handler-alist) ($backlink-drawer-re . "^[\11 ]*:backlinks:")) "(org-node-parser--init)" org-node-parser--collect-dangerously) :input-sets nil :queue ("~/lg/ait/smartest.org" "~/lg/ait/pvmonitoring.org" "~/lg/ait/handbook_r.org" "~/lg/ait/handbook_python.org" "~/lg/ait/handbook_pyomo.org" "~/lg/ait/handbook_java.org" "~/lg/ait/handbook_git.org" "~/lg/ait/handbook_ees.org" "~/lg/ait/data_catalogue.org" "~/lg/c/c.org" "~/lg/calendars/concerts.org" "~/lg/clojure/clj_vienna/clj_vienna.org" "~/lg/clojure/clj_vienna/clj_intro.org" "~/lg/clojure/clojure.org" "~/lg/cpp/cpp.org" "~/lg/diedag/deep_learning/notes.org" "~/lg/diedag/diedagit/diedagit.org" "~/lg/diedag/julia101/julia101.org" "~/lg/diedag/thinkbayes/chapter9.org" "~/lg/diedag/thinkbayes/chapter8.org" "~/lg/diedag/thinkbayes/chapter7.org" "~/lg/diedag/thinkbayes/chapter6.org" "~/lg/diedag/thinkbayes/chapter4.org" "~/lg/diedag/thinkbayes/chapter2.org" "~/lg/diedag/tree/tree.org" "~/lg/diedag/README.org" "~/lg/erlang/erlang.org" "~/lg/examples/org-html-slideshow/example.org" "~/lg/examples/taskjuggler.org" "~/lg/examples/reproducible.org" "~/lg/examples/org-show.org" "~/lg/examples/org-show-org-show.org" "~/lg/examples/org-present.org" "~/lg/examples/org-dp-rewire.org" "~/lg/examples/literate-programming-tutorial.org" "~/lg/examples/Literate-programming-example-with-Fo..." "~/lg/examples/beamer.org" "~/lg/go/go.org" "~/lg/haskell/haskell.org" "~/lg/java/java.org" "~/lg/julia/jump_talk.org" "~/lg/julia/julia_romeo.org" "~/lg/julia/julia_emacs.org" "~/lg/julia/juliacon2020.org" "~/lg/julia/julia.org" "~/lg/lambdaheads/lambdaheads.org" "~/lg/latex/latex.org" "~/lg/math/fabio/scratch.org" "~/lg/org-reveal/Readme.org" "~/lg/org-reveal/index.org" ...) :results nil) (org-node-parser) (($plain-re . "\\(?:\\<\\(https?\\|id\\):\\(\\(?:[^][ \11\n()<>]\\|[(<[]\\(?:...") ($merged-re . "\\[\\[\\(\\(?:[^][\\]\\|\\\\\\(?:\\\\\\\\\\)*[][]\\|\\\\+[^][]\\)+\\)...") ($assume-coding-system) ($inlinetask-min-level) ($file-todo-option-re . "^[[:space:]]*\\(?:#\\+\\(?:\\(?:\\(?:seq\\|typ\\)_\\)?todo...") ($global-todo-re . "\\(?:DONE\\|H\\(?:EAP\\|OLD\\)\\|IDEA\\|KILL\\|LOOP\\|N\\(?:...") ($file-name-handler-alist) ($backlink-drawer-re . "^[\11 ]*:backlinks:")) "(org-node-parser--init)" org-node-parser--collect-dangerously)
  el-job-launch(:id org-node :if-busy noop :load org-node-parser :inject-vars (($plain-re . "\\(?:\\<\\(https?\\|id\\):\\(\\(?:[^][ \11\n()<>]\\|[(<[]\\(?:...") ($merged-re . "\\[\\[\\(\\(?:[^][\\]\\|\\\\\\(?:\\\\\\\\\\)*[][]\\|\\\\+[^][]\\)+\\)...") ($assume-coding-system) ($inlinetask-min-level) ($file-todo-option-re . "^[[:space:]]*\\(?:#\\+\\(?:\\(?:\\(?:seq\\|typ\\)_\\)?todo...") ($global-todo-re . "\\(?:DONE\\|H\\(?:EAP\\|OLD\\)\\|IDEA\\|KILL\\|LOOP\\|N\\(?:...") ($file-name-handler-alist) ($backlink-drawer-re . "^[\11 ]*:backlinks:")) :eval-once "(org-node-parser--init)" :funcall org-node-parser--collect-dangerously :inputs org-node-list-files :wrapup org-node--finalize-full)
  org-node--scan-all()
  org-node-cache-ensure(must-async t)
  org-node-cache-mode()
  (progn (require 'org-node nil nil) (setq org-id-locations-file (file-name-concat temporary-file-directory "org-id-locations")) (setq org-node-extra-id-dirs (list org-roam-directory)) (org-node-cache-mode) t)
  (closure (t) nil (setq org-id-locations-file-relative nil) (progn (require 'org-node nil nil) (setq org-id-locations-file (file-name-concat temporary-file-directory "org-id-locations")) (setq org-node-extra-id-dirs (list org-roam-directory)) (org-node-cache-mode) t) nil)()
  eval-after-load-helper("c:/Users/LeimgruberF/.config/emacs/.local/straight...")
  run-hook-with-args(eval-after-load-helper "c:/Users/LeimgruberF/.config/emacs/.local/straight...")
  do-after-load-evaluation("c:/Users/LeimgruberF/.config/emacs/.local/straight...")
  org-mode()
  set-auto-mode-0(org-mode nil)
  #f(compiled-function (&optional keep-mode-if-same) "Select major mode appropriate for current buffer.\n\nTo find the right major mode, this function checks for a -*- mode tag\nchecks for a `mode:' entry in the Local Variables section of the file,\nchecks if there an `auto-mode-alist' entry in `.dir-locals.el',\nchecks if it uses an interpreter listed in `interpreter-mode-alist',\nmatches the buffer beginning against `magic-mode-alist',\ncompares the file name against the entries in `auto-mode-alist',\nthen matches the buffer beginning against `magic-fallback-mode-alist'.\nIt also obeys `major-mode-remap-alist'.\n\nIf `enable-local-variables' is nil, or if the file name matches\n`inhibit-local-variables-regexps', this function does not check\nfor any mode: tag anywhere in the file.  If `local-enable-local-variables'\nis nil, then the only mode: tag that can be relevant is a -*- one.\n\nIf the optional argument KEEP-MODE-IF-SAME is non-nil, then we\nset the major mode only if that would change it.  In other words\nwe don't actually set it to the same mode the buffer already has." #<bytecode 0x922e57436ef8b3>)()
  apply(#f(compiled-function (&optional keep-mode-if-same) "Select major mode appropriate for current buffer.\n\nTo find the right major mode, this function checks for a -*- mode tag\nchecks for a `mode:' entry in the Local Variables section of the file,\nchecks if there an `auto-mode-alist' entry in `.dir-locals.el',\nchecks if it uses an interpreter listed in `interpreter-mode-alist',\nmatches the buffer beginning against `magic-mode-alist',\ncompares the file name against the entries in `auto-mode-alist',\nthen matches the buffer beginning against `magic-fallback-mode-alist'.\nIt also obeys `major-mode-remap-alist'.\n\nIf `enable-local-variables' is nil, or if the file name matches\n`inhibit-local-variables-regexps', this function does not check\nfor any mode: tag anywhere in the file.  If `local-enable-local-variables'\nis nil, then the only mode: tag that can be relevant is a -*- one.\n\nIf the optional argument KEEP-MODE-IF-SAME is non-nil, then we\nset the major mode only if that would change it.  In other words\nwe don't actually set it to the same mode the buffer already has." #<bytecode 0x922e57436ef8b3>) nil)
  #f(advice auto-minor-mode-set :after #f(compiled-function (&optional keep-mode-if-same) "Select major mode appropriate for current buffer.\n\nTo find the right major mode, this function checks for a -*- mode tag\nchecks for a `mode:' entry in the Local Variables section of the file,\nchecks if there an `auto-mode-alist' entry in `.dir-locals.el',\nchecks if it uses an interpreter listed in `interpreter-mode-alist',\nmatches the buffer beginning against `magic-mode-alist',\ncompares the file name against the entries in `auto-mode-alist',\nthen matches the buffer beginning against `magic-fallback-mode-alist'.\nIt also obeys `major-mode-remap-alist'.\n\nIf `enable-local-variables' is nil, or if the file name matches\n`inhibit-local-variables-regexps', this function does not check\nfor any mode: tag anywhere in the file.  If `local-enable-local-variables'\nis nil, then the only mode: tag that can be relevant is a -*- one.\n\nIf the optional argument KEEP-MODE-IF-SAME is non-nil, then we\nset the major mode only if that would change it.  In other words\nwe don't actually set it to the same mode the buffer already has." #<bytecode 0x922e57436ef8b3>))()
  apply(#f(advice auto-minor-mode-set :after #f(compiled-function (&optional keep-mode-if-same) "Select major mode appropriate for current buffer.\n\nTo find the right major mode, this function checks for a -*- mode tag\nchecks for a `mode:' entry in the Local Variables section of the file,\nchecks if there an `auto-mode-alist' entry in `.dir-locals.el',\nchecks if it uses an interpreter listed in `interpreter-mode-alist',\nmatches the buffer beginning against `magic-mode-alist',\ncompares the file name against the entries in `auto-mode-alist',\nthen matches the buffer beginning against `magic-fallback-mode-alist'.\nIt also obeys `major-mode-remap-alist'.\n\nIf `enable-local-variables' is nil, or if the file name matches\n`inhibit-local-variables-regexps', this function does not check\nfor any mode: tag anywhere in the file.  If `local-enable-local-variables'\nis nil, then the only mode: tag that can be relevant is a -*- one.\n\nIf the optional argument KEEP-MODE-IF-SAME is non-nil, then we\nset the major mode only if that would change it.  In other words\nwe don't actually set it to the same mode the buffer already has." #<bytecode 0x922e57436ef8b3>)) nil)
  (progn (apply fn args))
  (unwind-protect (progn (apply fn args)) (when (buffer-live-p buf) (with-current-buffer buf (evil-change-state old-state))))
  (let ((evil-state evil-state) (evil-previous-state evil-previous-state) (evil-previous-state-alist (copy-tree evil-previous-state-alist)) (evil-next-state evil-next-state) (old-state evil-state) (inhibit-quit t) (buf (current-buffer))) (unwind-protect (progn (apply fn args)) (when (buffer-live-p buf) (with-current-buffer buf (evil-change-state old-state)))))
  (evil-save-state (apply fn args))
  (if evil-state (evil-save-state (apply fn args)) (apply fn args))
  +evil--persist-state-a(#f(advice auto-minor-mode-set :after #f(compiled-function (&optional keep-mode-if-same) "Select major mode appropriate for current buffer.\n\nTo find the right major mode, this function checks for a -*- mode tag\nchecks for a `mode:' entry in the Local Variables section of the file,\nchecks if there an `auto-mode-alist' entry in `.dir-locals.el',\nchecks if it uses an interpreter listed in `interpreter-mode-alist',\nmatches the buffer beginning against `magic-mode-alist',\ncompares the file name against the entries in `auto-mode-alist',\nthen matches the buffer beginning against `magic-fallback-mode-alist'.\nIt also obeys `major-mode-remap-alist'.\n\nIf `enable-local-variables' is nil, or if the file name matches\n`inhibit-local-variables-regexps', this function does not check\nfor any mode: tag anywhere in the file.  If `local-enable-local-variables'\nis nil, then the only mode: tag that can be relevant is a -*- one.\n\nIf the optional argument KEEP-MODE-IF-SAME is non-nil, then we\nset the major mode only if that would change it.  In other words\nwe don't actually set it to the same mode the buffer already has." #<bytecode 0x922e57436ef8b3>)))
  apply(+evil--persist-state-a #f(advice auto-minor-mode-set :after #f(compiled-function (&optional keep-mode-if-same) "Select major mode appropriate for current buffer.\n\nTo find the right major mode, this function checks for a -*- mode tag\nchecks for a `mode:' entry in the Local Variables section of the file,\nchecks if there an `auto-mode-alist' entry in `.dir-locals.el',\nchecks if it uses an interpreter listed in `interpreter-mode-alist',\nmatches the buffer beginning against `magic-mode-alist',\ncompares the file name against the entries in `auto-mode-alist',\nthen matches the buffer beginning against `magic-fallback-mode-alist'.\nIt also obeys `major-mode-remap-alist'.\n\nIf `enable-local-variables' is nil, or if the file name matches\n`inhibit-local-variables-regexps', this function does not check\nfor any mode: tag anywhere in the file.  If `local-enable-local-variables'\nis nil, then the only mode: tag that can be relevant is a -*- one.\n\nIf the optional argument KEEP-MODE-IF-SAME is non-nil, then we\nset the major mode only if that would change it.  In other words\nwe don't actually set it to the same mode the buffer already has." #<bytecode 0x922e57436ef8b3>)) nil)
  #f(advice +evil--persist-state-a :around #f(advice auto-minor-mode-set :after #f(compiled-function (&optional keep-mode-if-same) "Select major mode appropriate for current buffer.\n\nTo find the right major mode, this function checks for a -*- mode tag\nchecks for a `mode:' entry in the Local Variables section of the file,\nchecks if there an `auto-mode-alist' entry in `.dir-locals.el',\nchecks if it uses an interpreter listed in `interpreter-mode-alist',\nmatches the buffer beginning against `magic-mode-alist',\ncompares the file name against the entries in `auto-mode-alist',\nthen matches the buffer beginning against `magic-fallback-mode-alist'.\nIt also obeys `major-mode-remap-alist'.\n\nIf `enable-local-variables' is nil, or if the file name matches\n`inhibit-local-variables-regexps', this function does not check\nfor any mode: tag anywhere in the file.  If `local-enable-local-variables'\nis nil, then the only mode: tag that can be relevant is a -*- one.\n\nIf the optional argument KEEP-MODE-IF-SAME is non-nil, then we\nset the major mode only if that would change it.  In other words\nwe don't actually set it to the same mode the buffer already has." #<bytecode 0x922e57436ef8b3>)))()
  so-long--set-auto-mode(#f(advice +evil--persist-state-a :around #f(advice auto-minor-mode-set :after #f(compiled-function (&optional keep-mode-if-same) "Select major mode appropriate for current buffer.\n\nTo find the right major mode, this function checks for a -*- mode tag\nchecks for a `mode:' entry in the Local Variables section of the file,\nchecks if there an `auto-mode-alist' entry in `.dir-locals.el',\nchecks if it uses an interpreter listed in `interpreter-mode-alist',\nmatches the buffer beginning against `magic-mode-alist',\ncompares the file name against the entries in `auto-mode-alist',\nthen matches the buffer beginning against `magic-fallback-mode-alist'.\nIt also obeys `major-mode-remap-alist'.\n\nIf `enable-local-variables' is nil, or if the file name matches\n`inhibit-local-variables-regexps', this function does not check\nfor any mode: tag anywhere in the file.  If `local-enable-local-variables'\nis nil, then the only mode: tag that can be relevant is a -*- one.\n\nIf the optional argument KEEP-MODE-IF-SAME is non-nil, then we\nset the major mode only if that would change it.  In other words\nwe don't actually set it to the same mode the buffer already has." #<bytecode 0x922e57436ef8b3>))))
  apply(so-long--set-auto-mode #f(advice +evil--persist-state-a :around #f(advice auto-minor-mode-set :after #f(compiled-function (&optional keep-mode-if-same) "Select major mode appropriate for current buffer.\n\nTo find the right major mode, this function checks for a -*- mode tag\nchecks for a `mode:' entry in the Local Variables section of the file,\nchecks if there an `auto-mode-alist' entry in `.dir-locals.el',\nchecks if it uses an interpreter listed in `interpreter-mode-alist',\nmatches the buffer beginning against `magic-mode-alist',\ncompares the file name against the entries in `auto-mode-alist',\nthen matches the buffer beginning against `magic-fallback-mode-alist'.\nIt also obeys `major-mode-remap-alist'.\n\nIf `enable-local-variables' is nil, or if the file name matches\n`inhibit-local-variables-regexps', this function does not check\nfor any mode: tag anywhere in the file.  If `local-enable-local-variables'\nis nil, then the only mode: tag that can be relevant is a -*- one.\n\nIf the optional argument KEEP-MODE-IF-SAME is non-nil, then we\nset the major mode only if that would change it.  In other words\nwe don't actually set it to the same mode the buffer already has." #<bytecode 0x922e57436ef8b3>))) nil)
  set-auto-mode()
  normal-mode(t)
  #f(compiled-function (&optional error warn noauto after-find-file-from-revert-buffer nomodes) "Called after finding a file and by the default revert function.\nSets buffer mode, parses file-local and directory-local variables.\nOptional args ERROR, WARN, and NOAUTO: ERROR non-nil means there was an\nerror in reading the file.  WARN non-nil means warn if there\nexists an auto-save file more recent than the visited file.\nNOAUTO means don't mess with auto-save mode.\nFourth arg AFTER-FIND-FILE-FROM-REVERT-BUFFER is ignored\n(see `revert-buffer-in-progress-p' for similar functionality).\nFifth arg NOMODES non-nil means don't alter the file's modes.\nFinishes by calling the functions in `find-file-hook'\nunless NOMODES is non-nil." #<bytecode 0x103aa402a07d3929>)(nil t)
  apply(#f(compiled-function (&optional error warn noauto after-find-file-from-revert-buffer nomodes) "Called after finding a file and by the default revert function.\nSets buffer mode, parses file-local and directory-local variables.\nOptional args ERROR, WARN, and NOAUTO: ERROR non-nil means there was an\nerror in reading the file.  WARN non-nil means warn if there\nexists an auto-save file more recent than the visited file.\nNOAUTO means don't mess with auto-save mode.\nFourth arg AFTER-FIND-FILE-FROM-REVERT-BUFFER is ignored\n(see `revert-buffer-in-progress-p' for similar functionality).\nFifth arg NOMODES non-nil means don't alter the file's modes.\nFinishes by calling the functions in `find-file-hook'\nunless NOMODES is non-nil." #<bytecode 0x103aa402a07d3929>) (nil t))
  (progn (fset #'sit-for #'ignore) (apply fn args))
  (unwind-protect (progn (fset #'sit-for #'ignore) (apply fn args)) (fset #'sit-for old))
  (let* ((old (symbol-function #'sit-for))) (unwind-protect (progn (fset #'sit-for #'ignore) (apply fn args)) (fset #'sit-for old)))
  doom--shut-up-autosave-a(#f(compiled-function (&optional error warn noauto after-find-file-from-revert-buffer nomodes) "Called after finding a file and by the default revert function.\nSets buffer mode, parses file-local and directory-local variables.\nOptional args ERROR, WARN, and NOAUTO: ERROR non-nil means there was an\nerror in reading the file.  WARN non-nil means warn if there\nexists an auto-save file more recent than the visited file.\nNOAUTO means don't mess with auto-save mode.\nFourth arg AFTER-FIND-FILE-FROM-REVERT-BUFFER is ignored\n(see `revert-buffer-in-progress-p' for similar functionality).\nFifth arg NOMODES non-nil means don't alter the file's modes.\nFinishes by calling the functions in `find-file-hook'\nunless NOMODES is non-nil." #<bytecode 0x103aa402a07d3929>) nil t)
  apply(doom--shut-up-autosave-a #f(compiled-function (&optional error warn noauto after-find-file-from-revert-buffer nomodes) "Called after finding a file and by the default revert function.\nSets buffer mode, parses file-local and directory-local variables.\nOptional args ERROR, WARN, and NOAUTO: ERROR non-nil means there was an\nerror in reading the file.  WARN non-nil means warn if there\nexists an auto-save file more recent than the visited file.\nNOAUTO means don't mess with auto-save mode.\nFourth arg AFTER-FIND-FILE-FROM-REVERT-BUFFER is ignored\n(see `revert-buffer-in-progress-p' for similar functionality).\nFifth arg NOMODES non-nil means don't alter the file's modes.\nFinishes by calling the functions in `find-file-hook'\nunless NOMODES is non-nil." #<bytecode 0x103aa402a07d3929>) (nil t))
  #f(advice doom--shut-up-autosave-a :around #f(compiled-function (&optional error warn noauto after-find-file-from-revert-buffer nomodes) "Called after finding a file and by the default revert function.\nSets buffer mode, parses file-local and directory-local variables.\nOptional args ERROR, WARN, and NOAUTO: ERROR non-nil means there was an\nerror in reading the file.  WARN non-nil means warn if there\nexists an auto-save file more recent than the visited file.\nNOAUTO means don't mess with auto-save mode.\nFourth arg AFTER-FIND-FILE-FROM-REVERT-BUFFER is ignored\n(see `revert-buffer-in-progress-p' for similar functionality).\nFifth arg NOMODES non-nil means don't alter the file's modes.\nFinishes by calling the functions in `find-file-hook'\nunless NOMODES is non-nil." #<bytecode 0x103aa402a07d3929>))(nil t)
  apply(#f(advice doom--shut-up-autosave-a :around #f(compiled-function (&optional error warn noauto after-find-file-from-revert-buffer nomodes) "Called after finding a file and by the default revert function.\nSets buffer mode, parses file-local and directory-local variables.\nOptional args ERROR, WARN, and NOAUTO: ERROR non-nil means there was an\nerror in reading the file.  WARN non-nil means warn if there\nexists an auto-save file more recent than the visited file.\nNOAUTO means don't mess with auto-save mode.\nFourth arg AFTER-FIND-FILE-FROM-REVERT-BUFFER is ignored\n(see `revert-buffer-in-progress-p' for similar functionality).\nFifth arg NOMODES non-nil means don't alter the file's modes.\nFinishes by calling the functions in `find-file-hook'\nunless NOMODES is non-nil." #<bytecode 0x103aa402a07d3929>)) (nil t))
  #f(advice chain-doom-first-buffer-hook-to-find-file-hook-h :before #f(advice doom--shut-up-autosave-a :around #f(compiled-function (&optional error warn noauto after-find-file-from-revert-buffer nomodes) "Called after finding a file and by the default revert function.\nSets buffer mode, parses file-local and directory-local variables.\nOptional args ERROR, WARN, and NOAUTO: ERROR non-nil means there was an\nerror in reading the file.  WARN non-nil means warn if there\nexists an auto-save file more recent than the visited file.\nNOAUTO means don't mess with auto-save mode.\nFourth arg AFTER-FIND-FILE-FROM-REVERT-BUFFER is ignored\n(see `revert-buffer-in-progress-p' for similar functionality).\nFifth arg NOMODES non-nil means don't alter the file's modes.\nFinishes by calling the functions in `find-file-hook'\nunless NOMODES is non-nil." #<bytecode 0x103aa402a07d3929>)) ((depth . -101)))(nil t)
  apply(#f(advice chain-doom-first-buffer-hook-to-find-file-hook-h :before #f(advice doom--shut-up-autosave-a :around #f(compiled-function (&optional error warn noauto after-find-file-from-revert-buffer nomodes) "Called after finding a file and by the default revert function.\nSets buffer mode, parses file-local and directory-local variables.\nOptional args ERROR, WARN, and NOAUTO: ERROR non-nil means there was an\nerror in reading the file.  WARN non-nil means warn if there\nexists an auto-save file more recent than the visited file.\nNOAUTO means don't mess with auto-save mode.\nFourth arg AFTER-FIND-FILE-FROM-REVERT-BUFFER is ignored\n(see `revert-buffer-in-progress-p' for similar functionality).\nFifth arg NOMODES non-nil means don't alter the file's modes.\nFinishes by calling the functions in `find-file-hook'\nunless NOMODES is non-nil." #<bytecode 0x103aa402a07d3929>)) ((depth . -101))) (nil t))
  after-find-file(nil t)
  find-file-noselect-1(#<buffer ait.org> "~/lg/ait.org" nil nil "~/lg/ait.org" (0 1855204839))
  find-file-noselect("~/lg/ait.org" nil nil t)
  find-alternate-file("~/lg/ait.org" t)
  funcall-interactively(find-alternate-file "~/lg/ait.org" t)
  command-execute(find-alternate-file)
@meedstrom
Copy link
Owner

Thanks. Do you get it if you restart the computer?

@fleimgruber
Copy link
Author

Disabled org-node because of #75, will re-enable and test again after #75.

@fleimgruber
Copy link
Author

Same as #75 (comment).

@fleimgruber
Copy link
Author

I am seeing this again after upgrade to latest as of today.

@meedstrom
Copy link
Owner

Looking into it.

I'm actually about to roll out a new version for both org-node and el-job. (where org-node gets features mentioned in #74.) Maybe that'll magically fix it. One reason is that it will not keepalive the subprocesses anymore, which sounds related to this error.

Sorry for the inconvenience!

A shot in the dark, but maybe you can eval this (it's just adding a :method 'reap argument to the default definition) for the same effect right now:

(defun org-node--scan-all ()
  "Arrange a full scan."
  (unless (el-job-is-busy 'org-node)
    (setq org-node--time-at-begin-full-scan (time-convert nil t))
    (el-job-launch
     :id 'org-node
     :if-busy 'noop
     :inject-vars (append org-node-inject-variables (org-node--mk-work-vars))
     :load 'org-node-parser
     :eval-once "(org-node-parser--init)"
     :funcall #'org-node-parser--collect-dangerously
     :inputs #'org-node-list-files
     :wrapup #'org-node--finalize-full
     :method 'reap)))

@meedstrom
Copy link
Owner

Well, unless -- if you're still running Emacs 29.4 then it already uses :method 'reap, so that'll do nothing.

@meedstrom
Copy link
Owner

It's odd because nothing has really changed for months in either el-job nor how org-node calls it. Just to check, you've restarted after upgrade?

@meedstrom meedstrom added the needs-reproduction Something isn't working label Mar 3, 2025
@TomoeMami
Copy link
TomoeMami commented Mar 18, 2025

This issue may be fixed in this commit: emacs-mirror/emacs@e02466a

@meedstrom
Copy link
Owner

Hope so! Thanks for link.

@fleimgruber
Copy link
Author
fleimgruber commented Mar 18, 2025

@TomoeMami thanks for the heads-up!

@meedstrom sorry for the late reply and thanks for looking into it. It does not affect me too much and I am looking forward to #74. Your call whether to keep this open or close and re-open in case.

@meedstrom
Copy link
Owner
meedstrom commented Mar 22, 2025

No worries. Others may have the same issue, so I'll keep it open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-reproduction Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
0