You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Piping slavic characters (ponysay "š", for example) ponysay 3.0.3, in a termite terminal emulator on Arch Linux system, prints a following error:
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/bin/ponysay/main.py", line 154, in
File "/usr/bin/ponysay/ponysay.py", line 258, in run
File "/usr/bin/ponysay/ponysay.py", line 309, in __run
File "/usr/bin/ponysay/ponysay.py", line 940, in printPony
File "/usr/bin/ponysay/ponysay.py", line 1139, in __printOutput
File "/usr/bin/ponysay/common.py", line 56, in print
UnicodeEncodeError: 'utf-8' codec can't encode characters in position 29-30: surrogates not allowed
The text was updated successfully, but these errors were encountered:
Running on Debian 8 with Python 3.4, with all ponies enabled, but no unicode in the message, I get a similar error message about 5% of the time. No pony is printed.
Traceback (most recent call last):
File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.4/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/bin/ponysay/__main__.py", line 154, in <module>
File "/usr/bin/ponysay/ponysay.py", line 254, in run
File "/usr/bin/ponysay/ponysay.py", line 305, in __run
File "/usr/bin/ponysay/ponysay.py", line 929, in printPony
File "/usr/bin/ponysay/backend.py", line 116, in parse
File "/usr/bin/ponysay/common.py", line 80, in printinfo
UnicodeEncodeError: 'ascii' codec can't encode character '\xa9' in position 577: ordinal not in range(128)
Piping slavic characters (
ponysay "š"
, for example) ponysay 3.0.3, in a termite terminal emulator on Arch Linux system, prints a following error:The text was updated successfully, but these errors were encountered: