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

SBCL 1.3.15 lisp kernel errors #31

Open
athena007 opened this issue May 5, 2017 · 1 comment
Open

SBCL 1.3.15 lisp kernel errors #31

athena007 opened this issue May 5, 2017 · 1 comment

Comments

@athena007
Copy link

Hello Fredokun

I am almost through getting cl-jupyter to run on windows 7 with the following
Jupyter console 5.1.0
Jupyter notebook 5
sbcl 1.3.15
latest quicklisp
C:\Users\athena> jupyter console --kernel=lisp

This is SBCL 1.3.15, an implementation of ANSI Common Lisp.
More information about SBCL is available at http://www.sbcl.org/.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.

WARNING: the Windows port is fragile, particularly for multithreaded
code. Unfortunately, the development team currently lacks the time
and resources this platform demands.
To load "cl-jupyter":
Load 1 ASDF system:
cl-jupyter
; Loading "cl-jupyter"
.....

cl-jupyter: an enhanced interactive Common Lisp REPL
(Version 0.7 - Jupyter protocol v.5.0)
--> (C) 2014-2015 Frederic Peschanski (cf. LICENSE)

kernel configuration = ((shell_port . 51315) (iopub_port . 51316)
(stdin_port . 51317) (control_port . 51318)
(hb_port . 51319) (ip . 127.0.0.1)
(key . cca8a02f-2732-43a8-a9e3-a4ba2d74c81f)
(transport . tcp) (signature_scheme . hmac-sha256)
(kernel_name . lisp))

Unhandled SIMPLE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
{1002DB2B93}>:
Trying to access undefined foreign variable "errno".

Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {1002DB2B93}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<SIMPLE-ERROR "Trying to access undefined foreign variable ~S.
" {1006BEF483}> #)
1: (SB-DEBUG::RUN-HOOK SB-EXT:INVOKE-DEBUGGER-HOOK #<SIMPLE-ERROR "Trying to access undefined fore
ign variable ~S." {1006BEF483}>)
2: (INVOKE-DEBUGGER #<SIMPLE-ERROR "Trying to access undefined foreign variable ~S." {1006BEF483}>)
3: (ERROR "Trying to access undefined foreign variable ~S." "errno")
4: (CFFI::FS-POINTER-OR-LOSE "errno" :DEFAULT)
5: ((SETF PZMQ::%VAR-ACCESSOR-ERRNO) 0)
6: (PZMQ:SOCKET #.(SB-SYS:INT-SAP #X00A9ABA0) :ROUTER)
7: (CL-JUPYTER::MAKE-SHELL-CHANNEL #<CL-JUPYTER::KERNEL {1006B38063}>)
8: (KERNEL-START)
9: (SB-INT:SIMPLE-EVAL-IN-LEXENV (KERNEL-START) #)
10: (SB-EXT:EVAL-TLF (KERNEL-START) 5 NIL)
11: ((LABELS SB-FASL::EVAL-FORM :IN SB-INT:LOAD-AS-SOURCE) (KERNEL-START) 5)
12: ((LAMBDA (SB-KERNEL:FORM &KEY :CURRENT-INDEX &ALLOW-OTHER-KEYS) :IN SB-INT:LOAD-AS-SOURCE) (KERN
EL-START) :CURRENT-INDEX 5)
13: (SB-C::%DO-FORMS-FROM-INFO #<CLOSURE (LAMBDA (SB-KERNEL:FORM &KEY :CURRENT-INDEX &ALLOW-OTHER-KE
YS) :IN SB-INT:LOAD-AS-SOURCE) {100446A30B}> #<SB-C::SOURCE-INFO {100446A2C3}> SB-C::INPUT-ERROR-IN-
LOAD)
14: (SB-INT:LOAD-AS-SOURCE #<SB-INT:FORM-TRACKING-STREAM for "file C:\Users\athena\Git\cl-jupyter
\cl-jupyter.lisp" {1004467423}> :VERBOSE NIL :PRINT NIL :CONTEXT "loading")
15: ((FLET SB-FASL::LOAD-STREAM :IN LOAD) #<SB-INT:FORM-TRACKING-STREAM for "file C:\Users\athena\G
it\cl-jupyter\cl-jupyter.lisp" {1004467423}> NIL)
16: (LOAD #P"C:/Users/athena/Git/cl-jupyter/cl-jupyter.lisp" :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIS
T T :EXTERNAL-FORMAT :DEFAULT)
17: (SB-IMPL::PROCESS-EVAL/LOAD-OPTIONS ((:LOAD . "C:\Users\athena\Git\cl-jupyter/cl-jupyter.lisp"
) (:QUIT)))
18: (SB-IMPL::TOPLEVEL-INIT)
19: ((FLET #:WITHOUT-INTERRUPTS-BODY-74 :IN SB-EXT:SAVE-LISP-AND-DIE))
20: ((LABELS SB-IMPL::RESTART-LISP :IN SB-EXT:SAVE-LISP-AND-DIE))
21: ("foreign function: #x4301BC")

@fredokun
Copy link
Owner

This sounds like a cffi issue ? I have not yet tried cl-jupyter on windows but I will soon since I recently got a windows laptop...

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