Commit baaad11b authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

kernels: 'read-message' no longer calls a non-existent procedure.

* jupyter/kernels.scm (read-message): Remove call to non-existent
'zmq-get-msg-bytevector'.
parent 60fa602b
......@@ -347,13 +347,13 @@ milliseconds. If TIMEOUT expires before a message has been received, return
(()
#f)
((item rest ...)
(let ((socket (poll-item-socket item)))
(let* ((socket (poll-item-socket item))
(parts (zmq-get-msg-parts-bytevector socket)))
;; Heartbeat messages are raw "bytestrings" that should be echoed
;; back right away.
(if (eq? socket (kernel-heartbeat kernel))
(zmq-get-msg-bytevector socket)
(parts->message
(zmq-get-msg-parts-bytevector socket))))))))
parts
(parts->message parts)))))))
(define* (send-message kernel message
#:key
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment