-
Notifications
You must be signed in to change notification settings - Fork 2
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
Connection to the notebook server could not be established #3
Comments
My first guess is that you either haven't installed GF or that it hasn't been added to the system path. Either way, this be documented in the README and the kernel should handle it better. |
Thank you. I followed the steps mentioned here for installation: https://www.grammaticalframework.org/~inari/gf-windows.html I added the path in system environment variable: |
That seems correct (but I'm probably not the best judge because I don't use Windows). |
Hmm... Do you get an error message in the cmd output? |
No, in cmd I can import files and run them. |
Sorry, I meant the output of the place where you start the Jupyter server as you showed in your first message. |
This is the output: C:\Users\fatemeh>jupyter notebook
[E 11:45:56.633 NotebookApp] Could not open static file '' |
It looks like it still cannot find If you've installed it from the sources ( |
I reinstalled gf-kernel and changed the line 22 in GFRepl.py. I restart my laptop. Still the problem exists but it seems it generates a new error:
[E 12:24:35.771 NotebookApp] Could not open static file '' |
1 similar comment
I reinstalled gf-kernel and changed the line 22 in GFRepl.py. I restart my laptop. Still the problem exists but it seems it generates a new error:
[E 12:24:35.771 NotebookApp] Could not open static file '' |
That looks like a very different problem. My first instinct is that Jupyter has changed a bit (and the GF kernel code is not as resilient as it could be). I'll take a look at it. |
Thank you! |
FYI: I can reproduce it and made a separate issue for it (even if that problem is fixed, the notebook still shouldn't just crash if it can't find GF, so I want to leave this issue open) |
Alright, it was actually much easier to fix than I had feared. I've pushed a fix to the master branch. If you pull the latest, fix line 22 if it's still necessary, and then install it one more time, it should work now (I hope). |
Thank you so much! Now it works :) |
Hello everyone!
I installed gf-kernel. when I open a new gf file in Jupyter Notebook and want to run my code I receive this error: 'A connection to the notebook server could not be established. The notebook will continue trying to reconnect. Check your network connection or notebook server configuration'.
In the following I added the generated output in cmd:
[W 10:13:49.784 NotebookApp] 404 GET /static/components/jquery-ui/themes/smoothness/jquery-ui.min.css (::1) 33.000000ms referer=http://localhost:8888/tree?token=a3fca7fca7d90a5877f0292569f8beac8b62a763b31bc809
[I 10:14:10.151 NotebookApp] Creating new notebook in /anaconda3/Projects
[W 10:14:13.392 NotebookApp] 404 GET /static/components/jquery-ui/themes/smoothness/jquery-ui.min.css (::1) 2.000000ms referer=http://localhost:8888/notebooks/anaconda3/Projects/Untitled5.ipynb?kernel_name=gf
[I 10:14:14.411 NotebookApp] Kernel started: 7a18ddfe-2fdf-4403-8763-8331f8457714, name: gf
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\gf_kernel_main.py", line 4, in
IPKernelApp.launch_instance(kernel_class=GFKernel)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\traitlets\config\application.py", line 977, in launch_instance
app.initialize(argv)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\traitlets\config\application.py", line 110, in inner
return method(app, *args, **kwargs)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\ipykernel\kernelapp.py", line 681, in initialize
self.init_kernel()
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\ipykernel\kernelapp.py", line 528, in init_kernel
kernel = kernel_factory(
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\traitlets\config\configurable.py", line 551, in instance
inst = cls(*args, **kwargs)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\gf_kernel\kernel.py", line 78, in init
self.GFRepl = GFRepl()
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\gf_kernel\GFRepl.py", line 22, in init
self.gf_shell = Popen((find_executable('gf'), '--run'),
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1251, in _execute_child
args = list2cmdline(args)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 553, in list2cmdline
for arg in map(os.fsdecode, seq):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\os.py", line 818, in fsdecode
filename = fspath(filename) # Does type-checking of
filename
.TypeError: expected str, bytes or os.PathLike object, not NoneType
[I 10:14:17.413 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\gf_kernel_main.py", line 4, in
IPKernelApp.launch_instance(kernel_class=GFKernel)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\traitlets\config\application.py", line 977, in launch_instance
app.initialize(argv)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\traitlets\config\application.py", line 110, in inner
return method(app, *args, **kwargs)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\ipykernel\kernelapp.py", line 681, in initialize
self.init_kernel()
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\ipykernel\kernelapp.py", line 528, in init_kernel
kernel = kernel_factory(
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\traitlets\config\configurable.py", line 551, in instance
inst = cls(*args, **kwargs)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\gf_kernel\kernel.py", line 78, in init
self.GFRepl = GFRepl()
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\gf_kernel\GFRepl.py", line 22, in init
self.gf_shell = Popen((find_executable('gf'), '--run'),
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1251, in _execute_child
args = list2cmdline(args)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 553, in list2cmdline
for arg in map(os.fsdecode, seq):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\os.py", line 818, in fsdecode
filename = fspath(filename) # Does type-checking of
filename
.TypeError: expected str, bytes or os.PathLike object, not NoneType
[I 10:14:20.520 NotebookApp] KernelRestarter: restarting kernel (2/5), new random ports
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\gf_kernel_main.py", line 4, in
IPKernelApp.launch_instance(kernel_class=GFKernel)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\traitlets\config\application.py", line 977, in launch_instance
app.initialize(argv)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\traitlets\config\application.py", line 110, in inner
return method(app, *args, **kwargs)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\ipykernel\kernelapp.py", line 681, in initialize
self.init_kernel()
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\ipykernel\kernelapp.py", line 528, in init_kernel
kernel = kernel_factory(
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\traitlets\config\configurable.py", line 551, in instance
inst = cls(*args, **kwargs)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\gf_kernel\kernel.py", line 78, in init
self.GFRepl = GFRepl()
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\gf_kernel\GFRepl.py", line 22, in init
self.gf_shell = Popen((find_executable('gf'), '--run'),
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1251, in _execute_child
args = list2cmdline(args)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 553, in list2cmdline
for arg in map(os.fsdecode, seq):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\os.py", line 818, in fsdecode
filename = fspath(filename) # Does type-checking of
filename
.TypeError: expected str, bytes or os.PathLike object, not NoneType
[I 10:14:23.627 NotebookApp] KernelRestarter: restarting kernel (3/5), new random ports
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\gf_kernel_main.py", line 4, in
IPKernelApp.launch_instance(kernel_class=GFKernel)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\traitlets\config\application.py", line 977, in launch_instance
app.initialize(argv)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\traitlets\config\application.py", line 110, in inner
return method(app, *args, **kwargs)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\ipykernel\kernelapp.py", line 681, in initialize
self.init_kernel()
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\ipykernel\kernelapp.py", line 528, in init_kernel
kernel = kernel_factory(
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\traitlets\config\configurable.py", line 551, in instance
inst = cls(*args, **kwargs)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\gf_kernel\kernel.py", line 78, in init
self.GFRepl = GFRepl()
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\gf_kernel\GFRepl.py", line 22, in init
self.gf_shell = Popen((find_executable('gf'), '--run'),
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1251, in _execute_child
args = list2cmdline(args)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 553, in list2cmdline
for arg in map(os.fsdecode, seq):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\os.py", line 818, in fsdecode
filename = fspath(filename) # Does type-checking of
filename
.TypeError: expected str, bytes or os.PathLike object, not NoneType
[I 10:14:26.713 NotebookApp] KernelRestarter: restarting kernel (4/5), new random ports
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\gf_kernel_main.py", line 4, in
IPKernelApp.launch_instance(kernel_class=GFKernel)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\traitlets\config\application.py", line 977, in launch_instance
app.initialize(argv)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\traitlets\config\application.py", line 110, in inner
return method(app, *args, **kwargs)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\ipykernel\kernelapp.py", line 681, in initialize
self.init_kernel()
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\ipykernel\kernelapp.py", line 528, in init_kernel
kernel = kernel_factory(
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\traitlets\config\configurable.py", line 551, in instance
inst = cls(*args, **kwargs)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\gf_kernel\kernel.py", line 78, in init
self.GFRepl = GFRepl()
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\gf_kernel\GFRepl.py", line 22, in init
self.gf_shell = Popen((find_executable('gf'), '--run'),
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1251, in _execute_child
args = list2cmdline(args)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 553, in list2cmdline
for arg in map(os.fsdecode, seq):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\os.py", line 818, in fsdecode
filename = fspath(filename) # Does type-checking of
filename
.TypeError: expected str, bytes or os.PathLike object, not NoneType
[I 10:14:29.839 NotebookApp] KernelRestarter: restarting kernel (5/5), new random ports
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\gf_kernel_main.py", line 4, in
IPKernelApp.launch_instance(kernel_class=GFKernel)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\traitlets\config\application.py", line 977, in launch_instance
app.initialize(argv)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\traitlets\config\application.py", line 110, in inner
return method(app, *args, **kwargs)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\ipykernel\kernelapp.py", line 681, in initialize
self.init_kernel()
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\ipykernel\kernelapp.py", line 528, in init_kernel
kernel = kernel_factory(
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\traitlets\config\configurable.py", line 551, in instance
inst = cls(*args, **kwargs)
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\gf_kernel\kernel.py", line 78, in init
self.GFRepl = GFRepl()
File "C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\gf_kernel\GFRepl.py", line 22, in init
self.gf_shell = Popen((find_executable('gf'), '--run'),
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1251, in execute_child
args = list2cmdline(args)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 553, in list2cmdline
for arg in map(os.fsdecode, seq):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\os.py", line 818, in fsdecode
filename = fspath(filename) # Does type-checking of
filename
.TypeError: expected str, bytes or os.PathLike object, not NoneType
[W 10:14:32.969 NotebookApp] KernelRestarter: restart failed
[W 10:14:32.970 NotebookApp] Kernel 7a18ddfe-2fdf-4403-8763-8331f8457714 died, removing from map.
[W 10:15:14.426 NotebookApp] Timeout waiting for kernel_info reply from 7a18ddfe-2fdf-4403-8763-8331f8457714
[E 10:15:14.432 NotebookApp] Error opening stream: HTTP 404: Not Found (Kernel does not exist: 7a18ddfe-2fdf-4403-8763-8331f8457714)
[W 10:15:15.510 NotebookApp] 404 GET /api/kernels/7a18ddfe-2fdf-4403-8763-8331f8457714/channels?session_id=55f8fcc618ed492bb40ebf13bfa98cb0 (::1): Kernel does not exist: 7a18ddfe-2fdf-4403-8763-8331f8457714
[W 10:15:15.518 NotebookApp] 404 GET /api/kernels/7a18ddfe-2fdf-4403-8763-8331f8457714/channels?session_id=55f8fcc618ed492bb40ebf13bfa98cb0 (::1) 17.000000ms referer=None
[W 10:15:17.544 NotebookApp] 404 GET /api/kernels/7a18ddfe-2fdf-4403-8763-8331f8457714/channels?session_id=55f8fcc618ed492bb40ebf13bfa98cb0 (::1): Kernel does not exist: 7a18ddfe-2fdf-4403-8763-8331f8457714
[W 10:15:17.548 NotebookApp] 404 GET /api/kernels/7a18ddfe-2fdf-4403-8763-8331f8457714/channels?session_id=55f8fcc618ed492bb40ebf13bfa98cb0 (::1) 8.000000ms referer=None
[W 10:15:21.598 NotebookApp] 404 GET /api/kernels/7a18ddfe-2fdf-4403-8763-8331f8457714/channels?session_id=55f8fcc618ed492bb40ebf13bfa98cb0 (::1): Kernel does not exist: 7a18ddfe-2fdf-4403-8763-8331f8457714
[W 10:15:21.601 NotebookApp] 404 GET /api/kernels/7a18ddfe-2fdf-4403-8763-8331f8457714/channels?session_id=55f8fcc618ed492bb40ebf13bfa98cb0 (::1) 5.990000ms referer=None
[W 10:15:29.610 NotebookApp] 404 GET /api/kernels/7a18ddfe-2fdf-4403-8763-8331f8457714/channels?session_id=55f8fcc618ed492bb40ebf13bfa98cb0 (::1): Kernel does not exist: 7a18ddfe-2fdf-4403-8763-8331f8457714
[W 10:15:29.613 NotebookApp] 404 GET /api/kernels/7a18ddfe-2fdf-4403-8763-8331f8457714/channels?session_id=55f8fcc618ed492bb40ebf13bfa98cb0 (::1) 6.010000ms referer=None
[W 10:15:45.641 NotebookApp] 404 GET /api/kernels/7a18ddfe-2fdf-4403-8763-8331f8457714/channels?session_id=55f8fcc618ed492bb40ebf13bfa98cb0 (::1): Kernel does not exist: 7a18ddfe-2fdf-4403-8763-8331f8457714
[W 10:15:45.644 NotebookApp] 404 GET /api/kernels/7a18ddfe-2fdf-4403-8763-8331f8457714/channels?session_id=55f8fcc618ed492bb40ebf13bfa98cb0 (::1) 5.000000ms referer=None
[I 10:16:14.568 NotebookApp] Saving file at /anaconda3/Projects/Untitled5.ipynb
C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\nbformat_init.py:129: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use
normalize()
on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.validate(nb)
C:\Users\fatemeh\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\notebook\services\contents\manager.py:353: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use
normalize()
on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.validate_nb(model['content'])
[W 10:16:18.551 NotebookApp] 404 GET /api/kernels/7a18ddfe-2fdf-4403-8763-8331f8457714/channels?session_id=55f8fcc618ed492bb40ebf13bfa98cb0 (::1): Kernel does not exist: 7a18ddfe-2fdf-4403-8763-8331f8457714
[W 10:16:18.554 NotebookApp] 404 GET /api/kernels/7a18ddfe-2fdf-4403-8763-8331f8457714/channels?session_id=55f8fcc618ed492bb40ebf13bfa98cb0 (::1) 4.000000ms referer=None
[W 10:17:23.571 NotebookApp] 404 GET /api/kernels/7a18ddfe-2fdf-4403-8763-8331f8457714/channels?session_id=55f8fcc618ed492bb40ebf13bfa98cb0 (::1): Kernel does not exist: 7a18ddfe-2fdf-4403-8763-8331f8457714
[W 10:17:23.573 NotebookApp] 404 GET /api/kernels/7a18ddfe-2fdf-4403-8763-8331f8457714/channels?session_id=55f8fcc618ed492bb40ebf13bfa98cb0 (::1) 5.020000ms referer=None
[W 10:22:12.377 NotebookApp] 404 GET /api/kernels/7a18ddfe-2fdf-4403-8763-8331f8457714/channels?session_id=55f8fcc618ed492bb40ebf13bfa98cb0 (::1): Kernel does not exist: 7a18ddfe-2fdf-4403-8763-8331f8457714
[W 10:22:12.379 NotebookApp] 404 GET /api/kernels/7a18ddfe-2fdf-4403-8763-8331f8457714/channels?session_id=55f8fcc618ed492bb40ebf13bfa98cb0 (::1) 3.000000ms referer=None
[W 10:22:19.396 NotebookApp] 404 GET /api/kernels/7a18ddfe-2fdf-4403-8763-8331f8457714/channels?session_id=55f8fcc618ed492bb40ebf13bfa98cb0 (::1): Kernel does not exist: 7a18ddfe-2fdf-4403-8763-8331f8457714
[W 10:22:19.399 NotebookApp] 404 GET /api/kernels/7a18ddfe-2fdf-4403-8763-8331f8457714/channels?session_id=55f8fcc618ed492bb40ebf13bfa98cb0 (::1) 5.000000ms referer=None
[I 10:24:14.039 NotebookApp] Saving file at /anaconda3/Projects/Untitled5.ipynb
The text was updated successfully, but these errors were encountered: