Skip to content

Instantly share code, notes, and snippets.

@simendsjo
Created November 22, 2023 08:17
Show Gist options
  • Save simendsjo/c39671e029a63c40dce342b446ddf023 to your computer and use it in GitHub Desktop.
Save simendsjo/c39671e029a63c40dce342b446ddf023 to your computer and use it in GitHub Desktop.

Issue Reporting Checklist

This checklist will help you diagnose problems with your ob-async setup.

Instructions

Execute the src blocks one at a time with ctrl-c ctrl-c to ensure that ob-async-org-babel-execute-src-block is used for files with the :async header-arg. If by the end of this file your issue isn’t solved, open an issue on Github with the contents of this file.

First, make sure you can execute emacs-lisp src blocks without the async header argument. Otherwise you’ve got bigger problems, and none of this is going to work.

(message "Yes, I can synchronously execute emacs-lisp from an org-babel src block.")

Checklist

First, let’s make sure you can run a basic async process without org-babel and/or ob-async (this is adapted from the example in the emacs-async README)

(makunbound 'ob-async/troubleshooting-sentinel) ;; make it re-entrant

(async-start
 ;; What to do in the child process
 (lambda ()
  (message "This is a test")
  222)
 ;; What to do (in the parent) when the child finishes
 (lambda (result)
   (setq ob-async/troubleshooting-sentinel result)
   (format "Async process done, result should be 222: %s" result)))

(let ((elapsed-secs 0)
      (deadline-secs 5))
  (while (and
          (not (boundp 'ob-async/troubleshooting-sentinel))
          (< elapsed-secs deadline-secs))
    (incf elapsed-secs)
    (sleep-for 1)))

(if (boundp 'ob-async/troubleshooting-sentinel)
    (message "Yes, we are able to run async functions (result was %s)"
             ob-async/troubleshooting-sentinel)
  (message "Failed to run a basic async function!"))

From where are you loading ob-async?

(symbol-file 'ob-async-org-babel-execute-src-block)
(message "PID: %s\nEmacs version: %s\norg version: %s\nPath to org: %s" (emacs-pid) (emacs-version) (org-version) (symbol-file 'org-version))

Execution of the :async block occurs in an Emacs subprocess. Are you using a consistent version of emacs and org-mode across both processes? Compare the output of this block the output of the previous block.

(message "PID: %s\nEmacs version: %s\norg version: %s\nPath to org: %s" (emacs-pid) (emacs-version) (org-version) (symbol-file 'org-version))

NOTE: :async is what triggers the problem:

error in process sentinel: async-when-done: Invalid read syntax: "#"
error in process sentinel: Invalid read syntax: "#"

The Emacs subprocess inherits the value of org-babel-load-languages from its parent. Here are the languages which are loaded in the subprocess. If you don’t see your desired language here, it means you never added it to org-babel-load-languages (in the parent process).

org-babel-load-languages

If you’re still facing problems, turn on async debugging.

(setq async-debug t)

If possible, replace the following block with a block that reproduces your problem, then execute it.

(message "I'm executed in a subprocess.")

This is the elisp that was sent to the Emacs subprocess. If there’s still nothing obviously wrong, file an issue on GitHub and include the contents of this file as a Gist.

(switch-to-buffer "*Messages*")
(goto-char (point-max))
(re-search-backward "Transmitting sexp {{{\\([^}]+\\)}}}")
(match-string 1)
Transmitting sexp {{{'(lambda nil
   (setq exec-path
         '("c:/Python311/Scripts/" "C:/Python311/" "C:/Program Files/Microsoft SDKs/Azure/CLI2/wbin" "C:/Program Files/Eclipse Adoptium/jdk-17.0.8.101-hotspot/bin" "C:/WINDOWS/system32" "C:/WINDOWS" "C:/WINDOWS/System32/Wbem" "C:/WINDOWS/System32/WindowsPowerShell/v1.0/" "C:/WINDOWS/System32/OpenSSH/" "C:/Program Files/dotnet/" "C:/Program Files/Microsoft/Web Platform Installer/" "C:/ProgramData/chocolatey/bin" "C:/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit/" "C:/Program Files/Microsoft SQL Server/150/Tools/Binn/" "C:/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn/" "C:/Program Files (x86)/Pulumi/" "C:/Program Files/PuTTY/" "C:/Program Files/CMake/bin" "C:/Program Files/nodejs/" "C:/Program Files/PowerShell/7/" "C:/Program Files/RedHat/Podman/" "C:/Program Files/GitHub CLI/" "C:/Program Files/k6/" "C:/Program Files/Steel Bank Common Lisp/" "C:/Program Files/Git/cmd" "C:/Users/simend/AppData/Local/Programs/Python/Launcher/" "C:/Users/simend/bin" "c:/programs" "C:/Users/simend/AppData/Local/Microsoft/WindowsApps" "C:/Program Files/Emacs/emacs-29.1/bin/" "C:/Program Files/Emacs/emacs-28.2/bin/" "C:/programs/sqlite-win32-x86-3400000" "C:/msys64/usr/bin" "C:/msys64/mingw64/bin" "C:/Users/simend/.dotnet/tools" "C:/Users/simend/AppData/Local/Programs/Microsoft VS Code/bin" "C:/Users/simend/AppData/Local/Microsoft/WinGet/Links" "C:/Users/simend/OneDrive - REDACTED/Documents/WindowsPowerShell/Scripts" "C:/Users/simend/.dotnet/tools" "C:/Program Files (x86)/Nmap" "C:/Program Files/PostgreSQL/15/bin" "C:/Program Files/7-Zip" "C:/Users/simend/AppData/Local/REDACTED/current/bin/" "C:/Users/simend/.dotnet/tools" "C:/Users/simend/AppData/Roaming/npm" "." "c:/Program Files/Emacs/emacs-29.1/libexec/emacs/29.1/x86_64-w64-mingw32"))
   (setq load-path
         '("c:/Users/simend/.emacs.d/.local/straight/build-29.1/sly/contrib" "~/quicklisp/dists/ultralisp/software/40ants-log4sly-20190922092911/elisp/" "c:/Users/simend/.doom.d/snippets/" "~/.guix-profile/share/emacs/site-lisp/mu4e" "c:/Users/simend/profiles/REDACTED" "c:/Users/simend/.doom.d/simendsjo-packages" "c:/Users/simend/profiles" "c:/Users/simend/.emacs.d/.local/etc/@/kotl" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/bind-key" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/elisp-refs" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/annalist" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/peg" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/ov" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/map" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/string-inflection" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/citeproc" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/biblio-core" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/biblio" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/parsebib" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/bibtex-completion" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/ts" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/bui" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/jsonrpc" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/magit-popup" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/tblui" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/parent-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/ucs-utils" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/list-utils" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/persistent-soft" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/font-utils" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/fringe-helper" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/git-gutter" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/expand-region" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/embrace" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/zoutline" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/ivy" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/swiper" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/iedit" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/queue" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/inheritenv" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/marshal" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/logito" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/pcache" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/gh" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/popup" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/jeison" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/hcl-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/package-lint" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/eldoc" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/lv" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/spinner" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/f" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/multiple-cursors" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/simple-httpd" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/js2-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/goto-chg" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/tablist" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/with-editor" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/async" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/magit-section" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/emacsql" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/transient" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/xref" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/epl" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/pkg-info" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/ht" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/deferred" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/request-deferred" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/persist" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/db" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/fakir" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/kv" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/creole" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/noflet" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/s" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/dash" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/web" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/elnode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/log4e" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/gntp" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/alert" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/aio" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/link-hint" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/drag-stuff" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/emacs-everywhere" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-gcal" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/calfw-ical" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/calfw-cal" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/calfw-org" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/calfw" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/mu4e-alert" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-msg" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/yaml-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/company-shell" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/flycheck-guile" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/geiser-guile" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/macrostep-geiser" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/geiser" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/flycheck-plantuml" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/plantuml-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/ox-pandoc" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/ob-fsharp" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-roam" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/revealjs" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-re-reveal" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-tree-slide" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/centered-window" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-fancy-priorities" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-superstar" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-journal" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/gnuplot-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/gnuplot" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-download" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/orgit" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-pdftools" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/evil-org" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-cliplink" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/toc-org" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/ox-clip" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-yt" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/htmlize" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/avy" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-contrib" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/evil-markdown" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/edit-indirect" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/markdown-toc" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/markdown-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/xref-js2" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/tide" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/skewer-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/nodejs-repl" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/npm-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/js2-refactor" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/typescript-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/rjsx-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/json-snatcher" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/json-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/lsp-haskell" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/haskell-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/fsharp-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/buttercup" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/flycheck-cask" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/flycheck-package" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/elisp-demos" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/elisp-def" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/overseer" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/macrostep" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/highlight-quoted" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/csv-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/font-lock-ext" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/sln-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/csproj-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/sly-repl-ansi-color" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/sly-macrostep" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/sly" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/company-terraform" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/terraform-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/kurecolor" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/rainbow-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/prodigy" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/saveplace-pdf-view" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/pdf-tools" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/password-store-otp" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/password-store" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/pass" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/makefile-executor" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/magit-todos" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/magit" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/consult-lsp" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/lsp-ui" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/lsp-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/powerthesaurus" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/define-word" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/dash-docs" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/request" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/dumb-jump" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/gist" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/eros" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/quickrun" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/editorconfig" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/dockerfile-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/docker" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/envrc" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/flyspell-lazy" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/flyspell-correct" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/flycheck-popup-tip" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/flycheck" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/vterm" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/eshell-syntax-highlighting" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/eshell-did-you-mean" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/esh-help" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/shrink-path" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/eshell-z" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/eshell-up" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/git-modes" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/git-timemachine" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/git-commit" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/browse-at-remote" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/undo-tree" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/ibuffer-vc" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/ibuffer-projectile" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/fd-dired" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/nerd-icons-dired" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/dired-rsync" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/dired-git-info" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/diredfl" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/visual-fill-column" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/adaptive-wrap" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/doom-snippets" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/auto-yasnippet" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/evil-mc" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/evil-multiedit" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/lispyville" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/evil-vimish-fold" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/vimish-fold" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/yasnippet" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/evil-quick-diff" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/exato" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/evil-visualstar" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/evil-traces" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/evil-textobj-anyblock" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/evil-surround" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/evil-snipe" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/evil-numbers" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/evil-nerd-commenter" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/evil-lion" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/evil-indent-plus" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/evil-exchange" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/evil-escape" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/evil-embrace" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/evil-easymotion" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/evil-args" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/evil" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/mixed-pitch" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/writeroom-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/persp-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/ace-window" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/vi-tilde-fringe" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/git-gutter-fringe" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/unicode-fonts" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/evil-anzu" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/anzu" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/doom-modeline" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/evil-goggles" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/ligature" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/hydra" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/hl-todo" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/solaire-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/doom-themes" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/nerd-icons-completion" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/wgrep" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/marginalia" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/embark-consult" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/embark" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/consult-flycheck" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/consult-dir" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/consult" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/orderless" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/vertico" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/company-dict" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/company" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/chatgpt" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/openai" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/copilot" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/detached" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/hyperbole/kotl" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/hyperbole" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/powershell" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-jira" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/verb" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/guix" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/open-junk-file" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/keyfreq" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/key-seq" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/key-chord" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/annotate" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/dwim-shell-command" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/ob-async" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-rainbow-tags" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-edna" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-transclusion" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-sticky-header" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-present" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-make-toc" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-mru-clock" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-graph-view" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/ox-rss" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/ox-gfm" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-appear" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-pretty-tags" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-super-agenda" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-roam-server" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-roam-bibtex" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-noter" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-ref" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/org-ql" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/doct" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/hercules" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/vimrc-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/mastodon" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/evil-collection" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/lispy" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/compat" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/which-key" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/general" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/project" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/projectile" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/ws-butler" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/smartparens" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/pcre2el" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/helpful" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/dtrt-indent" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/better-jumper" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/restart-emacs" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/rainbow-delimiters" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/highlight-numbers" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/hide-mode-line" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/nerd-icons" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/all-the-icons" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/straight" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/explain-pause-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/gcmh" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/auto-minor-mode" "c:/Users/simend/.emacs.d/.local/straight/build-29.1/use-package" "c:/Users/simend/.emacs.d/lisp/" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/vc" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/use-package" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/url" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/textmodes" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/progmodes" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/play" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/org" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/nxml" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/net" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/mh-e" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/mail" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/leim" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/language" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/international" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/image" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/gnus" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/eshell" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/erc" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/emulation" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/emacs-lisp" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/cedet" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/calendar" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/calc" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/obsolete" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/vc" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/use-package" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/url" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/textmodes" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/progmodes" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/play" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/org" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/nxml" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/net" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/mh-e" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/mail" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/leim" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/language" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/international" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/image" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/gnus" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/eshell" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/erc" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/emulation" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/emacs-lisp" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/cedet" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/calendar" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/calc" "c:/Program Files/Emacs/emacs-29.1/share/emacs/29.1/lisp/obsolete"))
   (setq org-babel-exp-reference-buffer nil org-babel-temporary-stable-directory "c:/tmp/SIMEND~1/babel-stable-666" org-babel-error-buffer-name "*Org-Babel Error Output*" org-babel-default-header-args
         '((:session . "none")
           (:results . "replace")
           (:exports . "code")
           (:cache . "no")
           (:noweb . "no")
           (:hlines . "no")
           (:tangle . "no"))
         org-babel-default-header-args:ash nil org-babel-safe-header-args
         '(:cache :colnames :comments :exports :epilogue :hlines :noeval :noweb :noweb-ref :noweb-sep :noweb-prefix :padline :prologue :rownames :sep :session :tangle :wrap
           (:eval "never" "query")
           (:results lambda
                     (str)
                     (not
                      (string-match "file" str))))
         org-babel-header-arg-names
         '(cache cmdline colnames comments dir eval exports epilogue file file-desc file-ext file-mode hlines mkdirp no-expand noeval noweb noweb-ref noweb-sep noweb-prefix output-dir padline post prologue results rownames sep session shebang tangle tangle-mode var wrap)
         org-babel-uppercase-example-markers nil org-babel-exp-inline-code-template "src_%lang[%switches%flags]{%body}" org-babel-header-args:emacs-lisp
         '((lexical . :any))
         org-babel-default-header-args:mksh nil org-babel-name-regexp "^[ 	]*#\\+\\(?:\\(?:TBL\\)?NAME\\):[ 	]*" org-babel-after-execute-hook
         '(+org-redisplay-inline-images-in-babel-result-h)
         +org-babel-mode-alist
         '((c . C)
           (cpp . C)
           (C++ . C)
           (D . C)
           (elisp . emacs-lisp)
           (sh . shell)
           (bash . shell)
           (matlab . octave)
           (rust . rustic-babel)
           (amm . ammonite))
         org-babel-default-header-args:shell nil org-babel-shell-set-prompt-commands
         '(("fish" . "function fish_prompt\n	echo \"%s\"\nend")
           ("csh" . "set prompt=\"%s\"\nset prompt2=\"\"")
           ("posh" . "function prompt { \"%s\" }")
           (t . "PROMPT_COMMAND=;PS1=\"%s\";PS2="))
         org-babel-noweb-wrap-end ">>" org-babel-comint-async-chunk-callback nil org-babel-default-header-args:dash nil org-babel-sh-prompt "org_babel_sh_prompt> " org-babel-sh-eoe-indicator "echo 'org_babel_sh_eoe'" org-babel-noweb-error-langs nil org-babel-src-block-regexp "^\\([ 	]*\\)#\\+begin_src[ 	]+\\([^ \f	\n
�]+\\)[ 	]*\\([^\":\n]*\"[^\"\n*]*\"[^\":\n]*\\|[^\":\n]*\\)\\([^\n]*\\)\n\\(\\(?:.\\|\n\\)*?\n\\)??[ 	]*#\\+end_src" org-babel-post-tangle-hook nil org-babel-load-languages
         '((shell . t)
           (vimrc . t)
           (emacs-lisp . t))
         +org-babel-load-functions nil org-babel-result-regexp "^[	 ]*#\\+results\\(?:\\[\\(?:([[:digit:]]\\{4\\}\\(?:-[[:digit:]]\\{2\\}\\)\\{2\\} [[:digit:]]\\{2\\}\\(?::[[:digit:]]\\{2\\}\\)\\{2\\}) \\)?\\([[:xdigit:]]+\\)]\\)?:[	 ]*" org-babel-default-header-args:sh nil org-babel-default-header-args:csh nil org-babel-noweb-wrap-start "<<" org-babel-default-header-args:fish nil org-babel-tangle-default-file-mode 420 org-babel-tangle-body-hook nil org-babel-remote-temporary-directory "/tmp/" org-babel-noweb-error-all-langs nil org-babel-shell-results-defaults-to-output t org-babel-result-w-name-regexp "^[	 ]*#\\+results\\(?:\\[\\(?:([[:digit:]]\\{4\\}\\(?:-[[:digit:]]\\{2\\}\\)\\{2\\} [[:digit:]]\\{2\\}\\(?::[[:digit:]]\\{2\\}\\)\\{2\\}) \\)?\\([[:xdigit:]]+\\)]\\)?:[	 ]*\\(?9:[^ 	\n
�\f]+\\)" org-babel-default-header-args:ksh nil org-babel-capitalize-example-region-markers nil org-babel-python-command "python3" org-babel-tangle-lang-exts
         '(("emacs-lisp" . "el")
           ("elisp" . "el"))
         org-babel-expand-noweb-references--cache '#s(REDACTED)
         org-babel-sh-eoe-output "org_babel_sh_eoe" org-babel-tangle-comment-format-end "%source-name ends here" org-babel-tangle-comment-format-beg "[[%link][%source-name]]" org-babel-map
         '(keymap
           (27 keymap
               (8 . org-babel-mark-block))
           (107 . org-babel-remove-result-one-or-many)
           (120 . org-babel-do-key-sequence-in-edit-buffer)
           (24 . org-babel-do-key-sequence-in-edit-buffer)
           (104 . org-babel-describe-bindings)
           (97 . org-babel-sha1-hash)
           (1 . org-babel-sha1-hash)
           (122 . org-babel-switch-to-session-with-code)
           (26 . org-babel-switch-to-session)
           (73 . org-babel-view-src-block-info)
           (105 . org-babel-lob-ingest)
           (9 . org-babel-view-src-block-info)
           (108 . org-babel-load-in-session)
           (12 . org-babel-load-in-session)
           (106 . org-babel-insert-header-arg)
           (10 . org-babel-insert-header-arg)
           (99 . org-babel-check-src-block)
           (3 . org-babel-check-src-block)
           (102 . org-babel-tangle-file)
           (6 . org-babel-tangle-file)
           (116 . org-babel-tangle)
           (20 . org-babel-tangle)
           (100 . org-babel-demarcate-block)
           (4 . org-babel-demarcate-block)
           (115 . org-babel-execute-subtree)
           (19 . org-babel-execute-subtree)
           (98 . org-babel-execute-buffer)
           (2 . org-babel-execute-buffer)
           (18 . org-babel-goto-named-result)
           (114 . org-babel-goto-named-result)
           (103 . org-babel-goto-named-src-block)
           (21 . org-babel-goto-src-block-head)
           (117 . org-babel-goto-src-block-head)
           (118 . org-babel-expand-src-block)
           (22 . org-babel-expand-src-block)
           (15 . org-babel-open-src-block-result)
           (111 . org-babel-open-src-block-result)
           (5 . org-babel-execute-maybe)
           (101 . org-babel-execute-maybe)
           (14 . org-babel-next-src-block)
           (110 . org-babel-next-src-block)
           (16 . org-babel-previous-src-block)
           (112 . org-babel-previous-src-block))
         org-babel-key-bindings
         '(("p" . org-babel-previous-src-block)
           ("�" . org-babel-previous-src-block)
           ("n" . org-babel-next-src-block)
           ("�" . org-babel-next-src-block)
           ("e" . org-babel-execute-maybe)
           ("�" . org-babel-execute-maybe)
           ("o" . org-babel-open-src-block-result)
           ("�" . org-babel-open-src-block-result)
           ("�" . org-babel-expand-src-block)
           ("v" . org-babel-expand-src-block)
           ("u" . org-babel-goto-src-block-head)
           ("�" . org-babel-goto-src-block-head)
           ("g" . org-babel-goto-named-src-block)
           ("r" . org-babel-goto-named-result)
           ("�" . org-babel-goto-named-result)
           ("�" . org-babel-execute-buffer)
           ("b" . org-babel-execute-buffer)
           ("�" . org-babel-execute-subtree)
           ("s" . org-babel-execute-subtree)
           ("�" . org-babel-demarcate-block)
           ("d" . org-babel-demarcate-block)
           ("�" . org-babel-tangle)
           ("t" . org-babel-tangle)
           ("�" . org-babel-tangle-file)
           ("f" . org-babel-tangle-file)
           ("�" . org-babel-check-src-block)
           ("c" . org-babel-check-src-block)
           ("\n" . org-babel-insert-header-arg)
           ("j" . org-babel-insert-header-arg)
           ("\f" . org-babel-load-in-session)
           ("l" . org-babel-load-in-session)
           ("	" . org-babel-lob-ingest)
           ("i" . org-babel-lob-ingest)
           ("	" . org-babel-view-src-block-info)
           ("I" . org-babel-view-src-block-info)
           ("�" . org-babel-switch-to-session)
           ("z" . org-babel-switch-to-session-with-code)
           ("�" . org-babel-sha1-hash)
           ("a" . org-babel-sha1-hash)
           ("h" . org-babel-describe-bindings)
           ("�" . org-babel-do-key-sequence-in-edit-buffer)
           ("x" . org-babel-do-key-sequence-in-edit-buffer)
           ("k" . org-babel-remove-result-one-or-many)
           ("\210" . org-babel-mark-block))
         org-babel-tangle-use-relative-file-links t org-babel-hash-show-time nil +org-babel-native-async-langs
         '(python)
         org-babel-multi-line-header-regexp "^[ 	]*#\\+headers?:[ 	]*\\([^\n]*\\)$" org-babel-default-header-args:elisp
         '((:lexical . "no"))
         org-babel-hash-show 4 org-babel-default-header-args:zsh nil org-babel-default-header-args:emacs-lisp
         '((:lexical . "no"))
         org-babel-comint-async-dangling nil org-babel-no-eval-on-ctrl-c-ctrl-c nil org-babel-exeext ".exe" org-babel-comint-async-indicator nil org-babel-library-of-babel nil org-babel-lisp-eval-fn 'sly-eval org-babel-exp-code-template "#+begin_src %lang%switches%flags\n%body\n#+end_src" org-babel-tangle-finished-hook nil org-babel-src-name-regexp "^[ 	]*#\\+name:[ 	]*" org-babel-comint-async-file-callback nil org-babel-hide-result-overlays nil org-babel-inline-result-wrap "=%s=" org-babel-default-inline-header-args
         '((:session . "none")
           (:results . "replace")
           (:exports . "results")
           (:hlines . "yes"))
         org-babel-common-header-args-w-values
         '((cache
            (no yes))
           (cmdline . :any)
           (colnames
            (nil no yes))
           (comments
            (no link yes org both noweb))
           (dir . :any)
           (eval
            (yes no no-export strip-export never-export eval never query))
           (exports
            (code results both none))
           (epilogue . :any)
           (file . :any)
           (file-desc . :any)
           (file-ext . :any)
           (file-mode
            (493 365 292 :any))
           (hlines
            (no yes))
           (mkdirp
            (yes no))
           (no-expand)
           (noeval)
           (noweb
            (yes no tangle strip-tangle no-export strip-export))
           (noweb-ref . :any)
           (noweb-sep . :any)
           (noweb-prefix
            (no yes))
           (output-dir . :any)
           (padline
            (yes no))
           (post . :any)
           (prologue . :any)
           (results
            (file list vector table scalar verbatim)
            (raw html latex org code pp drawer link graphics)
            (replace silent none discard append prepend)
            (output value))
           (rownames
            (no yes))
           (sep . :any)
           (session . :any)
           (shebang . :any)
           (tangle
            (tangle yes no :any))
           (tangle-mode
            (493 365 292 :any))
           (var . :any)
           (wrap . :any))
         org-babel-shell-names
         '("sh" "bash" "zsh" "fish" "csh" "ash" "dash" "ksh" "mksh" "posh")
         org-babel-min-lines-for-block-output 10 org-babel-pre-tangle-hook
         '(save-buffer)
         org-babel-update-intermediate nil org-babel-async-content "#+TITLE: Issue Reporting Checklist\n#+PROPERTIES: :header-args :results value\n\nThis checklist will help you diagnose problems with your =ob-async=\nsetup.\n\n* Instructions\n\nExecute the src blocks one at a time with =ctrl-c ctrl-c= to\nensure that =ob-async-org-babel-execute-src-block= is used for files\nwith the :async header-arg. If by the end of this file your issue\nisn't solved, open an issue on Github with the contents of this file.\n\nFirst, make sure you can execute emacs-lisp src blocks *without* the\nasync header argument. Otherwise you've got bigger problems, and none\nof this is going to work.\n\n#+BEGIN_SRC emacs-lisp\n(message \"Yes, I can synchronously execute emacs-lisp from an org-babel src block.\")\n#+END_SRC\n\n#+RESULTS:\n: Yes, I can synchronously execute emacs-lisp from an org-babel src block.\n\n* Checklist\n\nFirst, let's make sure you can run a basic async process *without*\n=org-babel= and/or =ob-async= (this is adapted from the example in the\n[[https://github.com/jwiegley/emacs-async][emacs-async README]])\n\n#+BEGIN_SRC emacs-lisp :result value\n  (makunbound 'ob-async/troubleshooting-sentinel) ;; make it re-entrant\n\n  (async-start\n   ;; What to do in the child process\n   (lambda ()\n    (message \"This is a test\")\n    222)\n   ;; What to do (in the parent) when the child finishes\n   (lambda (result)\n     (setq ob-async/troubleshooting-sentinel result)\n     (format \"Async process done, result should be 222: %s\" result)))\n\n  (let ((elapsed-secs 0)\n        (deadline-secs 5))\n    (while (and\n            (not (boundp 'ob-async/troubleshooting-sentinel))\n            (< elapsed-secs deadline-secs))\n      (incf elapsed-secs)\n      (sleep-for 1)))\n\n  (if (boundp 'ob-async/troubleshooting-sentinel)\n      (message \"Yes, we are able to run async functions (result was %s)\"\n               ob-async/troubleshooting-sentinel)\n    (message \"Failed to run a basic async function!\"))\n#+END_SRC\n\n#+RESULTS:\n: Yes, we are able to run async functions (result was 222)\n\nFrom where are you loading =ob-async=?\n\n#+BEGIN_SRC emacs-lisp\n(symbol-file 'ob-async-org-babel-execute-src-block)\n#+END_SRC\n\n#+RESULTS:\n: c:/Users/simend/.emacs.d/.local/etc/@/init.29.elc\n\n#+BEGIN_SRC emacs-lisp\n(message \"PID: %s\\nEmacs version: %s\\norg version: %s\\nPath to org: %s\" (emacs-pid) (emacs-version) (org-version) (symbol-file 'org-version))\n#+END_SRC\n\n#+RESULTS:\n: PID: 16704\n: Emacs version: GNU Emacs 29.1 (build 2, x86_64-w64-mingw32)\n:  of 2023-08-02\n: org version: 9.7\n: Path to org: c:/Users/simend/.emacs.d/.local/etc/@/init.29.elc\n\nExecution of the :async block occurs in an Emacs subprocess. Are you\nusing a consistent version of emacs and org-mode across both\nprocesses? Compare the output of this block the output of the previous block.\n\n#+BEGIN_SRC emacs-lisp :async\n(message \"PID: %s\\nEmacs version: %s\\norg version: %s\\nPath to org: %s\" (emacs-pid) (emacs-version) (org-version) (symbol-file 'org-version))\n#+END_SRC\n\n#+RESULTS:\n: 54d737a87ef2e7e9e03c90f4f09122bd\n\nNOTE: :async is what triggers the problem:\n#+begin_example\nerror in process sentinel: async-when-done: Invalid read syntax: \"#\"\nerror in process sentinel: Invalid read syntax: \"#\"\n#+end_example\n\nThe Emacs subprocess inherits the value of =org-babel-load-languages=\nfrom its parent. Here are the languages which are loaded in the\nsubprocess. If you don't see your desired language here, it means you\nnever added it to =org-babel-load-languages= (in the parent process).\n\n#+BEGIN_SRC emacs-lisp :async\norg-babel-load-languages\n#+END_SRC\n\n#+RESULTS:\n: 73daf71145efe40e1cf0bfe81275a91b\n\nIf you're still facing problems, turn on async debugging.\n\n#+BEGIN_SRC emacs-lisp\n(setq async-debug t)\n#+END_SRC\n\n#+RESULTS:\n: t\n\nIf possible, replace the following block with a block that reproduces\nyour problem, then execute it.\n\n#+BEGIN_SRC emacs-lisp :async\n(message \"I'm executed in a subprocess.\")\n#+END_SRC\n\n#+RESULTS:\n: 8e455a115c5f3ef82036de32b1b6f6c8\n\nThis is the elisp that was sent to the Emacs subprocess. If there's\nstill nothing obviously wrong, file an issue on GitHub and include the\ncontents of this file as a Gist.\n\n#+BEGIN_SRC emacs-lisp\n  (switch-to-buffer \"*Messages*\")\n  (goto-char (point-max))\n  (re-search-backward \"Transmitting sexp {{{\\\\([^}]+\\\\)}}}\")\n  (match-string 1)\n#+END_SRC\n\n* Bug Description\n\nIf your issue still hasn't been resolved, describe it here.\n" org-babel-exp-call-line-template "" org-babel-python-mode 'python org-babel-expand-noweb-references--cache-buffer
         '(#<buffer system.org> . 286268)
         org-babel-default-header-args:bash nil org-babel-tangle-uncomment-comments nil org-babel-process-comment-text 'org-remove-indentation org-babel-temporary-directory "c:/tmp/SIMEND~1/babel-Eo07Fb" org-babel-comint-async-buffers nil org-babel-results-keyword "RESULTS" org-babel-current-src-block-location 3786 org-babel-default-lob-header-args
         '((:sync)
           (:exports . "results"))
         org-babel-key-prefix "��" org-babel-default-header-args:posh nil)
   (package-initialize)
   (setq ob-async-pre-execute-src-block-hook 'nil)
   (run-hooks 'ob-async-pre-execute-src-block-hook)
   (org-babel-do-load-languages 'org-babel-load-languages
                                '((shell . t)
                                  (vimrc . t)
                                  (emacs-lisp . t)))
   (let
       ((default-directory "c:/tmp/"))
     (with-temp-buffer
       (insert org-babel-async-content)
       (org-babel-execute:emacs-lisp "(message \"I'm executed in a subprocess.\")"
                                     '((:colname-names)
                                       (:rowname-names)
                                       (:result-params "replace")
                                       (:result-type . value)
                                       (:results . "replace")
                                       (:exports . "code")
                                       (:async)
                                       (:lexical . "no")
                                       (:tangle . "no")
                                       (:hlines . "no")
                                       (:noweb . "no")
                                       (:cache . "no")
                                       (:session . "none"))))))
}}}

Bug Description

:async gives the following errors in *Messages*:

error in process sentinel: async-when-done: Invalid read syntax: "#"
error in process sentinel: Invalid read syntax: "#"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment