Jupyterlab: Toolbar Buttons are not visible

Created on 1 Mar 2020  Β·  55Comments  Β·  Source: jupyterlab/jupyterlab

Toolbar Icons are not visible Safari

Similar to 3331 which was previously closed
The buttons still work. If I wait for the tool tip to show up I can identify the button.

missing toolbar buttons

Open notebook or create a new one.

Expected behavior

Previously open notebook (yesterday) displayed correctly.
Tried restarting system - no effect.

Context

  • Operating System and version:
  • Browser and version: Safari 13.0.5
  • JupyterLab version: 1.2.6
resolved-locked

Most helpful comment

I raised an issue on pyLDAvis.

Thanks. Closing this as resolved from our perspective then, and further conversation sounds like it should happen over there: https://github.com/bmabey/pyLDAvis/issues/162

All 55 comments

Well, that's not right. Jupyterlab won't just change on it's own, though. Did you do anything to trigger a Jupyterlab build recently, such as installing a new extension?

When problems like this occur, it's almost always due to a mismatch between package versions in your jupyterlab build. If I had to guess, you installed an extension that somehow pulled @jupyterlab/[email protected] into your jupyterlab 1.x build.

Hi,

I have NOT installed any extensions. I have just switched over from Notebooks and had only used it for a day or two. In that time I had started and used JupyterLab without issue about 10 times. It then started up with the missing toolbar buttons. What is odd is when I work with it as such on occasion the buttons with reappear for a while and then disappear again. I have not seen a pattern when they disappear or reappear yet.

The code I am working with include these libraries none out of the ordinary.
import sqlite3
import pandas as pd
import numpy as np
import datetime
import warnings
warnings.filterwarnings('ignore’)

import spacy
nlp=spacy.load('en_core_web_md')
from spacy import displacy
from pathlib import Path
from collections import Counter

import gensim
from gensim import corpora, models
import pyLDAvis.gensim

Regards,

Andy Hegedus

On Mar 1, 2020, at 7:56 PM, Max Klein notifications@github.com wrote:

Well, that's not right. Jupyterlab won't just change on it's own, though. Did you do anything to trigger a Jupyterlab build recently, such as installing a new extension?

When problems like this occur, it's almost always due to a mismatch between package versions in your jupyterlab build. If I had to guess, you installed an extension that somehow pulled @jupyterlab/[email protected] into your jupyterlab 1.x build.

β€”
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/jupyterlab/jupyterlab/issues/7959?email_source=notifications&email_token=AKS4KBQCKCD6KVICZJSQ67TRFMU7LA5CNFSM4K7IS24KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENN2AFY#issuecomment-593207319, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKS4KBXQKXYBBPIHC2H3B73RFMU7LANCNFSM4K7IS24A.

Hey @andyhegedus, I just checked this issue on Safari 13.0.5, and JupyterLab version 2.0.0. This error does not occur. Then, I went ahead and installed the version you had (1.2.6) -- and tested it again, but the buttons look fine. I would either attempt a reinstall or upgrade to the latest version. Maybe it is a Safari bug?

Hi,

Updated to version 2.0.0
Restarted computer and clear caches in Safari. It seems to have gotten worse. Now all buttons are gone. Before I had buttons on the left hand side.

Regards,

Andy Hegedus

On Mar 2, 2020, at 7:39 AM, Anirrudh Krishnan notifications@github.com wrote:

Hey @andyhegedus https://github.com/andyhegedus, I just checked this issue on Safari 13.0.5, and JupyterLab version 2.0.0. This error does not occur. Then, I went ahead and installed the version you had (1.2.6) -- and tested it again, but the buttons look fine. I would either attempt a reinstall or upgrade to the latest version. Maybe it is a Safari bug?

β€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jupyterlab/jupyterlab/issues/7959?email_source=notifications&email_token=AKS4KBQE5UAZRIGY5XKC473RFPHL5A5CNFSM4K7IS24KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENPYS2A#issuecomment-593463656, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKS4KBTVKWF3YJSXLA6EMCLRFPHL5ANCNFSM4K7IS24A.

Does it work in other browsers? Are there any errors in the server logs or browser JavaScript console? There are no browser or jupyterlab extensions installed? Is this a fresh installation in a clean new environment?

Java Script Log from Safari

[Log] Starting application in workspace: "/lab" (vendors~main.842eeaf450a183e1e755.js, line 2)
[Log] Starting WebSocket: ws://localhost:8888/api/kernels/25d1b9bc-7fa0-4c7a-8584-6f79754fba55 (vendors~main.842eeaf450a183e1e755.js, line 2)
[Log] lambda_select – "#ldavis_el661854853336242060520235-lambda" (ldavis.v1.0.0.js, line 155)
[Log] Starting WebSocket: ws://localhost:8888/api/kernels/25d1b9bc-7fa0-4c7a-8584-6f79754fba55 (vendors~main.842eeaf450a183e1e755.js, line 2)
[Error] Error: Kernel connection is disposed
_errorIfDisposed β€” vendors~main.842eeaf450a183e1e755.js:2:2428844
_assertCurrentMessage β€” vendors~main.842eeaf450a183e1e755.js:2:2425872
(anonymous function) β€” vendors~main.842eeaf450a183e1e755.js:2:2427654
asyncFunctionResume
[native code]
promiseReactionJob

(anonymous function) (vendors~main.842eeaf450a183e1e755.js:2:2416997)
promiseReactionJob

The problem also exists in Chrome

Javascript log from Chrome
Starting application in workspace: "/lab"
vendors~main.842eeaf450a183e1e755.js:2 Starting WebSocket: ws://localhost:8888/api/kernels/25d1b9bc-7fa0-4c7a-8584-6f79754fba55
ldavis.v1.0.0.js:155 lambda_select #ldavis_el661854853336242060520235-lambda
vendors~main.842eeaf450a183e1e755.js:2 Starting WebSocket: ws://localhost:8888/api/kernels/25d1b9bc-7fa0-4c7a-8584-6f79754fba55

Regards,

Andy Hegedus

On Mar 2, 2020, at 8:33 AM, Jason Grout notifications@github.com wrote:

Does it work in other browsers? Are there any errors in the server logs or browser JavaScript console? There are no browser or jupyterlab extensions installed? Is this a fresh installation in a clean new environment?

β€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jupyterlab/jupyterlab/issues/7959?email_source=notifications&email_token=AKS4KBUXOISIYORBMVWI7KLRFPNUFA5CNFSM4K7IS24KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENP7QMA#issuecomment-593492016, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKS4KBUZYQPSSBUYGCJGPILRFPNUFANCNFSM4K7IS24A.

Start up
Hi,
Some new info. The buttons show are gone, then reappear for a bit and then disappear again.

When I start up via Anaconda Navigator. The buttons are not visible, thought still work and the tool tips show up.

image

The Javaconsole output here:

[Log] Starting application in workspace: "/lab" (vendors~main.842eeaf450a183e1e755.js, line 2)
[Log] Starting WebSocket: ws://localhost:8888/api/kernels/25d1b9bc-7fa0-4c7a-8584-6f79754fba55 (vendors~main.842eeaf450a183e1e755.js, line 2)
[Log] lambda_select – "#ldavis_el661854853336242060520235-lambda" (ldavis.v1.0.0.js, line 155)
[Log] Starting WebSocket: ws://localhost:8888/api/kernels/25d1b9bc-7fa0-4c7a-8584-6f79754fba55 (vendors~main.842eeaf450a183e1e755.js, line 2)
[Error] Error: Kernel connection is disposed
_errorIfDisposed β€” vendors~main.842eeaf450a183e1e755.js:2:2428844
_assertCurrentMessage β€” vendors~main.842eeaf450a183e1e755.js:2:2425872
(anonymous function) β€” vendors~main.842eeaf450a183e1e755.js:2:2427654
asyncFunctionResume
[native code]
promiseReactionJob

(anonymous function) (vendors~main.842eeaf450a183e1e755.js:2:2416997)
promiseReactionJob

As I run the following script in cells the buttons remain invisible

import sqlite3
import pandas as pd
import numpy as np
import datetime
import warnings
warnings.filterwarnings('ignore')

portfolio =pd.read_csv('/Users/andreashegedus/Desktop/Subset of alta_out.csv', sep='\t')

print(datetime.datetime.now())
cpc= sqlite3.connect('/Volumes/Patents/sqlitetest/brf_sum_text.db')
cpc.row_factory = lambda cursor, row: row[0]
cpc_cursor = cpc.cursor()
cpc_code=list()
for row in portfolio.itertuples(index=False):
patent = str(row[0])
cpc_cursor.execute('Select text FROM brf_sum_text Where patent_id=%s'% (patent))
cpc_list = cpc_cursor.fetchall()
cpc_code.append(cpc_list)
cpc.close()
print(datetime.datetime.now())

import spacy
nlp=spacy.load('en_core_web_md')
from spacy import displacy
from pathlib import Path
from collections import Counter

import gensim
from gensim import corpora, models

print(datetime.datetime.now())
nlist=list()
exclude = ('-PRON-','embodiment','invention')
for case in cpc_code:
if len(case)>0:
claimSlice =nlp(case[0])
clist=list()
for chunk in claimSlice.noun_chunks:
for token in chunk:
if not token.is_stop and len(token.lemma_)>3 and token.lemma_ not in exclude:
clist.append(token.lemma_)
nlist.append(clist)

print(datetime.datetime.now())

dictionary = corpora.Dictionary(nlist)
corpus = [dictionary.doc2bow(text) for text in nlist]

print(datetime.datetime.now())
ldamodel = gensim.models.ldamodel.LdaModel(corpus, num_topics=10, id2word = dictionary, passes=20)
print(datetime.datetime.now())

top_words_per_topic = []
for t in range(ldamodel.num_topics):
top_words_per_topic.extend([(t, ) + x for x in ldamodel.show_topic(t, topn = 10)])

pd.DataFrame(top_words_per_topic, columns=['Topic', 'Word', 'P']).to_csv("/Users/andreashegedus/Desktop/Alta_brf_sum_text.csv")

Here is when it changes. When this group runs the buttons reappear. This group takes about 1 min to run on my computer
image

import pyLDAvis.gensim
pyLDAvis.enable_notebook()
vis = pyLDAvis.gensim.prepare(ldamodel, corpus, dictionary=ldamodel.id2word)
vis

Nothing in the Javaconsole

After it completes. The buttons disappear again.
image

Javaconsole
[Log] lambda_select – "#ldavis_el1127456987517289674929457-lambda" (ldavis.v1.0.0.js, line 155)

Regards,

Andy Hegedus

On Mar 2, 2020, at 1:51 PM, Andy Hegedus andy.hegedus@aghanalytics.com wrote:

Java Script Log from Safari

[Log] Starting application in workspace: "/lab" (vendors~main.842eeaf450a183e1e755.js, line 2)
[Log] Starting WebSocket: ws://localhost:8888/api/kernels/25d1b9bc-7fa0-4c7a-8584-6f79754fba55 (vendors~main.842eeaf450a183e1e755.js, line 2)
[Log] lambda_select – "#ldavis_el661854853336242060520235-lambda" (ldavis.v1.0.0.js, line 155)
[Log] Starting WebSocket: ws://localhost:8888/api/kernels/25d1b9bc-7fa0-4c7a-8584-6f79754fba55 (vendors~main.842eeaf450a183e1e755.js, line 2)
[Error] Error: Kernel connection is disposed
_errorIfDisposed β€” vendors~main.842eeaf450a183e1e755.js:2:2428844
_assertCurrentMessage β€” vendors~main.842eeaf450a183e1e755.js:2:2425872
(anonymous function) β€” vendors~main.842eeaf450a183e1e755.js:2:2427654
asyncFunctionResume
[native code]
promiseReactionJob

(anonymous function) (vendors~main.842eeaf450a183e1e755.js:2:2416997)
promiseReactionJob

The problem also exists in Chrome

Javascript log from Chrome
Starting application in workspace: "/lab"
vendors~main.842eeaf450a183e1e755.js:2 Starting WebSocket: ws://localhost:8888/api/kernels/25d1b9bc-7fa0-4c7a-8584-6f79754fba55
ldavis.v1.0.0.js:155 lambda_select #ldavis_el661854853336242060520235-lambda
vendors~main.842eeaf450a183e1e755.js:2 Starting WebSocket: ws://localhost:8888/api/kernels/25d1b9bc-7fa0-4c7a-8584-6f79754fba55

Regards,

Andy Hegedus

On Mar 2, 2020, at 8:33 AM, Jason Grout <[email protected] notifications@github.com> wrote:

Does it work in other browsers? Are there any errors in the server logs or browser JavaScript console? There are no browser or jupyterlab extensions installed? Is this a fresh installation in a clean new environment?

β€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jupyterlab/jupyterlab/issues/7959?email_source=notifications&email_token=AKS4KBUXOISIYORBMVWI7KLRFPNUFA5CNFSM4K7IS24KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENP7QMA#issuecomment-593492016, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKS4KBUZYQPSSBUYGCJGPILRFPNUFANCNFSM4K7IS24A.

Hey @andyhegedus, you are starting the lab instance using Anaconda Navigator only, correct? What I mean to say is, you aren't using the terminal command to start an instance of the lab, right?

Correct.

And also to be a bit more clear in my last post since the formatting got worked out.

I was running some code mostly doing some simple NLP with Spacy and Gensim.

When I ran this block of code. The buttons REAPPEARED while it was processing and then disappeared once complete. for my data this took about 1 min so I had a chance to see the buttons show up again.

import pyLDAvis.gensim
pyLDAvis.enable_notebook()
vis = pyLDAvis.gensim.prepare(ldamodel, corpus, dictionary=ldamodel.id2word)
vis

I was able to reproduce that effect.

Regards,

Andy Hegedus

On Mar 3, 2020, at 2:25 PM, Anirrudh Krishnan notifications@github.com wrote:

Hey @andyhegedus https://github.com/andyhegedus, you are starting the lab instance using Anaconda Navigator only, correct? What I mean to say is, you aren't using the terminal command to start an instance of the lab, right?

β€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jupyterlab/jupyterlab/issues/7959?email_source=notifications&email_token=AKS4KBRXCJ3H2EONQX4DXDLRFV7U3A5CNFSM4K7IS24KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENVNBDA#issuecomment-594202764, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKS4KBUOMT7CQFCUBRZAEITRFV7U3ANCNFSM4K7IS24A.

Hi,

Did a quick text launching from terminal.

Same issue. Buttons do not show up.

Regards,

Andy Hegedus

On Mar 3, 2020, at 2:29 PM, Andy Hegedus andy.hegedus@aghanalytics.com wrote:

Correct.

And also to be a bit more clear in my last post since the formatting got worked out.

I was running some code mostly doing some simple NLP with Spacy and Gensim.

When I ran this block of code. The buttons REAPPEARED while it was processing and then disappeared once complete. for my data this took about 1 min so I had a chance to see the buttons show up again.

import pyLDAvis.gensim
pyLDAvis.enable_notebook()
vis = pyLDAvis.gensim.prepare(ldamodel, corpus, dictionary=ldamodel.id2word)
vis

I was able to reproduce that effect.

Regards,

Andy Hegedus

On Mar 3, 2020, at 2:25 PM, Anirrudh Krishnan <[email protected] notifications@github.com> wrote:

Hey @andyhegedus https://github.com/andyhegedus, you are starting the lab instance using Anaconda Navigator only, correct? What I mean to say is, you aren't using the terminal command to start an instance of the lab, right?

β€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jupyterlab/jupyterlab/issues/7959?email_source=notifications&email_token=AKS4KBRXCJ3H2EONQX4DXDLRFV7U3A5CNFSM4K7IS24KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENVNBDA#issuecomment-594202764, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKS4KBUOMT7CQFCUBRZAEITRFV7U3ANCNFSM4K7IS24A.

Just debugging wise, can you also try creating a new conda environment, installing jupyterlab, and then starting it from the env? I'm just not able to reproduce it on my end :(. macOS 10.5.3 is the version you are running, correct?

Mac 10.14.6 (Mojave)

Regards,

Andy Hegedus

On Mar 3, 2020, at 2:48 PM, Anirrudh Krishnan notifications@github.com wrote:

Just debugging wise, can you also try creating a new conda environment, installing jupyterlab, and then starting it from the env? I'm just not able to reproduce it on my end :(. macOS 10.5.3 is the version you are running, correct?

β€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jupyterlab/jupyterlab/issues/7959?email_source=notifications&email_token=AKS4KBUVQDBULWICTECSB6DRFWCL7A5CNFSM4K7IS24KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENVPEVA#issuecomment-594211412, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKS4KBUK3XVRMQDDKCHGILTRFWCL7ANCNFSM4K7IS24A.

Created another environment within Anaconda Navigator. Loaded JupyterLab application version 1.2.6 which is the Anaconda package version. It will not launch.

From within Anaconda Navigator but from my base environment I can launch JupyterLab version 2.0.
Regards,

Andy Hegedus

On Mar 3, 2020, at 2:48 PM, Anirrudh Krishnan notifications@github.com wrote:

Just debugging wise, can you also try creating a new conda environment, installing jupyterlab, and then starting it from the env? I'm just not able to reproduce it on my end :(. macOS 10.5.3 is the version you are running, correct?

β€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jupyterlab/jupyterlab/issues/7959?email_source=notifications&email_token=AKS4KBUVQDBULWICTECSB6DRFWCL7A5CNFSM4K7IS24KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENVPEVA#issuecomment-594211412, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKS4KBUK3XVRMQDDKCHGILTRFWCL7ANCNFSM4K7IS24A.

I was able to create test environment within Anaconda Navigator. Installed JupyterLab version 1.2.6 which is their distro.
Launched same issue.

Regards,

Andy Hegedus

On Mar 3, 2020, at 3:01 PM, Andy Hegedus andy.hegedus@aghanalytics.com wrote:

Created another environment within Anaconda Navigator. Loaded JupyterLab application version 1.2.6 which is the Anaconda package version. It will not launch.

From within Anaconda Navigator but from my base environment I can launch JupyterLab version 2.0.
Regards,

Andy Hegedus

On Mar 3, 2020, at 2:48 PM, Anirrudh Krishnan <[email protected] notifications@github.com> wrote:

Just debugging wise, can you also try creating a new conda environment, installing jupyterlab, and then starting it from the env? I'm just not able to reproduce it on my end :(. macOS 10.5.3 is the version you are running, correct?

β€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jupyterlab/jupyterlab/issues/7959?email_source=notifications&email_token=AKS4KBUVQDBULWICTECSB6DRFWCL7A5CNFSM4K7IS24KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENVPEVA#issuecomment-594211412, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKS4KBUK3XVRMQDDKCHGILTRFWCL7ANCNFSM4K7IS24A.

The common thing in all of these cases seems to be using Anaconda Navigator (and presumably using the Anaconda packages, which we don't have control over). Can you try reproducing this using the command line tools in a clean environment using the official Jupyter packages?

conda create -n testenv jupyterlab=1.2.6 -c conda-forge
conda activate testenv
jupyter lab

Alternatively, have you tried asking Anaconda?

Hi,

Just ran test creating environment from terminal per your instructions.

Same result: Buttons are invisible, though they still work.

Regards,

Andy Hegedus

On Mar 3, 2020, at 4:34 PM, Jason Grout notifications@github.com wrote:

The common thing in all of these cases seems to be using Anaconda Navigator (and presumably using the Anaconda packages, which we don't have control over). Can you try reproducing this using the command line tools in a clean environment using the official Jupyter packages?

conda create -n testenv jupyterlab=1.2.6 -c conda-forge
conda activate testenv
jupyter lab
Alternatively, have you tried asking Anaconda?

β€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jupyterlab/jupyterlab/issues/7959?email_source=notifications&email_token=AKS4KBT4UUCP2JQOWNTPT3LRFWOYXA5CNFSM4K7IS24KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENVXA3A#issuecomment-594243692, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKS4KBWKFMYVGMRK3Y27VZ3RFWOYXANCNFSM4K7IS24A.

And for that environment, what is conda list --explicit?

This file may be used to create an environment using:

$ conda create --name --file

platform: osx-64

@EXPLICIT
https://conda.anaconda.org/conda-forge/osx-64/ca-certificates-2019.11.28-hecc5488_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/libcxx-9.0.1-1.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/libsodium-1.0.17-h01d97ff_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/pandoc-2.9.2-0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/xz-5.2.4-h1de35cc_1001.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/zlib-1.2.11-h0b31af3_1006.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/libffi-3.2.1-h6de7cb9_1006.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/ncurses-6.1-h0a44026_1002.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/openssl-1.1.1d-h0b31af3_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/tk-8.6.10-hbbe82c9_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/zeromq-4.3.2-h6de7cb9_2.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/readline-8.0-hcfe32e1_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/sqlite-3.30.1-h93121df_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/python-3.8.2-hdc38147_1_cpython.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/appnope-0.1.0-py38_1000.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/attrs-19.3.0-py_0.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/backcall-0.1.0-py_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/certifi-2019.11.28-py38_0.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/decorator-4.4.2-py_0.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/defusedxml-0.6.0-py_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/entrypoints-0.3-py38_1000.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/ipython_genutils-0.2.0-py_1.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/json5-0.9.0-py_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/markupsafe-1.1.1-py38h0b31af3_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/mistune-0.8.4-py38h0b31af3_1000.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/pandocfilters-1.4.2-py_1.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/parso-0.6.2-py_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/pickleshare-0.7.5-py38_1000.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/prometheus_client-0.7.1-py_0.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/ptyprocess-0.6.0-py_1001.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/pyzmq-19.0.0-py38h4bf09a9_0.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/send2trash-1.5.0-py_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/six-1.14.0-py38_0.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/testpath-0.4.4-py_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/tornado-6.0.3-py38h0b31af3_4.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/wcwidth-0.1.8-py_0.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/webencodings-0.5.1-py_1.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/zipp-3.1.0-py_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/importlib_metadata-1.5.0-py38_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/jedi-0.16.0-py38_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/pexpect-4.8.0-py38_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/pyrsistent-0.15.7-py38h0b31af3_0.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/python-dateutil-2.8.1-py_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/setuptools-45.2.0-py38_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/terminado-0.8.3-py38_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/traitlets-4.3.3-py38_0.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/bleach-3.1.1-py_0.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/jinja2-2.11.1-py_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/jsonschema-3.2.0-py38_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/jupyter_core-4.6.3-py38_0.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/pygments-2.5.2-py_0.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/wheel-0.34.2-py_1.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/jupyter_client-6.0.0-py_0.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/nbformat-5.0.4-py_0.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/pip-20.0.2-py_2.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/prompt_toolkit-3.0.3-py_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/ipython-7.13.0-py38h5ca1d4c_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/nbconvert-5.6.1-py38_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/ipykernel-5.1.4-py38h5ca1d4c_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/notebook-6.0.3-py38_0.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/jupyterlab_server-1.0.7-py_0.tar.bz2
https://conda.anaconda.org/conda-forge/noarch/jupyterlab-1.2.6-py_0.tar.bz2
Regards,

Andy Hegedus

On Mar 3, 2020, at 4:46 PM, Jason Grout notifications@github.com wrote:

And for that environment, what is conda list --explicit?

β€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jupyterlab/jupyterlab/issues/7959?email_source=notifications&email_token=AKS4KBXM23YMT45NO2P72STRFWQIFA5CNFSM4K7IS24KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENVX3IA#issuecomment-594247072, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKS4KBWKMHYGGZ2365JTM33RFWQIFANCNFSM4K7IS24A.

Okay, I have exactly the same environment. Icons in a new Jupyter notebook show up just fine for me in Safari 12.1.2 and Firefox 73.

In Safari, I right-click on the save button in the notebook toolbar (the first button), and click "inspect element", and get something that looks like this:

Screen Shot 2020-03-03 at 5 03 06 PM

Do you see that svg source too?

Here is what I get.

Also Interesting note: When I start up the icons above the notebook list are visible UNTIL the the list is return and then they become invisible. So they are there for a time.

Regards,

Andy Hegedus

On Mar 3, 2020, at 5:04 PM, Jason Grout notifications@github.com wrote:

Okay, I have exactly the same environment. Icons in a new Jupyter notebook show up just fine for me in Safari 12.1.2 and Firefox 73.

In Safari, I right-click on the save button in the notebook toolbar (the first button), and click "inspect element", and get something that looks like this:

https://user-images.githubusercontent.com/192614/75834505-054f6b80-5d71-11ea-8e55-7e63a76a0976.png
Do you see that svg source too?

β€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jupyterlab/jupyterlab/issues/7959?email_source=notifications&email_token=AKS4KBTMVGHYCEZVK2YE3XDRFWSJXA5CNFSM4K7IS24KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENVY7CI#issuecomment-594251657, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKS4KBVYZTXLDPOAO4NMJDTRFWSJXANCNFSM4K7IS24A.

Did you mean to attach a picture?

Email does keep pictures.

PastedGraphic-1

And that was inspecting an icon that was not showing?

Correct Icon was not showing.

Regards,

Andy Hegedus

On Mar 3, 2020, at 6:05 PM, Jason Grout notifications@github.com wrote:

And that was inspecting an icon that was not showing?

β€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jupyterlab/jupyterlab/issues/7959?email_source=notifications&email_token=AKS4KBU4LT6CXIMTR5MBOXDRFWZOZA5CNFSM4K7IS24KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENV7ORY#issuecomment-594278215, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKS4KBR6VDAPKQA77IN23YDRFWZOZANCNFSM4K7IS24A.

With toolbar in image. Notice the toolbar where the save icon would be has a box visible.

Invisible button,png
Andy Hegedus

Same problem here. Jupyterlab started on the terminal, but in both browsers it shows a buttonless interface. The menu seems incomplete, there is no way to work. Installed today, using pip3, I do not use Anaconda, I was planning to start learning but I have already encountered this problem, so far without a solution. I tested on Safari and Chrome, emptied caches and it still didn't work.
Mac 10.13.6 (High Sierra)
Jupyterlab 2.0.0
Jupyterlab-server 1.0.7
Python 3.7.6

I'm sorry to hear you are also having a similar issue. Maybe with two people seeing this, we can narrow down what the issue might be.

@andyhegedus - in your screenshot, I notice some differences in my icon vs yours. For example, yours has height/width 24, whereas mine is 18. Also, mine has an extra initial <path> element in the SVG. So it seems that we are actually not running the same JupyterLab.

@andyhegedus - When I run JupyterLab 2.0, I get what looks like the same svg as what you posted in your screenshot. Was your screenshot actually JupyterLab 2.0? I thought it was from the jlab 1.2.6 environments we were comparing.

CC also @telamonian, who has worked a lot more on icons than I have.

Mine issues are with version 2.0.0

Regards,

Andy Hegedus

On Mar 4, 2020, at 11:42 AM, Jason Grout notifications@github.com wrote:

CC also @telamonian https://github.com/telamonian, who has worked a lot more on icons than I have.

β€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jupyterlab/jupyterlab/issues/7959?email_source=notifications&email_token=AKS4KBTNIRM7DS43EYJYU7TRF2VJHA5CNFSM4K7IS24KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENZ3V5Y#issuecomment-594787063, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKS4KBTUEIAVSZAT2K473N3RF2VJHANCNFSM4K7IS24A.

Also, @andyhegedus - can you screenshot with only opening a single new blank notebook? I don't know if there is additional css in the notebooks you are opening that may affect things.

Mine issues are with version 2.0.0

In the original issue and when we were comparing environments, jlab 1.2.6 was the relevant version. Does JupyterLab 1.2.6 work for you?

If we are talking about jlab 2.0, can you give the conda list --explicit for that environment?

Nobody asked, but here's the screenshot of my Jupyterlab when it opens in Safari. I hope it helps us find some solution
Captura de Tela 2020-03-04 Γ s 16 48 18

@andyhegedus - in your screenshot, I notice some differences in my icon vs yours. For example, yours has height/width 24, whereas mine is 18. Also, mine has an extra initial <path> element in the SVG

@jasongrout As far as I can tell, andy's save.svg is the one from the 2.0.0 release, ~whereas yours is the one from 2.0.0-rc1 or -rc2. Jason, are you sure you're running the 2.0.0 release? The icon name in your data-icon field also isn't namespaced (yours is "save" instead of "ui-components:save"), which also suggests that your @jupyterlab/ui-components is from one of the earlier RCs~

Ahh, even earlier than that then. I see

My screenshot is from jlab 1.2.6, which is the version I thought we were discussing at the time.

@silvioalvim - does your browser javascript console show any errors? It looks like you have a different issue where no css is getting loaded.

@andyhegedus @silvioalvim If I was in your shoes, the first thing I would try is to nuke and rebuild your lab app dir, then immediately launch a new instance of Jupyterlab:

# WARNING: this will delete all of your installed extensions
jupyter lab clean --all
jupyter lab build
jupyter lab

This should fix any version conflicts between your @jupyterlab packages. If the problem still persists after the above, that will help us narrow down the issue considerably, since no external extensions will be present.

This has fixed a number of similar issues in the past. The downside is that all of your installed extensions will be deleted, so you'll have to manually reinstall them.

@andyhegedus I'm sorry that you're having trouble. Your problem is particularly odd, since the HTML for the toolbar icon that you should be seeing is present and well-formed. The only thing I can think of is that there's a problem the icon's CSS styling.

@andyhegedus If you don't want to clear your lab app dir (or if you've already done so and it hasn't worked), the next thing to try is to debug the CSS. Like before, right click on the save icon (or at least where it should be) and hit "inspect element". Then in the dev tools window that opens, hit the "show the details sidebar" button near the top right of the window. It would be very helpful for me to see the "Styles" and "Computed" information for both the <svg> node and the <span> node immediately above it, like so:

image

image

image

image

Hi,
Confirming I am using 2.0.0.
First I think this is an interesting effect. In general I do not see the button icons.
HOWEVER! When I run a particular piece of code relative to genesis and LDA the icons reappear while the code is being processed. Notice the asterisk indicating the running cell.
while running

Once the cell has finished running the icons disappear again.
gone

This particular cell and code is the only one thus far that I have seen this effect.

The other pieces you requested:
svg styles

svg computed

span styles

span computed

Andy

OK,

Now I am hosed!
Per your instruction

jupyter lab clean --all
jupyter lab build
jupyter lab

I got an error on the jupyter lab build.
[LabBuildApp] JupyterLab 2.0.0
[LabBuildApp] Building in /Users/andreashegedus/anaconda3/share/jupyter/lab
Build failed.
Troubleshooting: If the build failed due to an out-of-memory error, you
may be able to fix it by disabling the dev_build and/or minimize options.

I am now dead in the water!

I got same error on the jupyter lab build!!! The log file says error on "node" version
(The engine "node" is incompatible with this module. Expected version ">= 8.16.2". Got "8.11.4"
error Found incompatible module.)
and finally ends with the message ([LabBuildApp] RuntimeError: npm dependencies failed to install)

What I just did is use Anaconda Navigator to uninstall Jupyter Lab.
Close Navigator
and then reinstall via
conda install -c conda-forge jupyterlab

Start via terminal with jupyter lab.

I get back but button icons are still gone.
I can also start via Anaconda Navigator. Side Note Anaconda Navigator shows version 2.0.0 and has icon showing an update is available. If you update it actually takes you to version 1.2.6.
I have not updated and can confirm version 2.0.0 is running.
Andy

@silvioalvim As the error message says, your version of node is too old. Can you upgrade to the latest version of node 8, or better yet node 12 or 13 (I'm currently using 13.8.0)? If you can't, you can at least get back to you initial jupyterlab install as so:

pip uninstall jupyterlab
pip install jupyterlab

Also, it seems like your issue is completely different from that of @andyhegedus. It would be very helpful if you could start a new issue with information more specific to your particular problem.

You should have node 12 or later for JupyterLab 2.0.

@andyhegedus Whelp, the good news is that I figured out how to reproduce the error that you're seeing:

image

So the short answer to your problem is that the jupyterlab integration in pyLDAvis is hilariously, uniquely broken. I'll see if I can get to the bottom of it

Well,

I would say that proves that I am not crazy, except it doesn’t really prove that.

Question if you run it again do they should up while it is running that cell like my case?

Regards,

Andy Hegedus

On Mar 4, 2020, at 2:28 PM, Max Klein notifications@github.com wrote:

@andyhegedus https://github.com/andyhegedus Whelp, the good news is that I figured out how to reproduce the error that you're seeing:

I ran one of the test notebooks from the pyLDAvis project: https://github.com/bmabey/pyLDAvis/blob/master/notebooks/Movie%20Reviews%2C%20AP%20News%2C%20and%20Jeopardy.ipynb https://github.com/bmabey/pyLDAvis/blob/master/notebooks/Movie%20Reviews%2C%20AP%20News%2C%20and%20Jeopardy.ipynb
As soon as I ran the visualization step (the third code cell), all of the icons in jlab broke:

https://user-images.githubusercontent.com/2263641/75928875-588ef000-5e3d-11ea-99a8-9d89d4f90284.png
So the short answer to your problem is that the jupyterlab integration in pyLDAvis is hilariously, uniquely broken. I'll see if I can get to the bottom of it

β€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jupyterlab/jupyterlab/issues/7959?email_source=notifications&email_token=AKS4KBV6I2UKZHDWHYWQMO3RF3IXZA5CNFSM4K7IS24KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN2WIEA#issuecomment-594895888, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKS4KBRYLTEFEVNTLF5KWPTRF3IXZANCNFSM4K7IS24A.

"inspect element" offers no easy answers, but it does seem that as soon as I delete the cell containing the visualization all of the icons magically reappear...

@andyhegedus Can you please try deleting any related visualization cells and see what happens?

I can confirm that if I cut cell with visualization the icons reappear. and when I revert the notebook to last check point they are gone again.

Regards,

Andy Hegedus

On Mar 4, 2020, at 2:33 PM, Jason Grout notifications@github.com wrote:

This does look rather suspicious: https://github.com/bmabey/pyLDAvis/blob/a108b0c6458012e17d0d0f8a5b09015e17201982/pyLDAvis/js/ldavis.css#L5-L8 https://github.com/bmabey/pyLDAvis/blob/a108b0c6458012e17d0d0f8a5b09015e17201982/pyLDAvis/js/ldavis.css#L5-L8
β€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jupyterlab/jupyterlab/issues/7959?email_source=notifications&email_token=AKS4KBRYA72PDR5ZXY4N4TLRF3JL5A5CNFSM4K7IS24KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN2XOZI#issuecomment-594900837, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKS4KBUVJHSXXUBBSPBBFZ3RF3JL5ANCNFSM4K7IS24A.

It looks to me like pyLDAvis is very specifically coded for the classic notebook (i.e., it includes javascript and css that is very specific to the classic notebook frontend). It doesn't claim to support JupyterLab. Perhaps an issue can be opened there about supporting JupyterLab?

This does look rather suspicious: https://github.com/bmabey/pyLDAvis/blob/a108b0c6458012e17d0d0f8a5b09015e17201982/pyLDAvis/js/ldavis.css#L5-L8

Yep, that's exactly what it is. I just traced it back then saw your comment. Apparently, that stylesheet gets loaded so long as any pyLDAvis visualizations are present, and the offending lines:

path {
  fill: none;
  stroke: none;
}

render all of the <path> elements inside of svgs invisible

also on the issues for pyLDAvis
https://github.com/bmabey/pyLDAvis/issues/121 https://github.com/bmabey/pyLDAvis/issues/121
There is another example showing the buttons are missing.

Regards,

Andy Hegedus

On Mar 4, 2020, at 2:38 PM, Max Klein notifications@github.com wrote:

This does look rather suspicious: https://github.com/bmabey/pyLDAvis/blob/a108b0c6458012e17d0d0f8a5b09015e17201982/pyLDAvis/js/ldavis.css#L5-L8 https://github.com/bmabey/pyLDAvis/blob/a108b0c6458012e17d0d0f8a5b09015e17201982/pyLDAvis/js/ldavis.css#L5-L8
Yep, that's exactly what it is. I just traced it back then saw your comment. Apparently, that stylesheet gets loaded so long as any pyLDAvis visualizations are present, and the offending lines:

path {
fill: none;
stroke: none;
}
render all of the elements inside of svgs invisible

β€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jupyterlab/jupyterlab/issues/7959?email_source=notifications&email_token=AKS4KBXQYE6W4Z6MEMALVJDRF3J7TA5CNFSM4K7IS24KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN2YEVQ#issuecomment-594903638, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKS4KBUCFEVA277MYXMPUYTRF3J7TANCNFSM4K7IS24A.

I raised an issue on pyLDAvis.
Andy

bmabey/pyLDAvis#121 <bmabey/pyLDAvis#121>

Good find! Apparently I've investigated this before, which I totally forgot: https://github.com/bmabey/pyLDAvis/issues/121#issuecomment-387215639

I raised an issue on pyLDAvis.

Thanks. Closing this as resolved from our perspective then, and further conversation sounds like it should happen over there: https://github.com/bmabey/pyLDAvis/issues/162

Was this page helpful?
0 / 5 - 0 ratings

Related issues

blink1073 picture blink1073  Β·  76Comments

blink1073 picture blink1073  Β·  147Comments

jasongrout picture jasongrout  Β·  69Comments

stephenholtz picture stephenholtz  Β·  48Comments

blink1073 picture blink1073  Β·  92Comments