Closed stefaneidelloth closed 4 years ago
Context menu, see (slightly outdated, yet relevant) gif below:
Actually, it should have shown up in there..
You can access the browser console for logs of interface errors and warnings, see How_to_open_the_devtools_in_your_browser
The command also does not show up in context menu of the cell:
Screenshot of devtool console:
Thank you. This is intriguing as there is nothing unexpected in the logs. I am sorry it does not work as expected. Would you mind taking a screenshot of the statusbar item which should look somewhat like that:
I restarted the kernel and got some more output.
Hm. Today the diagnostics panel works (shows up on Commands Panel). Don't know why. I just cloned some git repository but don't guess that's the reason. I'll let you know if I find out more.
Is it working consistently well since?
Thank you for asking back. Unfortunately not. I could share my screen in a gotomeeting session if that would help to identify the underlying issue.
Edit
The issue might be due to a version conflict of Jedi with xeus-python. After updating Jedi with
pip install -U jedi
it seems to work.
Maybe you can include a version check for jedi if document initialization failes.
python-language-server 0.35.1 requires jedi<0.18.0,>=0.17.0, but you'll have jedi 0.15.2 which is incompatible.
xeus-python 0.8.3 requires jedi<0.16,>=0.15.1, but you'll have jedi 0.17.2 which is incompatible.
I filed a ticket at xeus-python to update jedi dependency
Thanks for the update! Btw, just released python-language-server 0.36 requires jedi 0.17.2.
jupyterlab-lsp shows pep 8 issues but I am not able to find/open "show diagnostics panel" from command palette:
=> Is there another way to show diagnostics panel, e.g. key shortcut? => How can I find out more about that issue? Is there some kind of log of jupyterlab-lsp?
Here is the output of jupyter labextension list
Here is the output for jupyter troubleshoot: