Can't Open Jupyter Notebook (No Display | Arch Linux)

Hi,

 

I'm currently using Arch Linux for my main OS. In my other os, Windows, i can open Jupyter notebooks without any problem. However when i try to open it at Arch, I just get a blank page, not even the code is showing. Normal python files are opening, but when i double click on .ipynb files nothing happens. Appreciate any help.

 

As you can see from the screenshots, I'm at an .ipynb document. But i can't get any display on main window.

13 comments
Comment actions Permalink

Hey, can you please collect Logs from **Help | Collect Logs and Diagnostic Data** and attach them with your comment to https://youtrack.jetbrains.com/issue/PY-42149 ?

0
Comment actions Permalink

Hi, we have determined one possible cause to be missing dependencies, could you please install them according to https://youtrack.jetbrains.com/issue/PY-42149#focus=Comments-27-4385550.0-0 and let me know if it helped?

0
Comment actions Permalink

Same problem still exists on fresh install for PyCharm 2020.2

on MacOS

 

020-11-03 18:28:27,253 [1155430]  ERROR - tor.impl.FileEditorManagerImpl - PyCharm 2020.2.3  Build #PY-202.7660.27 
2020-11-03 18:28:27,253 [1155430]  ERROR - tor.impl.FileEditorManagerImpl - JDK: 11-internal; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o 
2020-11-03 18:28:27,253 [1155430]  ERROR - tor.impl.FileEditorManagerImpl - OS: Mac OS X 
2020-11-03 18:28:27,253 [1155430]  ERROR - tor.impl.FileEditorManagerImpl - Current Command:  
2020-11-03 18:28:32,273 [1160450]  ERROR - tor.impl.FileEditorManagerImpl - JCEF is not supported in this env or failed to initialize 
java.lang.IllegalStateException: JCEF is not supported in this env or failed to initialize
at com.intellij.ui.jcef.JBCefApp.getInstance(JBCefApp.java:176)
at com.intellij.ui.jcef.JBCefBrowser.<init>(JBCefBrowser.java:292)
at org.jetbrains.plugins.notebooks.jupyter.editor.preview.jcefWithWs.JupyterPreviewJCefView.<init>(JupyterPreviewJCefView.kt:18)
at org.jetbrains.plugins.notebooks.jupyter.editor.preview.jcefWithWs.JupyterPreviewJCefView.<init>(JupyterPreviewJCefView.kt:16)
0
Comment actions Permalink

Hello Evalds Urtans

I assume this is the cause : java.lang.IllegalStateException: JCEF is not supported in this env or failed to initialize

 

Please make sure the IDE is running under JVM: 11.0.8+10-b1145.3 (OpenJDK 64-Bit Server VM)  , see how to select JDK version https://intellij-support.jetbrains.com/hc/en-us/articles/206544879-Selecting-the-JDK-version-the-IDE-will-run-under 

 

Let me know how it goes. 

 

 

 

 

0
Comment actions Permalink

Changed the runtime to 11.3 (jbsdk11b113_osx_x64) 

still JCEF error - could it be that it is not supported by x64 only MacOS Catalina

0
Comment actions Permalink

11.3 (jbsdk11b113_osx_x64)  is not the latest one, please try JVM: 11.0.8+10-b1145.3

 

 

>could it be that it is not supported by x64 only MacOS Catalina

 

No are no limitations for this. 

0
Comment actions Permalink

Ok, replaced build to: 11.0.8+10-b1145.3

still get when trying top open ipynb:

```

2020-11-05 22:14:21,843 [  50220]  ERROR - tor.impl.FileEditorManagerImpl - JCEF is not supported in this env or failed to initialize 
java.lang.IllegalStateException: JCEF is not supported in this env or failed to initialize
at com.intellij.ui.jcef.JBCefApp.getInstance(JBCefApp.java:176)
at com.intellij.ui.jcef.JBCefBrowser.<init>(JBCefBrowser.java:292)
at org.jetbrains.plugins.notebooks.jupyter.editor.preview.jcefWithWs.Jupy
2020-11-05 22:14:21,846 [ 50223] ERROR - tor.impl.FileEditorManagerImpl - PyCharm 2020.2.3 Build #PY-202.7660.27
2020-11-05 22:14:21,846 [ 50223] ERROR - tor.impl.FileEditorManagerImpl - JDK: 11.0.8; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2020-11-05 22:14:21,846 [ 50223] ERROR - tor.impl.FileEditorManagerImpl - OS: Mac OS X

```

0
Comment actions Permalink

Please upload your logs folder zipped from ***Help | Collect logs and Diagnostic Data***   to the FTP

https://uploads.jetbrains.com/ and please let me know the filename. 

0
Comment actions Permalink

Upload ID: 2020_11_05_XnacEb7J7GYknB8r

0
Comment actions Permalink

Hello Evalds Urtans

 

I have checked the logs provided and I am concerned about changed values in registry: 

Registry values changed by user: documentation.show.toolbar = true, ide.browser.jcef.enabled = false, ide.browser.jcef.headless.enabled = true, ide.mac.allowDarkWindowDecorations = true

 

Could you please start the IDE with default settings https://www.jetbrains.com/help/pycharm/configuring-project-and-ide-settings.html#restore-defaults

 

Let me know if it helps. 

0
Comment actions Permalink

Hey, thank you for trying to help, but after settings reset ipynb still does not open - uploaded new logs

Upload ID: 2020_11_09_KLKYG1Ti5yCwbnHX

0
Comment actions Permalink

Yes, because the IDE start with default settings failed: 

2020-11-09 19:25:17,173 [ 37958] ERROR - #com.intellij.idea.Main - Couldn't backup current config or delete current config directory
java.io.FileNotFoundException: /Users/evalds/Library/Application Support/JetBrains/PyCharm2020.2/port (No such file or directory)

 

Please rename the folder /Users/evalds/Library/Application Support/JetBrains/PyCharm2020.2/ to  /.../PyCharm2020.2_old and restart the IDE. 

 

0

Please sign in to leave a comment.