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

Unable to convert audio file due to encoding issue #153

Open
sentry-io bot opened this issue Nov 10, 2022 · 0 comments
Open

Unable to convert audio file due to encoding issue #153

sentry-io bot opened this issue Nov 10, 2022 · 0 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Nov 10, 2022

UnicodeEncodeError: 'latin-1' codec can't encode character '\u2019' in position 162: ordinal not in range(256)

Sentry Issue: DOCTOR-N

UnicodeEncodeError: 'latin-1' codec can't encode character '\u2019' in position 162: ordinal not in range(256)
(3 additional frame(s) were not displayed)
...
  File "doctor/tasks.py", line 479, in set_mp3_meta_data
    audio_file.tag.audio_source_url = audio_data["download_url"]
  File "eyed3/id3/tag.py", line 797, in audio_source_url
    self._setUrlFrame(frames.URL_AUDIOSRC_FID, url)
  File "eyed3/id3/tag.py", line 759, in _setUrlFrame
    self.frame_set[fid] = frames.UrlFrame(fid, url)
  File "eyed3/id3/frames.py", line 421, in __init__
    self.url = url
  File "eyed3/id3/frames.py", line 432, in url
    url.encode(ISO_8859_1)  # Likewise, it must encode
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

0 participants