Closed GalaChen closed 1 year ago
Hi @GalaChen thank you for the feedback! This seems like a duplicate of https://github.com/spyder-ide/spyder/issues/10269 Let us know if the info in the linked issue above helps!
Closing as a duplicate of https://github.com/spyder-ide/spyder/issues/10269
Description
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Please provide any additional information below
File "E:\Anaconda\envs\tensorflow\lib\site-packages\spyder\plugins\configdialog.py", line 213, in accept configpage.apply_changes() File "E:\Anaconda\envs\tensorflow\lib\site-packages\spyder\plugins\configdialog.py", line 103, in apply_changes self.apply_callback() File "E:\Anaconda\envs\tensorflow\lib\site-packages\spyder\plugins\configdialog.py", line 268, in
self.apply_settings(self.changed_options))
File "E:\Anaconda\envs\tensorflow\lib\site-packages\spyder\plugins\configdialog.py", line 1183, in apply_settings
self.main.ipyconsole.apply_plugin_settings(['color_scheme_name'])
File "E:\Anaconda\envs\tensorflow\lib\site-packages\spyder\plugins\ipythonconsole.py", line 699, in apply_plugin_settings
client.set_color_scheme(color_scheme_o)
File "E:\Anaconda\envs\tensorflow\lib\site-packages\spyder\widgets\ipythonconsole\client.py", line 380, in set_color_scheme
self.shellwidget.set_color_scheme(color_scheme)
File "E:\Anaconda\envs\tensorflow\lib\site-packages\spyder\widgets\ipythonconsole\shell.py", line 141, in set_color_scheme
self._syntax_style_changed()
File "E:\Anaconda\envs\tensorflow\lib\site-packages\spyder\widgets\ipythonconsole\shell.py", line 464, in _syntax_style_changed
self._highlighter._style = create_style_class(self.syntax_style)
File "E:\Anaconda\envs\tensorflow\lib\site-packages\spyder\utils\ipython\style.py", line 171, in create_style_class
class StyleClass(Style):
File "E:\Anaconda\envs\tensorflow\lib\site-packages\pygments\style.py", line 101, in new
ndef[0] = colorformat(styledef)
File "E:\Anaconda\envs\tensorflow\lib\site-packages\pygments\style.py", line 58, in colorformat
assert False, "wrong color format %r" % text
AssertionError: wrong color format '#5b0b0'
Version and main components
Dependencies