mamba-org / gator

Conda environment and package management extension from within Jupyter
Other
260 stars 30 forks source link

Click 'Conda Packages Manager' in 'Settings' has no effect #35

Closed corralm closed 4 years ago

corralm commented 4 years ago

Description

Clicking Settings >> Conda Packages Manager doesn't do anything. Expected to open the packages manager.

Tried uninstalling & reinstallling both jupyterlab_conda and jupyterlab_toastify with the same result.

I believe the issue has something to do with the output below after entering jupyter lab in command line:

Oddly, I'm able to locate this file.

[I 20:18:27.225 LabApp] The port 8888 is already in use, trying another port.

[I 20:18:27.240 LabApp] [jupyter_conda] enabled

[I 20:18:27.269 LabApp] [jupyter_nbextensions_configurator] enabled 0.4.1

[I 20:18:28.114 LabApp] JupyterLab extension loaded from /Users/miguel/anaconda3/envs/dev/lib/python3.7/site-packages/jupyterlab

[I 20:18:28.114 LabApp] JupyterLab application directory is /Users/miguel/anaconda3/envs/dev/share/jupyter/lab

[I 20:18:28.226 LabApp] Serving notebooks from local directory: /Users/miguel

[I 20:18:28.226 LabApp] The Jupyter Notebook is running at:

[I 20:18:28.226 LabApp] http://localhost:8889/?token=c909331d21392b7b8b782ee202ba64f97af6aeef6b8c051f

[I 20:18:28.226 LabApp] or http://127.0.0.1:8889/?token=c909331d21392b7b8b782ee202ba64f97af6aeef6b8c051f

[I 20:18:28.226 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

[C 20:18:28.234 LabApp]

To access the notebook, open this file in a browser:

file:///Users/miguel/Library/Jupyter/runtime/nbserver-8760-open.html

Or copy and paste one of these URLs:

http://localhost:8889/?token=c909331d21392b7b8b782ee202ba64f97af6aeef6b8c051f

or http://127.0.0.1:8889/?token=c909331d21392b7b8b782ee202ba64f97af6aeef6b8c051f

[W 20:18:32.059 LabApp] 404 GET /github?1589080711869 (::1) 134.55ms referer=http://localhost:8889/lab

[I 20:18:35.406 LabApp] Build is up to date

[jupyter_conda] No available packages list in cache [Errno 2] No such file or directory: '/var/folders/c_/9bhvtjtn47l_2756zh7fny880000gn/T/jupyter_conda_packages.json'.

Browser Output
Paste the output from your browser Javascript console here.
Not sure how to do this...
fcollonval commented 4 years ago

Hey @corralm thanks for the detail description.

Could you clean your JupyterLab workspaces?

For that,

  1. Locate the workspace directory by executing
jupyter lab path
  1. Remove all files in the Workspaces directory

Let me know if it worked.

corralm commented 4 years ago

Awesome, it worked. Thanks, I love this tool!