Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in process filter: Cannot modify map in-place: nil #278

Open
jmikedupont2 opened this issue Oct 21, 2024 · 1 comment
Open

error in process filter: Cannot modify map in-place: nil #278

jmikedupont2 opened this issue Oct 21, 2024 · 1 comment

Comments

@jmikedupont2
Copy link

In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.41, cairo version 1.18.0)
System Description: Ubuntu 22.04.1 LTS
installed via guix.

In indium version from nix nix-shell -p emacsPackages.indium,

does not load. gives error in process filter: Cannot modify map in-place: nil

debug on error gives

Debugger entered--Lisp error: (map-not-inplace nil) signal(map-not-inplace (nil)) #f(compiled-function (map key value &optional testfn) #<bytecode -0xdd036863752a15a>)(nil 1 (closure ((dir . "/mnt/data1/nix/time/2024/08/28/o1js/dist/node/lib/proof-system/")) (configurations) (let* ((conf (and t (indium-interaction--read-configuration configurations)))) (if conf (indium-client-connect dir (map-elt conf 'name)) nil)))) apply(#f(compiled-function (map key value &optional testfn) #<bytecode -0xdd036863752a15a>) nil (1 (closure ((dir . "/mnt/data1/nix/time/2024/08/28/o1js/dist/node/lib/proof-system/")) (configurations) (let* ((conf (and t (indium-interaction--read-configuration configurations)))) (if conf (indium-client-connect dir (map-elt conf 'name)) nil))))) map-put!(nil 1 (closure ((dir . "/mnt/data1/nix/time/2024/08/28/o1js/dist/node/lib/proof-system/")) (configurations) (let* ((conf (and t (indium-interaction--read-configuration configurations)))) (if conf (indium-client-connect dir (map-elt conf 'name)) nil)))) #f(compiled-function (callback message) #<bytecode -0xad2146d472806c9>)((closure ((dir . "/mnt/data1/nix/time/2024/08/28/o1js/dist/node/lib/proof-system/")) (configurations) (let* ((conf (and t (indium-interaction--read-configuration configurations)))) (if conf (indium-client-connect dir (map-elt conf 'name)) nil))) ((id . 1) (type . "configurations") (payload (action . "list") (directory . "/mnt/data1/nix/time/2024/08/28/o1js/dist/node/lib/proof-system/")))) json-process-client--save-callback(#s(json-process-client-application :name "indium" :process #<process indium-process<1>> :port 13840 :connection #<process indium-connection> :executable "/home/mdupont/.config/nvm/versions/node/v18.17.0/bin/indium" :args ("13840") :tcp-started-callback (closure ((dir . "/mnt/data1/nix/time/2024/08/28/o1js/dist/node/lib/proof-system/")) nil (indium-client-list-configurations dir #'(lambda (configurations) (let* (...) (if conf ... nil))))) :message-callbacks #<hash-table eql 0/0 0x8ed9c2 ...> :debug-buffer #<buffer *indium-debug-log*> :started-regexp "server listening" :save-callback #f(compiled-function (callback message) #<bytecode -0xad2146d472806c9>) :exec-callback #f(compiled-function (response) #<bytecode 0xfddbaab4aa55e39>) :delete-callback #f(compiled-function (response) #<bytecode -0xc719e202a85d096>) :write-id #f(compiled-function () #<bytecode 0xde7dc495f7ba1a0>)) (closure ((dir . "/mnt/data1/nix/time/2024/08/28/o1js/dist/node/lib/proof-system/")) (configurations) (let* ((conf (and t (indium-interaction--read-configuration configurations)))) (if conf (indium-client-connect dir (map-elt conf 'name)) nil))) ((id . 1) (type . "configurations") (payload (action . "list") (directory . "/mnt/data1/nix/time/2024/08/28/o1js/dist/node/lib/proof-system/")))) json-process-client-send(#s(json-process-client-application :name "indium" :process #<process indium-process<1>> :port 13840 :connection #<process indium-connection> :executable "/home/mdupont/.config/nvm/versions/node/v18.17.0/bin/indium" :args ("13840") :tcp-started-callback (closure ((dir . "/mnt/data1/nix/time/2024/08/28/o1js/dist/node/lib/proof-system/")) nil (indium-client-list-configurations dir #'(lambda (configurations) (let* (...) (if conf ... nil))))) :message-callbacks #<hash-table eql 0/0 0x8ed9c2 ...> :debug-buffer #<buffer *indium-debug-log*> :started-regexp "server listening" :save-callback #f(compiled-function (callback message) #<bytecode -0xad2146d472806c9>) :exec-callback #f(compiled-function (response) #<bytecode 0xfddbaab4aa55e39>) :delete-callback #f(compiled-function (response) #<bytecode -0xc719e202a85d096>) :write-id #f(compiled-function () #<bytecode 0xde7dc495f7ba1a0>)) ((type . "configurations") (payload (action . "list") (directory . "/mnt/data1/nix/time/2024/08/28/o1js/dist/node/lib/proof-system/"))) (closure ((dir . "/mnt/data1/nix/time/2024/08/28/o1js/dist/node/lib/proof-system/")) (configurations) (let* ((conf (and t (indium-interaction--read-configuration configurations)))) (if conf (indium-client-connect dir (map-elt conf 'name)) nil)))) indium-client-send(((type . "configurations") (payload (action . "list") (directory . "/mnt/data1/nix/time/2024/08/28/o1js/dist/node/lib/proof-system/"))) (closure ((dir . "/mnt/data1/nix/time/2024/08/28/o1js/dist/node/lib/proof-system/")) (configurations) (let* ((conf (and t (indium-interaction--read-configuration configurations)))) (if conf (indium-client-connect dir (map-elt conf 'name)) nil)))) indium-client-list-configurations("/mnt/data1/nix/time/2024/08/28/o1js/dist/node/lib/proof-system/" (closure ((dir . "/mnt/data1/nix/time/2024/08/28/o1js/dist/node/lib/proof-system/")) (configurations) (let* ((conf (and t (indium-interaction--read-configuration configurations)))) (if conf (indium-client-connect dir (map-elt conf 'name)) nil)))) (closure ((dir . "/mnt/data1/nix/time/2024/08/28/o1js/dist/node/lib/proof-system/")) nil (indium-client-list-configurations dir #'(lambda (configurations) (let* ((conf (and t ...))) (if conf (indium-client-connect dir (map-elt conf ...)) nil)))))() json-process-client--open-network-stream(#s(json-process-client-application :name "indium" :process #<process indium-process<1>> :port 13840 :connection #<process indium-connection> :executable "/home/mdupont/.config/nvm/versions/node/v18.17.0/bin/indium" :args ("13840") :tcp-started-callback (closure ((dir . "/mnt/data1/nix/time/2024/08/28/o1js/dist/node/lib/proof-system/")) nil (indium-client-list-configurations dir #'(lambda (configurations) (let* (...) (if conf ... nil))))) :message-callbacks #<hash-table eql 0/0 0x8ed9c2 ...> :debug-buffer #<buffer *indium-debug-log*> :started-regexp "server listening" :save-callback #f(compiled-function (callback message) #<bytecode -0xad2146d472806c9>) :exec-callback #f(compiled-function (response) #<bytecode 0xfddbaab4aa55e39>) :delete-callback #f(compiled-function (response) #<bytecode -0xc719e202a85d096>) :write-id #f(compiled-function () #<bytecode 0xde7dc495f7ba1a0>))) #f(compiled-function (process output) #<bytecode 0x1398facfeba960a6>)(#<process indium-process<1>> "Indium server listening on 13840\n")
@jeremy302
Copy link

Same error occurs on my machine. windows 11 + emacs 29.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants