Alas, that does not work.
For the record: I did rename JDemo/J805 to JDemo/J806 and then replaced “805” by “806” in each of the following files in the JDemo folder: jhs.sh jupyter-notebook-command qjide.cfg/qjide.cfg Python3/lib/python3.6/site-packages/jkernel qjide.sh But when I run jupyter-notebook-command and open an .ipynb from labs-notebook, the J kernel dies and I get a bunch of errors in Terminal, shown below. The odd one is about the syntax error in line JInsFol = os.path.join(jdp,'J806’) in file JDemo/Python3/lib/python3.6/site-packages/jkernel/qjide.cfg %%%%%%%% [murray:~]$ /Applications/JDemo/jupyter-notebook.command ; exit; [I 14:57:50.243 NotebookApp] Serving notebooks from local directory: /Applications/JDemo [I 14:57:50.243 NotebookApp] 0 active kernels [I 14:57:50.243 NotebookApp] The Jupyter Notebook is running at: http://localhost:8888/?token=fbd02d3be4229f77454bcafa9364b4438a10585e728a1a47 [I 14:57:50.243 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 14:57:50.249 NotebookApp] Copy/paste this URL into your browser when you connect for the first time, to login with a token: http://localhost:8888/?token=fbd02d3be4229f77454bcafa9364b4438a10585e728a1a47 0:97: execution error: "http://localhost:8888/tree?token=01f8050b8d3da8dd90415e14158be13e8b8b32f4ac08d121" doesn’t understand the “open location” message. (-1708) [I 14:58:09.943 NotebookApp] 302 GET /?token=fbd02d3be4229f77454bcafa9364b4438a10585e728a1a47 (::1) 0.71ms [W 14:58:36.180 NotebookApp] Notebook labs-notebook/core/A_J_Introduction.ipynb is not trusted [W 14:58:36.300 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20170604145749 (::1) 6.35ms referer=http://localhost:8888/notebooks/labs-notebook/core/A_J_Introduction.ipynb [I 14:59:07.910 NotebookApp] Kernel started: 58c3814d-78a2-4d2e-b83b-a4790ca7722f Traceback (most recent call last): File "/Applications/JDemo/Python3/lib/python3.6/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/Applications/JDemo/Python3/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/Applications/JDemo/Python3/lib/python3.6/site-packages/jkernel/jkernel.py", line 32, in <module> import qjide File "/Applications/JDemo/Python3/lib/python3.6/site-packages/jkernel/qjide.py", line 166, in <module> code = compile(fp.read(),cfg,'exec') File "/Applications/JDemo/Python3/lib/python3.6/site-packages/jkernel/qjide.cfg", line 67 JInsFol = os.path.join(jdp,'J806’) ^ SyntaxError: EOL while scanning string literal [I 14:59:10.911 NotebookApp] KernelRestarter: restarting kernel (1/5) Traceback (most recent call last): File "/Applications/JDemo/Python3/lib/python3.6/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/Applications/JDemo/Python3/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/Applications/JDemo/Python3/lib/python3.6/site-packages/jkernel/jkernel.py", line 32, in <module> import qjide File "/Applications/JDemo/Python3/lib/python3.6/site-packages/jkernel/qjide.py", line 166, in <module> code = compile(fp.read(),cfg,'exec') File "/Applications/JDemo/Python3/lib/python3.6/site-packages/jkernel/qjide.cfg", line 67 JInsFol = os.path.join(jdp,'J806’) ^ SyntaxError: EOL while scanning string literal [I 14:59:13.917 NotebookApp] KernelRestarter: restarting kernel (2/5) Traceback (most recent call last): File "/Applications/JDemo/Python3/lib/python3.6/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/Applications/JDemo/Python3/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/Applications/JDemo/Python3/lib/python3.6/site-packages/jkernel/jkernel.py", line 32, in <module> import qjide File "/Applications/JDemo/Python3/lib/python3.6/site-packages/jkernel/qjide.py", line 166, in <module> code = compile(fp.read(),cfg,'exec') File "/Applications/JDemo/Python3/lib/python3.6/site-packages/jkernel/qjide.cfg", line 67 JInsFol = os.path.join(jdp,'J806’) ^ SyntaxError: EOL while scanning string literal [I 14:59:16.922 NotebookApp] KernelRestarter: restarting kernel (3/5) Traceback (most recent call last): File "/Applications/JDemo/Python3/lib/python3.6/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/Applications/JDemo/Python3/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/Applications/JDemo/Python3/lib/python3.6/site-packages/jkernel/jkernel.py", line 32, in <module> import qjide File "/Applications/JDemo/Python3/lib/python3.6/site-packages/jkernel/qjide.py", line 166, in <module> code = compile(fp.read(),cfg,'exec') File "/Applications/JDemo/Python3/lib/python3.6/site-packages/jkernel/qjide.cfg", line 67 JInsFol = os.path.join(jdp,'J806’) ^ SyntaxError: EOL while scanning string literal [W 14:59:18.296 NotebookApp] Timeout waiting for kernel_info reply from 58c3814d-78a2-4d2e-b83b-a4790ca7722f [I 14:59:19.930 NotebookApp] KernelRestarter: restarting kernel (4/5) WARNING:root:kernel 58c3814d-78a2-4d2e-b83b-a4790ca7722f restarted Traceback (most recent call last): File "/Applications/JDemo/Python3/lib/python3.6/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/Applications/JDemo/Python3/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/Applications/JDemo/Python3/lib/python3.6/site-packages/jkernel/jkernel.py", line 32, in <module> import qjide File "/Applications/JDemo/Python3/lib/python3.6/site-packages/jkernel/qjide.py", line 166, in <module> code = compile(fp.read(),cfg,'exec') File "/Applications/JDemo/Python3/lib/python3.6/site-packages/jkernel/qjide.cfg", line 67 JInsFol = os.path.join(jdp,'J806’) ^ SyntaxError: EOL while scanning string literal [W 14:59:22.937 NotebookApp] KernelRestarter: restart failed [W 14:59:22.937 NotebookApp] Kernel 58c3814d-78a2-4d2e-b83b-a4790ca7722f died, removing from map. ERROR:root:kernel 58c3814d-78a2-4d2e-b83b-a4790ca7722f restarted failed! [W 14:59:23.119 NotebookApp] Kernel deleted before session [W 14:59:23.119 NotebookApp] 410 DELETE /api/sessions/865e0d04-58c1-4697-8b97-79da922b7778 (::1) 0.88ms referer=http://localhost:8888/notebooks/labs-notebook/core/A_J_Introduction.ipynb > On 3 Jun 2017 13:36:14 -0700,chris burke <[email protected] > <mailto:[email protected]>> wrote: > > Install j806 anywhere on your system and then copy over the j806 binaries > to the Jupyter J805/bin directory. > > There is no need to rename the Jupyter J805 folder. If you want to do that, > you need to search and replace the name in the rest of the Jupyter files. > > On Sat, Jun 3, 2017 at 12:33 PM, Murray Eisenberg <[email protected] > <mailto:[email protected]>> > wrote: > >> Is a J806 version of the integrated JDemo packaged J + jupiter available >> for macOS? >> >> If not, what is involved in replacing the J805 folder (or other files) >> inside the J805 version of JDemo? >> >> >>> On May 11, 2017, at 8:00 AM, Martin Saurer <[email protected] >>> <mailto:[email protected]> >> <mailto:[email protected] <mailto:[email protected]>>> wrote: >>> >>> The packaged Jupyter Notebook environments are made available, to >> provide people >>> who are interested in the J / Jupyter Notebook - Integration an easy >> (batteries included) >>> way to test it without cluttering their existing Jupyter environments. >>> >>> So I think yes, there is really a need for these packages. >>> >>> I can confirm that J806 beta works with the existing jkernel. Chris has >> successfully >>> tested it on a Mac, and I have tested it on Windows. So it seems that >> it's not an issue >>> with jkernel and J806 beta…. —— Murray Eisenberg [email protected] Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 240 246-7240 (H) University of Massachusetts 710 North Pleasant Street Amherst, MA 01003-9305 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
