Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_tkinter.TclError: character U+1f609 is above the range (U+0000-U+FFFF) allowed by Tcl #23

Open
DevMiser opened this issue Jun 27, 2020 · 1 comment

Comments

@DevMiser
Copy link

I am running the Python Pro Swith Demo using Thonny Python IDE on a Raspberry Pi 3 A+. The program runs ok, but when it starts I get a pop up labeled "Problem when handling 'ProgramOutput'" that contains the following message:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/thonny/workbench.py", line 1598, in event_generate
handler(event)
File "/usr/lib/python3/dist-packages/thonny/shell.py", line 393, in _handle_program_output
self._update_visible_io(None)
File "/usr/lib/python3/dist-packages/thonny/shell.py", line 501, in _update_visible_io
self._apply_io_event(data, stream_name)
File "/usr/lib/python3/dist-packages/thonny/shell.py", line 600, in _apply_io_event
self._insert_text_directly(data, tuple(tags))
File "/usr/lib/python3/dist-packages/thonny/shell.py", line 983, in _insert_text_directly
_insert_and_highlight_urls(line, tags)
File "/usr/lib/python3/dist-packages/thonny/shell.py", line 945, in _insert_and_highlight_urls
_insert(part, tags)
File "/usr/lib/python3/dist-packages/thonny/shell.py", line 939, in _insert
self.direct_insert("output_insert", txt, tags)
File "/usr/lib/python3/dist-packages/thonny/ui_utils.py", line 750, in direct_insert
return tktextext.EnhancedText.direct_insert(self, index, chars, tags=tags, **kw)
File "/usr/lib/python3/dist-packages/thonny/tktextext.py", line 719, in direct_insert
super().direct_insert(index, chars, tags, **kw)
File "/usr/lib/python3/dist-packages/thonny/tktextext.py", line 155, in direct_insert
self._original_insert(index, chars, tags, **kw)
File "/usr/lib/python3/dist-packages/thonny/tktextext.py", line 37, in original_function
self.tk.call((self._original_widget_name, operation) + args)
_tkinter.TclError: character U+1f609 is above the range (U+0000-U+FFFF) allowed by Tcl

@thegoliathgeek
Copy link
Contributor

Will this help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants