-
Notifications
You must be signed in to change notification settings - Fork 55
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
Uncaught exception due to missing file #352
Comments
Hi there,
HTH. |
I am also seeing this: After customizing the jupyter-minimal-notebook base image to include this extension out-of-the-box, along with
I have no need for R so I don't want to install Rscript just to avoid this log spam. Hopefully it's easy enough to change this code to catch and handle this exception gracefully. |
Thanks for the quick fix! And thanks for maintaining this extension. ❤️ |
I'll look out for the next release so I can test it when it's out, and post back here if I see anything unexpected. |
Confirmed, thanks! |
Uncaught exception GET /jupyterlab_code_formatter
[W 2024-07-30 01:55:58.738 ServerApp] wrote error: 'Unhandled error'
Traceback (most recent call last):
File "
\python\nse.venv\Lib\site-packages\tornado\web.py", line 1788, in _execute\python\nse.venv\Lib\site-packages\tornado\web.py", line 3301, in wrapperresult = method(*self.path_args, **self.path_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "
return method(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "
\python\nse.venv\Lib\site-packages\jupyterlab_code_formatter\handlers.py", line 18, in get\python\nse.venv\Lib\site-packages\jupyterlab_code_formatter\handlers.py", line 20, in"formatters": {
^
File "
"enabled": formatter.cached_importable if use_cache else formatter.importable,
^^^^^^^^^^^^^^^^^^^^
File "
\python\nse.venv\Lib\site-packages\jupyterlab_code_formatter\formatters.py", line 364, in importable\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 548, in runpackage_location = subprocess.run(
^^^^^^^^^^^^^^^
File "
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "
\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1026, in init\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1538, in _execute_childself._execute_child(args, executable, preexec_fn, close_fds,
File "
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified
The text was updated successfully, but these errors were encountered: