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 ...@@ -347,13 +347,13 @@ milliseconds. If TIMEOUT expires before a message has been received, return
(() (()
#f) #f)
((item rest ...) ((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 ;; Heartbeat messages are raw "bytestrings" that should be echoed
;; back right away. ;; back right away.
(if (eq? socket (kernel-heartbeat kernel)) (if (eq? socket (kernel-heartbeat kernel))
(zmq-get-msg-bytevector socket) parts
(parts->message (parts->message parts)))))))
(zmq-get-msg-parts-bytevector socket))))))))
(define* (send-message kernel message (define* (send-message kernel message
#:key #: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