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.

configparser.NoOptionError: No option 'custom-0/background' in section: 'appearance'

See original GitHub issue

Started after a computer reboot; Spyder was working before it. This is with Spyder 4.1.4 via conda update anaconda.

(tf2_env) PS C:\Users\OverL> spyder
Traceback (most recent call last):
  File "D:\Anaconda\envs\tf2_env\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "D:\Anaconda\envs\tf2_env\lib\site-packages\spyder\app\start.py", line 201, in main
    from spyder.app import mainwindow
  File "D:\Anaconda\envs\tf2_env\lib\site-packages\spyder\app\mainwindow.py", line 104, in <module>
    from spyder.app.utils import set_opengl_implementation
  File "D:\Anaconda\envs\tf2_env\lib\site-packages\spyder\app\utils.py", line 23, in <module>
    from spyder.utils.qthelpers import file_uri
  File "D:\Anaconda\envs\tf2_env\lib\site-packages\spyder\utils\qthelpers.py", line 31, in <module>
    from spyder.utils import icon_manager as ima
  File "D:\Anaconda\envs\tf2_env\lib\site-packages\spyder\utils\icon_manager.py", line 26, in <module>
    if is_dark_interface():
  File "D:\Anaconda\envs\tf2_env\lib\site-packages\spyder\config\gui.py", line 150, in is_dark_interface
    if not is_dark_font_color(color_scheme):
  File "D:\Anaconda\envs\tf2_env\lib\site-packages\spyder\config\gui.py", line 139, in is_dark_font_color
    color_scheme = get_color_scheme(color_scheme)
  File "D:\Anaconda\envs\tf2_env\lib\site-packages\spyder\config\gui.py", line 114, in get_color_scheme
    color_scheme[key] = CONF.get("appearance", "%s/%s" % (name, key))
  File "D:\Anaconda\envs\tf2_env\lib\site-packages\spyder\config\manager.py", line 228, in get
    return config.get(section=section, option=option, default=default)
  File "D:\Anaconda\envs\tf2_env\lib\site-packages\spyder\config\user.py", line 976, in get
    return config.get(section=section, option=option, default=default)
  File "D:\Anaconda\envs\tf2_env\lib\site-packages\spyder\config\user.py", line 513, in get
    raise cp.NoOptionError(option, section)
configparser.NoOptionError: No option 'custom-0/background' in section: 'appearance'

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
ccordoba12commented, Jun 11, 2022

Ok, let’s close it in favor of #5790.

0reactions
dalthvizcommented, Jun 10, 2022

Just in case, I think this is related with https://github.com/spyder-ide/spyder/issues/5790

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues Opening Spyder via Anaconda - python - Stack Overflow
Your Spyder config file should contain but is missing 'custom-1/background' in section: 'appearance'. If you have no experience, ...
Read more >
14.2. configparser — Configuration file parser
Let's take a very basic configuration file that looks like this: ... parser.get(section, option, **kwargs) - the second argument is not a fallback...
Read more >
configparser.NoOptionError: No option 'gene_regions' in section
when i use rgt-hint footprinting: it's error: Traceback (most recent call last): File ...
Read more >
13.2. ConfigParser — Configuration file parser - Python
The ConfigParser class implements a basic configuration file parser language which ... NoOptionError: No option 'does-not-exist' in section: 'mysqld' ...
Read more >
configparser —- Configuration file parser - 《Python 3.8 标准 ...
Let's take a very basic configuration file that looks like this: ... Extended interpolation isusing ${section:option} to denote a value from ...
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