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

The notebook icon on the startup page cannot be displayed normally, but it does not affect the use of functions. #16932

Closed
LY-must-win opened this issue Nov 6, 2024 · 5 comments
Labels
bug status:Needs Info status:Needs Triage Applied to new issues that need triage

Comments

@LY-must-win
Copy link

Description

The version of my jupyter lab is 4.3.0, running on the windows11 system. I installed jupyterlab through Anaconda.

After opening jupyter lab through Powershell, it can be started normally. However, the startup page cannot display the notebook option icon normally. I want to know how to solve this problem.
image

@LY-must-win LY-must-win added the bug label Nov 6, 2024
@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to new issues that need triage label Nov 6, 2024
@JasonWeill
Copy link
Contributor

@LY-must-win Thanks for opening this issue! Which browser are you using? Do you see any errors in the network tab or console in its developer tools when you load JupyterLab's launcher?

@LY-must-win
Copy link
Author

I am using the Chrome browser. I started it within the Anaconda Powershell, and this is the command window where it was launched
image

@krassowski
Copy link
Member

This is not the default kernel specification that JupyterLab ships with but most likely https://github.com/anaconda/nb_conda_kernels. It might be that there is a bug in how it defines logo. Maybe it does not handle spaces in file path?

In any case the related code does not live in JupyterLab and most kernels are known to work correctly.

To debug further you could run jupyter kernelspec list or jupyter kernelspec list --json and look up:

  • whether resource_dir is correct
  • whether the logo-64x64.png/logo-32x32.png/logo.svg files are in the resource dir
  • how the escaping of white spaces looks like and if manually modifying the kernelspec json file helps (after restarting).

@3coins
Copy link
Contributor

3coins commented Nov 19, 2024

@LY-must-win
Checking back on this, if you were able to take the information that @krassowski provided and able to debug this further?

@RRosio
Copy link
Contributor

RRosio commented Nov 27, 2024

Thanks again @LY-must-win for opening this issue! I have gone ahead and created a new issue in the nb_conda_kernels repository so we can close this one out here and continue the conversation there. It would be helpful if you could provide some of the additional information that Mike mentions in his comment!

@RRosio RRosio closed this as completed Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug status:Needs Info status:Needs Triage Applied to new issues that need triage
Projects
None yet
Development

No branches or pull requests

5 participants