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

Render nothing in jupyter notebook[BUG] #3

Open
Guankuiliu opened this issue Mar 17, 2024 · 5 comments
Open

Render nothing in jupyter notebook[BUG] #3

Guankuiliu opened this issue Mar 17, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@Guankuiliu
Copy link

Hi Maximilian,

Thank you for your excellent work. I have installed lexcube but encountered an issue - the images are not rendering (no error reported), and I'm not sure what's causing it.

image

image

@Guankuiliu Guankuiliu added the bug Something isn't working label Mar 17, 2024
@Guankuiliu Guankuiliu changed the title Render nothing in jupyter noteboo[BUG] Render nothing in jupyter notebook[BUG] Mar 18, 2024
@msoechting
Copy link
Owner

Hi Guankui, thanks for your report! What IDE/program are you using to display Jupyter notebook content? Also, is it possible to retrieve any error message, e.g., through a web inspector? Thanks 😃

@Guankuiliu
Copy link
Author

Here it is:
localhost-1711090551706.log

@msoechting
Copy link
Owner

msoechting commented Apr 2, 2024

Hi @Guankuiliu, thanks for the log! I have an idea on what might be the issue. Which program/IDE are you using though? I would need to test my solution locally and don't recognize the GUI in your screenshot 😄

@Guankuiliu
Copy link
Author

Hi @msoechting,
I am using the "oceans16" theme from Jupyterthemes. Here is the list of packages for the conda environment. The operating system is Win10, and the browser is Chrome. requirements.txt

@msoechting
Copy link
Owner

Hi @Guankuiliu,

Your requirements.txt does not contain jupyter_server or jupyterthemes, I am not sure the requirements.txt is complete?

I could not reproduce the issue in a Python virtualenv with Jupyter Notebook 7.1.2 or 6.0.0 with your requirements and the "oceans16" theme installed on Windows 11:
grafik

Ideas for fixing:

  1. Try "trusting" the environment (top-right, next to the kernel selection)
  2. Try upgrading Jupyter Notebook
  3. Try using Jupyter Lab (jupyter lab instead of jupyter notebook)
  4. Try installing widgetsnbextension or ipywidgets 4.0 (based on a warning I got in my web console)
  5. Sometimes the extension JavaScript code is fetched from NPM instead of locally. However, I saw that the default NPM registry is blocked in China, maybe this is a problem? (https://stackoverflow.com/questions/22764407/npm-install-goes-to-dead-in-china)
  6. Try in a fresh environment and run pip install lexcube, which also installs the latest compatible Jupyter version.

If the issue persists, you can also provide:

  1. Exact browser version you are using (three dot menu -> "About Google Chrome")
  2. Python version (python --version)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants