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

UnicodeEncodeError: 'utf-8' codec can't encode character '\udcdf' #194

Open
Merlinux-source opened this issue Oct 29, 2022 · 0 comments
Open
Labels

Comments

@Merlinux-source
Copy link

I was renaming Food Wars in a shared directory on a Ubuntu 22.04.1 LTS x86_64 Gnu + Linux system. the content is owned by a different user on the same system.
This issue does not occur on a windows 10 system. (as far as I've tested it).

------ Console output -----
Processing Episode "Shokugeki No Souma - S03E08 - The Alchemist.mkv" (1.17GB)
skipping (source and destination paths are the same)

Processing Episode "Shokugeki No Souma - S03E09 - Hunting the Survivors.mkv" (1.13GB)
skipping (source and destination paths are the same)

Processing Episode "Shokugeki No Souma - S03E10 - The Salmon Will Dance.mkv" (1.14GB)
skipping (source and destination paths are the same)

============================== CRASH REPORT BEGIN ==============================

--------------------------------- environment ----------------------------------

  • date = 2022-10-29
  • platform = Linux-5.15.0-52-generic-x86_64-with-glibc2.35
  • arguments = ['-b', '-r', '--id-tvdb=289909', '.']
  • cache location = /home/user/.cache/mnamer-py3.10.sql
  • python version = 3.10.6
  • mnamer version = 2.5.4
  • appdirs version = 1.4.4
  • guessit version = 3.2.0
  • requests version = 2.25.1
  • requests cache version = 0.5.2
  • teletype version = 1.1.0

--------------------------------- stack trace ----------------------------------

Traceback (most recent call last):
File "/home/user/.local/lib/python3.10/site-packages/mnamer/main.py", line 23, in main
frontend.launch()
File "/home/user/.local/lib/python3.10/site-packages/mnamer/frontends.py", line 80, in launch
self._process_targets()
File "/home/user/.local/lib/python3.10/site-packages/mnamer/frontends.py", line 91, in _process_targets
self._announce_file(target)
File "/home/user/.local/lib/python3.10/site-packages/mnamer/frontends.py", line 164, in _announce_file
tty.msg(
File "/home/user/.local/lib/python3.10/site-packages/mnamer/tty.py", line 90, in msg
style_print(_msg_format(body), style=message_type.value)
File "/home/user/.local/lib/python3.10/site-packages/teletype/io/common.py", line 106, in style_print
print(*values, **options)
UnicodeEncodeError: 'utf-8' codec can't encode character '\udcdf' in position 62: surrogates not allowed

=============================== CRASH REPORT END ===============================

Dang, it looks like mnamer crashed! Please consider filling an issue at
https://github.com/jkwill87/mnamer/issues along with this report.

@jkwill87 jkwill87 added the bug label Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants