You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Next, I hit a wrong-number-of-arguments error coming from the async process, which I manually traced to jupyter-repl-initialize-fontification. For some reason, the font-lock-defaults is nil in the child process's julia REPL buffer. This cascades to cl-destructuring-bind getting a nil argument, causing the error. Note, this doesn't happen for me with a Python 3 kernel.
I bypassed the fontification and re-executed the async request. Now I see the following:
Wrong type argument: jupyter-org-request, #s(jupyter-request "3bd5f75b-e8d4-4a7f-bdc7-040817931111" (23688 2124 987084 825000) nil nil nil nil)
Error running timer ‘jupyter-handle-message’: (error "Cell for request not found")
This also happens for the Python 3 kernel, making me suspect my setup (assuming it works for other people).
Aside: I'd also love to know how people debug async issues. I've been setting async-debug to get the transmitted sexp. I then manually run that sexp in a separate emacs process, which I launch like: emacs -Q -l /home/dan/.emacs.d/elpa/develop/async-20181224.454/async.el -f async-batch-invoke "<none>" (based on implementation of async-start).
The text was updated successfully, but these errors were encountered:
I think you might be running into #32, emacs-jupyter doesn't use the ob-async package for communication, but ob-async also handles the :async argument which seems to interfere with emacs-jupyter. The fix is to set ob-async-no-async-languages-alist to exclude emacs-jupyter. Should probably add a note about this in the README...
I'm trying to run a block like this with a Julia 1.0.3 kernel on
emacs-jupyter
commitea5ae74
:I first hit this issue, so I set:
Next, I hit a
wrong-number-of-arguments
error coming from the async process, which I manually traced tojupyter-repl-initialize-fontification
. For some reason, thefont-lock-defaults
isnil
in the child process's julia REPL buffer. This cascades tocl-destructuring-bind
getting anil
argument, causing the error. Note, this doesn't happen for me with a Python 3 kernel.I bypassed the fontification and re-executed the async request. Now I see the following:
This also happens for the Python 3 kernel, making me suspect my setup (assuming it works for other people).
Aside: I'd also love to know how people debug async issues. I've been setting
async-debug
to get the transmitted sexp. I then manually run that sexp in a separate emacs process, which I launch like:emacs -Q -l /home/dan/.emacs.d/elpa/develop/async-20181224.454/async.el -f async-batch-invoke "<none>"
(based on implementation ofasync-start
).The text was updated successfully, but these errors were encountered: