Skip to content

:noweb yes breaking ob-async with error in process sentinel: Invalid read syntax: "#" #99

@bschwehn

Description

@bschwehn

Checklist

  • I followed the troubleshooting guide and it did not address my issue

  • I've included a link to a Github Gist with the full contents of my troubleshooting.org buffer

  • Each section below is filled in and includes sufficient detail to reproduce the issue

Expected Behavior

Async execution working or at least only failing once when using :noweb yes

Actual Behavior

After executing a code block with :async and :noweb yes, all subsequent executions with :async fail with error

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

Steps to Reproduce

execute

#+begin_src shell :async
echo ff
#+end_src

=> this should work asyncronously

execute

#+begin_src shell :async :noweb yes
echo ff
#+end_src

=> this fails with "Invalid read syntax: "#"

now

#+begin_src shell :async
echo ff
#+end_src

also fails and keeps failing until restarting emacs.

I have tried the workaround that was suggested in #75

(defun no-hide-overlays (orig-fun &rest args)
  (setq org-babel-hide-result-overlays nil))

(advice-add 'ob-async-org-babel-execute-src-block :before #'no-hide-overlays)

but no difference

Troubleshooting Artifacts

https://gist.githubusercontent.com/bschwehn/0d36feaa9c0c681295eb4b955da90919/raw/9feca662ccdcb685c84bcd65a37be7b7b83b7b22/troubleshooting.org

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions