configparser.NoOptionError: No option 'custom-0/background' in section: 'appearance'
See original GitHub issueStarted 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:
- Created 3 years ago
- Comments:9 (8 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Ok, let’s close it in favor of #5790.
Just in case, I think this is related with https://github.com/spyder-ide/spyder/issues/5790