question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Menu items greyed out and linting not enabled

See original GitHub issue

Thanks for making this! Unfortunately I can’t get it to work, the menu items are greyed out. I have flake8 installed both in my conda env and system wide. I tried both with the base conva env current one. Logging is true in the config. I can open a terminal in JL and which flake8 shows me the path to my conda installed flake8. There are no error message in the terminal from which I run JL and I could not see anything related to flake8 in the firefox console log. I am Not sure what to try next. I installed the plugin today.

flake8              3.7.9
IPython             6.5.0
jupyter_client      5.2.3
jupyter_core        4.6.3
jupyterlab          2.1.0
notebook            5.6.0
-----
Python 3.7.6 | packaged by conda-forge | (default, Mar 23 2020, 23:03:20) [GCC 7.3.0]
Linux-5.6.2-arch1-2-x86_64-with-arch
4 logical CPU cores
-----

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:19
  • Comments:15 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
nuclear0wlcommented, Jun 23, 2020

Hello, I’ve faced the same issue.

My environment is

  • Docker image jupyter/pyspark-notebook:c76996e26e48 as a Notebook server
  • OS X + Google Chrome browser as a client side

I can’t realize the cause of this issue but have found a way to fix it dirty and quickly. In JypyterLab you may go to Settings -> Advanced settings -> Jupyterlab-Flake8 and set "terminal_name" in User preferences to 1. After that save config, reload JupyterLab page in your browser and try to lint something in a Notebook.

Unfortunately, if you need to enable/disable linting regularly (I need it as this extension conflicts with @jupyterlab/debugger) you may again run into greyed menu items and absence of linting. In that case, you may go back to the User preferences of extension and find that "toggled" option is set to false. Set it to true and reload the browser page.

Hope, it may help somebody besides me and give contributor some ideas about the root cause of this issue.

1reaction
goekcecommented, Apr 1, 2022

If you are looking for another PEP8 linter: https://github.com/jupyter-lsp/jupyterlab-lsp

Read more comments on GitHub >

github_iconTop Results From Across the Web

Extension titles and icons continually gray out, not available
Basically, go into the extensions menu that would otherwise at that moment have icons and titles grayed out, and then I would right...
Read more >
menu item is enabled, but still grayed out - Stack Overflow
It looks fine there and 'enabled' is checked. But when I run the application, all menu items are grayed out. I've checked isEnabled...
Read more >
Certain menu items greyed out in Visual Studio Community ...
However, those added menu items are greyed out and their respective short-cut keys don't work. The editor is being used for HTML.
Read more >
Cut-N-Paste Options Greyed Out In Excel
The options to Cut, Copy, and Paste where disabled - aka 'greyed out' - in the menus. Seems like an odd condition. The...
Read more >
Code folding menu items greyed out - Visual Studio Feedback
Code folding is enabled. I've tried disabling & reënabling it and quitting & restarting visual studio, and I can't find a solution by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found