Advertisement
HoleForYou

Thonny - Problem showing shellview

Sep 21st, 2021
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.10 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "/home/blackhole/apps/thonny/lib/python3.7/site-packages/thonny/workbench.py", line 1470, in _show_views
  3. self.show_view(view_id, False)
  4. File "/home/blackhole/apps/thonny/lib/python3.7/site-packages/thonny/workbench.py", line 1647, in show_view
  5. view = self.get_view(view_id)
  6. File "/home/blackhole/apps/thonny/lib/python3.7/site-packages/thonny/workbench.py", line 1553, in get_view
  7. view = class_(self) # View's master is workbench to allow making it maximized
  8. File "/home/blackhole/apps/thonny/lib/python3.7/site-packages/thonny/shell.py", line 119, in __init__
  9. undo=True,
  10. File "/home/blackhole/apps/thonny/lib/python3.7/site-packages/thonny/shell.py", line 1494, in __init__
  11. super().__init__(master, view, cnf=cnf, **kw)
  12. File "/home/blackhole/apps/thonny/lib/python3.7/site-packages/thonny/shell.py", line 311, in __init__
  13. super().__init__(master, cnf, **kw)
  14. File "/home/blackhole/apps/thonny/lib/python3.7/site-packages/thonny/ui_utils.py", line 818, in __init__
  15. master=master, style=style, tag_current_line=tag_current_line, cnf=cnf, **kw
  16. File "/home/blackhole/apps/thonny/lib/python3.7/site-packages/thonny/codeview.py", line 36, in __init__
  17. super().__init__(master=master, cnf=cnf, **kw)
  18. File "/home/blackhole/apps/thonny/lib/python3.7/site-packages/thonny/tktextext.py", line 207, in __init__
  19. self._reload_theme_options()
  20. File "/home/blackhole/apps/thonny/lib/python3.7/site-packages/thonny/codeview.py", line 70, in _reload_theme_options
  21. self._reload_syntax_options(event)
  22. File "/home/blackhole/apps/thonny/lib/python3.7/site-packages/thonny/codeview.py", line 74, in _reload_syntax_options
  23. self.set_syntax_options(_syntax_options)
  24. File "/home/blackhole/apps/thonny/lib/python3.7/site-packages/thonny/shell.py", line 1478, in set_syntax_options
  25. self.update_margin_color()
  26. File "/home/blackhole/apps/thonny/lib/python3.7/site-packages/thonny/shell.py", line 1482, in update_margin_color
  27. self.tag_configure("io", lmargincolor=get_syntax_options_for_tag("TEXT")["background"])
  28. KeyError: 'background'
  29.  
  30.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement