Skip to content
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

Jupyter lab build fails in fresh conda environment #7158

Closed
ghost opened this issue Sep 6, 2019 · 7 comments
Closed

Jupyter lab build fails in fresh conda environment #7158

ghost opened this issue Sep 6, 2019 · 7 comments
Labels
bug status:resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.
Milestone

Comments

@ghost
Copy link

ghost commented Sep 6, 2019

Description

Since I updated my Jupiterlab Enviroment to 1.0.2 I have a problem with my Jupyter Lab enviroment. The icons on the navigation bar are missing.

This error pops up intermittenly where the icons should be:
This page contains the following errors: error on line 1 at column 1: Document is empty

image

I cannot reproduce this issue in a clean environment. I already removed all my Jupter Lab extensions, did jupyter lab clean and jupyter lab build but still the same.

Context

Name Version Build Channel
jupyter 1.0.0 py37_7
jupyter-contrib-core 0.3.3 pypi_0 pypi
jupyter-contrib-nbextensions 0.5.1 pypi_0 pypi
jupyter-highlight-selected-word 0.2.0 pypi_0 pypi
jupyter-latex-envs 1.4.6 pypi_0 pypi
jupyter-nbextensions-configurator 0.4.1 pypi_0 pypi
jupyter_client 5.3.1 py_0
jupyter_console 6.0.0 py37_0
jupyter_core 4.5.0 py_0
jupyterlab 1.0.2 py37hf63ae98_0
jupyterlab-github 1.0.0 pypi_0 pypi
jupyterlab_server 1.0.0 py_1
jupyterthemes 0.20.0 pypi_0 pypi

@bmwilly
Copy link

bmwilly commented Sep 6, 2019

I'm having the same problem. AFAICT, it only seems to occur if I add extensions or run jupyter lab build.

@flxai
Copy link

flxai commented Sep 6, 2019

I just encountered the exact same error. I had some remaining JupyterLab directories after purging my Anaconda folder and just noticed that I still had an older JupyterLab version after the new Anaconda installation:

$ jupyter --version | grep lab
jupyter lab      : 1.0.2

Upgrading through pip to the newest version and rebuilding the assets worked for me:

$ pip install -U jupyterlab
[...]
$ jupyter --version | grep lab
jupyter lab      : 1.1.1
$ jupyter lab build
[...]

@blink1073
Copy link
Member

blink1073 commented Sep 7, 2019

Hi folks, we haven't yet tracked down the root cause but it appears to be a backwards incompatibility in one or more of the JavaScript packages in our 1.1 series. Once we identify the problem we will release a new set of 1.1 JS package(s) that are backward compatible. In the mean time, please use upgrade to the 1.1 series if possible. conda install -c conda-forge jupyterlab or pip install --upgrade jupyterlab.

@blink1073
Copy link
Member

@telamonian, I think this one might be related to #6034 as well:

image

@blink1073
Copy link
Member

To reproduce the above:

pip install jupyterlab==1.0.2
jupyter lab build
jupyter lab

@ghost
Copy link
Author

ghost commented Sep 8, 2019

I just encountered the exact same error. I had some remaining JupyterLab directories after purging my Anaconda folder and just noticed that I still had an older JupyterLab version after the new Anaconda installation:

$ jupyter --version | grep lab
jupyter lab      : 1.0.2

Upgrading through pip to the newest version and rebuilding the assets worked for me:

$ pip install -U jupyterlab
[...]
$ jupyter --version | grep lab
jupyter lab      : 1.1.1
$ jupyter lab build
[...]

This was the solution for my issue. Thank you very much! 😀

@jasongrout
Copy link
Contributor

Original problem fixed by #7182

@jasongrout jasongrout modified the milestones: 1.1.x, 1.1.3 Sep 10, 2019
@lock lock bot added the status:resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. label Oct 10, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 10, 2019
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug status:resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.
Projects
None yet
Development

No branches or pull requests

4 participants