gap-packages / JupyterKernel

Native Jupyter kernel for GAP
https://gap-packages.github.io/JupyterKernel/
BSD 3-Clause "New" or "Revised" License
19 stars 12 forks source link

Installation problem with russian localisation #84

Closed LianaKhazaliya closed 5 years ago

LianaKhazaliya commented 5 years ago

Install GAP in the directory path to which contains Cyrillic (/home/aliana/Загрузки/gap-4.10.0/) can cause the error that is given below. Jupyter Notebook indicates Kernel Error. It can be eliminated by transferring and recompiling GAP in another directory.

aliana@PortableStation:~$ jupyter notebook
[I 18:22:48.396 NotebookApp] Writing notebook server cookie secret to /run/user/1000/jupyter/notebook_cookie_secret
[I 18:22:50.330 NotebookApp] Serving notebooks from local directory: /home/aliana
[I 18:22:50.331 NotebookApp] The Jupyter Notebook is running at:
[I 18:22:50.331 NotebookApp] http://localhost:8888/?token=23c1b59594424ae494b193dde9c86f8d6fd253283dee5865
[I 18:22:50.331 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 18:22:50.334 NotebookApp] 

    Copy/paste this URL into your browser when you connect for the first time,
    to login with a token:
        http://localhost:8888/?token=23c1b59594424ae494b193dde9c86f8d6fd253283dee5865
[I 18:22:52.717 NotebookApp] Accepting one-time-token-authenticated connection from 127.0.0.1
[I 18:23:00.269 NotebookApp] Creating new notebook in 
[E 18:23:06.271 NotebookApp] Failed to run command:
    [u'jupyter-kernel-gap', u'/run/user/1000/jupyter/kernel-fc7e3e0f-6f9f-4e9c-b925-71b5d4e103e5.json']
        PATH='/home/aliana/.local/bin:/home/aliana/\xd0\x97\xd0\xb0\xd0\xb3\xd1\x80\xd1\x83\xd0\xb7\xd0\xba\xd0\xb8/gap-4.10.0/pkg/JupyterKernel-1.0/bin:/home/aliana/\xd0\x97\xd0\xb0\xd0\xb3\xd1\x80\xd1\x83\xd0\xb7\xd0\xba\xd0\xb8/gap-4.10.0/bin/:/home/aliana/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin'
        with kwargs:
    {'cwd': u'/home/aliana', 'stdin': -1, 'preexec_fn': <function <lambda> at 0x7f20746b2a28>, 'stderr': None, 'stdout': None}
olexandr-konovalov commented 5 years ago

I suggest to install GAP under some path that does only has english letters. I will come and help now.

olexandr-konovalov commented 5 years ago

Just to confirm, the problem has been resolved by placing GAP in another location. Thanks @LianaKhazaliya for the interest to this package!