astahlman / ob-async

Asynchronous src_block execution for org-babel
343 stars 32 forks source link

Async blocks fail when called from a table formula with org-sbe #97

Open mkrauss opened 1 year ago

mkrauss commented 1 year ago

Checklist

Expected Behavior

When calling an async block from a table formula with org-sbe, it should execute asynchronously and eventually populate the table cell(s) with the results.

Actual Behavior

It immediately populates the cell(s) with #ERROR

Steps to Reproduce

  1. Create a named async source block, let's call it gimme_that
  2. Create a table
  3. Add a formula to the table which calls the source block using org-sbe, such as $1='(org-sbe "gimme_that")
  4. Refresh the table formulas

Also, see the requested gist below.

Troubleshooting Artifacts

https://gist.github.com/mkrauss/3a908cb8bdf7ac9e0fcd5a660d161d0e