Getting 404 in most recent version of jupyterlab
See original GitHub issueThanks for the great extension, but I’m having issues getting it to work on the latest version of jupyter lab (1.1.4) on macOS. I’m using the black code formatter with python (everything is installed in the same conda environment). I know that black works, because 1) pip can find it with pip list | grep black
and 2) formatting code in my editor (VSCode) with black works just fine.
I see the the format notebook button at the top of my notebook in jupyterlab, and right-clicking on a cell shows the format cell option the dialog, but there are no commands listed in the command palette. Also in the server terminal I keep getting 404 POST /jupyterlab_code_formatter/format?1571308405340 (::1) 1.51ms referer=http://localhost:8888/lab
if I ever try to select either format option.
Any recommendations?
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (4 by maintainers)
Ah weird that solved it. Sorry I thought installing the extension through jupyter lab discovery would include everything needed!
Nothing showed up in the command palette and the shortcut I’d configured to apply Black formatting did nothing.
It mysteriously restarted working, though. I messed with a
json
configuration for a different extension in.pyenv/versions/3.7.4/envs/jupyter3/etc/jupyter/jupyter_server_config.d
and addedthen restarted
jupyter-lab
and it started working, so I thought that somehow fixed it. But now I removed it and restartedjupyter-lab
again, and it’s still working, so I don’t get it…