Open
Description
Hi there.
Thanks for developing this amazing package.
I recently got some issues with completion in a src_block after last version update.
Initially I had the issue mentioned in #582 and #591. I applied the suggested patch
and went well for a while.
Now I'm getting a similar issue.
When I try to choose a completion from the company menu, I get this error from the debugger:
Debugger entered--Lisp error: (zmq-subprocess-error invalid-read-syntax ("#"))
signal(zmq-subprocess-error (invalid-read-syntax ("#")))
zmq--subprocess-filter(#<process zmq<8>> "(error invalid-read-syntax (\"#\"))")
accept-process-output(nil 0.25)
jupyter-wait-until-idle(#s(jupyter-request :id "6424069a-8d78-4eae-9394-a46bafe7b2b5" :type "inspect_request" :content (:code #("headers" 0 1 (face (completions-first-difference) annot " instance" docsig #("headers" 0 1 (docsig #("headers" 0 1 ...))))) :cursor_pos 1 :detail_level 0) :client #<jupyter-org-client jupyter-org-client-16ebd728> :time (26743 31760 385674 942000) :idle-p nil :last-message nil :messages nil :message-publisher #f(compiled-function (pub-value) #<bytecode 0x17725dca3c846fc9>) :inhibited-handlers nil) nil)
#f(compiled-function (req) #<bytecode -0x138b80096997d8ee>)(#s(jupyter-request :id "6424069a-8d78-4eae-9394-a46bafe7b2b5" :type "inspect_request" :content (:code #("headers" 0 1 (face (completions-first-difference) annot " instance" docsig #("headers" 0 1 (docsig #("headers" 0 1 ...))))) :cursor_pos 1 :detail_level 0) :client #<jupyter-org-client jupyter-org-client-16ebd728> :time (26743 31760 385674 942000) :idle-p nil :last-message nil :messages nil :message-publisher #f(compiled-function (pub-value) #<bytecode 0x17725dca3c846fc9>) :inhibited-handlers nil))
#f(compiled-function (state) #<bytecode -0x1d90e9b38506d041>)(#<jupyter-org-client jupyter-org-client-16ebd728>)
#f(compiled-function (state) #<bytecode 0xe337d6691f74a77>)(#<jupyter-org-client jupyter-org-client-16ebd728>)
#f(compiled-function (state) #<bytecode 0xe337d6691b02077>)(#<jupyter-org-client jupyter-org-client-16ebd728>)
#f(compiled-function (state) #<bytecode -0x10f67ea3d622588f>)(#<jupyter-org-client jupyter-org-client-16ebd728>)
jupyter-run-with-state(#<jupyter-org-client jupyter-org-client-16ebd728> #f(compiled-function (state) #<bytecode -0x10f67ea3d622588f>))
#f(compiled-function (code &optional pos buffer detail) #<bytecode -0x1ebeb57a5ed29c14>)(#("headers" 0 1 (face (completions-first-difference) annot " instance" docsig #("headers" 0 1 (docsig #("headers" 0 1 (annot " instance" docsig #8)))))) 1 #<buffer *company-documentation*>)
apply(#f(compiled-function (code &optional pos buffer detail) #<bytecode -0x1ebeb57a5ed29c14>) (#("headers" 0 1 (face (completions-first-difference) annot " instance" docsig #("headers" 0 1 (docsig #("headers" 0 1 (annot " instance" docsig #10)))))) 1 #<buffer *company-documentation*>))
#f(compiled-function (&rest args) #<bytecode -0xa8617ee4e366ad2>)()
#f(compiled-function () #<bytecode 0x1834b9645c312556>)()
jupyter-org--with-src-block-client(#f(compiled-function () #<bytecode 0x1834b9645c312556>))
#f(compiled-function (cl--cnm &rest ignore) #<bytecode -0x596d1ad2d833d35>)(#f(compiled-function (&rest args) #<bytecode -0xa8617ee4e366ad2>) #("headers" 0 1 (face (completions-first-difference) annot " instance" docsig #("headers" 0 1 (docsig #("headers" 0 1 (annot " instance" docsig #9)))))) 1 #<buffer *company-documentation*>)
apply(#f(compiled-function (cl--cnm &rest ignore) #<bytecode -0x596d1ad2d833d35>) #f(compiled-function (&rest args) #<bytecode -0xa8617ee4e366ad2>) (#("headers" 0 1 (face (completions-first-difference) annot " instance" docsig #("headers" 0 1 (docsig #("headers" 0 1 (annot " instance" docsig #11)))))) 1 #<buffer *company-documentation*>))
#f(compiled-function (&rest ignore) #<bytecode -0x2b85abd850eb0ef>)(#("headers" 0 1 (face (completions-first-difference) annot " instance" docsig #("headers" 0 1 (docsig #("headers" 0 1 (annot " instance" docsig #8)))))) 1 #<buffer *company-documentation*>)
apply(#f(compiled-function (&rest ignore) #<bytecode -0x2b85abd850eb0ef>) (#("headers" 0 1 (face (completions-first-difference) annot " instance" docsig #("headers" 0 1 (docsig #("headers" 0 1 (annot " instance" docsig #10)))))) 1 #<buffer *company-documentation*>))
jupyter-inspect(#("headers" 0 1 (face (completions-first-difference) annot " instance" docsig #("headers" 0 1 (docsig #("headers" 0 1 (annot " instance" docsig #8)))))) 1 #<buffer *company-documentation*>)
jupyter-completion--company-doc-buffer(#("headers" 0 1 (face (completions-first-difference) annot " instance" docsig #("headers" 0 1 (docsig #("headers" 0 1 (annot " instance" docsig #8)))))))
company-capf(doc-buffer #("headers" 0 1 (face (completions-first-difference) annot " instance" docsig #("headers" 0 1 (docsig #("headers" 0 1 (annot " instance" docsig #9)))))))
apply(company-capf (doc-buffer #("headers" 0 1 (face (completions-first-difference) annot " instance" docsig #("headers" 0 1 (docsig #("headers" 0 1 (annot " instance" docsig #11))))))))
company-call-backend-raw(doc-buffer #("headers" 0 1 (face (completions-first-difference) annot " instance" docsig #("headers" 0 1 (docsig #("headers" 0 1 (annot " instance" docsig #9)))))))
company--force-sync(company-call-backend-raw (doc-buffer #("headers" 0 1 (face (completions-first-difference) annot " instance" docsig #("headers" 0 1 (docsig #("headers" 0 1 (annot " instance" docsig #11))))))) company-capf)
company-call-backend(doc-buffer #("headers" 0 1 (face (completions-first-difference) annot " instance" docsig #("headers" 0 1 (docsig #("headers" 0 1 (annot " instance" docsig #9)))))))
company-posframe-quickhelp-fetch-docstring(#("headers" 0 1 (face (completions-first-difference) annot " instance" docsig #("headers" 0 1 (docsig #("headers" 0 1 (annot " instance" docsig #8)))))))
company-posframe-quickhelp-doc(#("headers" 0 1 (face (completions-first-difference) annot " instance" docsig #("headers" 0 1 (docsig #("headers" 0 1 (annot " instance" docsig #8)))))))
company-posframe-quickhelp-show()
apply(company-posframe-quickhelp-show nil)
timer-event-handler([t 0 1 0 nil company-posframe-quickhelp-show nil idle 0 nil])
And this second error just after typing "q" in the debugger window
Debugger entered--Lisp error: (error "Company: backend company-capf error \"Selecting del...")
error("Company: backend %s error \"%s\" with args %s" company-capf "Selecting deleted buffer" (doc-buffer #("skip_ssl" 0 1 (face (completions-first-difference) annot " instance" docsig #("skip_ssl" 0 1 (docsig #("skip_ssl" 0 1 (annot " instance" docsig #13))))))))
company-call-backend-raw(doc-buffer #("skip_ssl" 0 1 (face (completions-first-difference) annot " instance" docsig #("skip_ssl" 0 1 (docsig #("skip_ssl" 0 1 (annot " instance" docsig #9)))))))
company--force-sync(company-call-backend-raw (doc-buffer #("skip_ssl" 0 1 (face (completions-first-difference) annot " instance" docsig #("skip_ssl" 0 1 (docsig #("skip_ssl" 0 1 (annot " instance" docsig #11))))))) company-capf)
company-call-backend(doc-buffer #("skip_ssl" 0 1 (face (completions-first-difference) annot " instance" docsig #("skip_ssl" 0 1 (docsig #("skip_ssl" 0 1 (annot " instance" docsig #9)))))))
company-posframe-quickhelp-fetch-docstring(#("skip_ssl" 0 1 (face (completions-first-difference) annot " instance" docsig #("skip_ssl" 0 1 (docsig #("skip_ssl" 0 1 (annot " instance" docsig #8)))))))
company-posframe-quickhelp-doc(#("skip_ssl" 0 1 (face (completions-first-difference) annot " instance" docsig #("skip_ssl" 0 1 (docsig #("skip_ssl" 0 1 (annot " instance" docsig #8)))))))
company-posframe-quickhelp-show()
apply(company-posframe-quickhelp-show nil)
timer-event-handler([t 0 1 0 nil company-posframe-quickhelp-show nil idle 0 nil])
Then when I type something else I get this:
Debugger entered--Lisp error: (zmq-subprocess-error wrong-type-argument (user-ptrp nil))
signal(zmq-subprocess-error (wrong-type-argument (user-ptrp nil)))
zmq--subprocess-filter(#<process zmq<8>> "(error wrong-type-argument (user-ptrp nil))")
which makes the kernel unavailable and I need to restart it.
Anyone has an idea of what's the issue and how to solve it?
Thanks a lot!
Metadata
Metadata
Assignees
Labels
No labels