mamba-org / gator

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

gator not displayed in jupyterlab after updating or re-installing #139

Closed ericpre closed 3 years ago

ericpre commented 3 years ago

Description

When updating to the latest version of gator, I noticed that the gator tab will not be displayed in the jupyterlab unless I manually delete the file in ~/.jupyter/lab/workspaces/. Starting gator from the command line works fine.

This can be reproduced by uninstalling/installing gator.

Reproduce

  1. Uninstall mamba_gator (mamba uninstall mamba_gator)
  2. Install mamba_gator (mamba install gator)
  3. Open jupyterlab
  4. Go to Settings menu, click on Conda Package Manager
  5. Nothing happen: no error and the gator tab is not displayed!
  6. Close jupyterlab
  7. Delete the file in ~/.jupyter/lab/workspaces/
  8. Open jupyterlab
  9. Go to Settings menu, click on Conda Package Manager
  10. The gator tab is displayed!

Expected behavior

The gator tab should open when clicking on Conda Package Manager from the Settings menu without having to delete the file in ~/.jupyter/lab/workspaces/ .

Context

Command Line Output
Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.
Browser Output
Paste the output from your browser Javascript console here.
fcollonval commented 3 years ago

Thanks for reporting the bug @ericpre I pushed a fix using the code from the latest version of the JupyterLab extension tutorial 🤞

ericpre commented 3 years ago

Thanks, I have tested the latest release (5.1.1) and this is working fine!

fcollonval commented 3 years ago

Thanks for the feedback @ericpre