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

I'm having this problem with unicodeencode #2374

Closed
Soroid opened this issue Feb 12, 2014 · 3 comments
Closed

I'm having this problem with unicodeencode #2374

Soroid opened this issue Feb 12, 2014 · 3 comments

Comments

@Soroid
Copy link

@Soroid Soroid commented Feb 12, 2014

Exact input is:
cd C:\youtube-dl

youtube-dl --add-metadata "http://www.youtube.com/watch?v=I87r-v9UmJE&list=PLK2Cy91Ga3S_2nOh8Uvt5fqV-EqoZjgP8&feature=mh_lolz"

Youtube-dl Version is
2014.02.10

Python version is:
Python 3.3.2

This is the error i get
\\\\\\\\\

C:\youtube-dl>youtube-dl --add-metadata "http://www.youtube.com/watch?v=I87r-v9U
mJE&list=PLK2Cy91Ga3S_2nOh8Uvt5fqV-EqoZjgP8&feature=mh_lolz"
[youtube:playlist] Downloading playlist PLPLK2Cy91Ga3S_2nOh8Uvt5fqV-EqoZjgP8 - a
dd --no-playlist to just download video I87r-v9UmJE
[youtube:playlist] PLK2Cy91Ga3S_2nOh8Uvt5fqV-EqoZjgP8: Downloading page #1
[download] Downloading playlist: asddddd
[youtube:playlist] playlist asddddd: Collected 31 video ids (downloading 31 of t
hem)
[download] Downloading video #1 of 31
[youtube] Setting language
[youtube] I87r-v9UmJE: Downloading webpage
[youtube] I87r-v9UmJE: Downloading video info webpage
[youtube] I87r-v9UmJE: Extracting video information
[download] TrapPegboard Nerds x Misterwives - Coffins [Free Download]-I87r-v9UmJ
E.mp4 has already been downloaded
[ffmpeg] Adding metadata to 'TrapPegboard Nerds x Misterwives - Coffins [Free Do
wnload]-I87r-v9UmJE.mp4'
Traceback (most recent call last):
File "main.py", line 18, in
File "youtube_dl__init__.pyo", line 800, in main
File "youtube_dl__init__.pyo", line 790, in _real_main
File "youtube_dl\YoutubeDL.pyo", line 982, in download
File "youtube_dl\YoutubeDL.pyo", line 510, in extract_info
File "youtube_dl\YoutubeDL.pyo", line 620, in process_ie_result
File "youtube_dl\YoutubeDL.pyo", line 546, in process_ie_result
File "youtube_dl\YoutubeDL.pyo", line 510, in extract_info
File "youtube_dl\YoutubeDL.pyo", line 539, in process_ie_result
File "youtube_dl\YoutubeDL.pyo", line 763, in process_video_result
File "youtube_dl\YoutubeDL.pyo", line 965, in process_info
File "youtube_dl\YoutubeDL.pyo", line 1016, in post_process
File "youtube_dl\postprocessor\ffmpeg.pyo", line 472, in run
File "youtube_dl\postprocessor\ffmpeg.pyo", line 64, in run_ffmpeg
File "youtube_dl\postprocessor\ffmpeg.pyo", line 56, in run_ffmpeg_multiple_fi
les
File "subprocess.pyo", line 711, in init
File "subprocess.pyo", line 948, in _execute_child
UnicodeEncodeError: 'ascii' codec can't encode character u'\u3010' in position 1
70: ordinal not in range(128)

///////////////////////////////////////////

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Feb 12, 2014

Could you please run it adding the --verbose option and paste the output?

@Soroid
Copy link
Author

@Soroid Soroid commented Feb 12, 2014

C:\youtube-dl>youtube-dl --add-metadata --verbose "http://www.youtube.com/watch?
v=I87r-v9UmJE&list=PLK2Cy91Ga3S_2nOh8Uvt5fqV-EqoZjgP8&feature=mh_lolz"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--add-metadata', '--verbose', 'http://www.youtube.c
om/watch?v=I87r-v9UmJE&list=PLK2Cy91Ga3S_2nOh8Uvt5fqV-EqoZjgP8&feature=mh_lolz']

[debug] Encodings: locale 'cp1252', fs 'mbcs', out 'cp850', pref: 'cp1252'
[debug] youtube-dl version 2014.02.10
[debug] Python version 2.7.5 - Windows-8-6.2.9200
[debug] Proxy map: {}
[youtube:playlist] Downloading playlist PLPLK2Cy91Ga3S_2nOh8Uvt5fqV-EqoZjgP8 - a
dd --no-playlist to just download video I87r-v9UmJE
[youtube:playlist] PLK2Cy91Ga3S_2nOh8Uvt5fqV-EqoZjgP8: Downloading page #1
[download] Downloading playlist: asddddd
[youtube:playlist] playlist asddddd: Collected 31 video ids (downloading 31 of t
hem)
[download] Downloading video #1 of 31
[youtube] Setting language
[youtube] I87r-v9UmJE: Downloading webpage
[youtube] I87r-v9UmJE: Downloading video info webpage
[youtube] I87r-v9UmJE: Extracting video information
[download] TrapPegboard Nerds x Misterwives - Coffins [Free Download]-I87r-v9UmJ
E.mp4 has already been downloaded
[ffmpeg] Adding metadata to 'TrapPegboard Nerds x Misterwives - Coffins [Free Do
wnload]-I87r-v9UmJE.mp4'
[debug] ffmpeg command line: ffmpeg -y -i 'TrapPegboard Nerds x Misterwives - Co
ffins [Free Download]-I87r-v9UmJE.mp4' -c copy -metadata date=20140210 -metadata
'artist=xKito Music' -metadata 'title=TrapPegboard Nerds x Misterwives - Coffin
s [Free Download]' 'TrapPegboard Nerds x Misterwives - Coffins [Free Download]-I
87r-v9UmJE.temp.mp4'
Traceback (most recent call last):
File "main.py", line 18, in
File "youtube_dl__init__.pyo", line 800, in main
File "youtube_dl__init__.pyo", line 790, in _real_main
File "youtube_dl\YoutubeDL.pyo", line 982, in download
File "youtube_dl\YoutubeDL.pyo", line 510, in extract_info
File "youtube_dl\YoutubeDL.pyo", line 620, in process_ie_result
File "youtube_dl\YoutubeDL.pyo", line 546, in process_ie_result
File "youtube_dl\YoutubeDL.pyo", line 510, in extract_info
File "youtube_dl\YoutubeDL.pyo", line 539, in process_ie_result
File "youtube_dl\YoutubeDL.pyo", line 763, in process_video_result
File "youtube_dl\YoutubeDL.pyo", line 965, in process_info
File "youtube_dl\YoutubeDL.pyo", line 1016, in post_process
File "youtube_dl\postprocessor\ffmpeg.pyo", line 472, in run
File "youtube_dl\postprocessor\ffmpeg.pyo", line 64, in run_ffmpeg
File "youtube_dl\postprocessor\ffmpeg.pyo", line 56, in run_ffmpeg_multiple_fi
les
File "subprocess.pyo", line 711, in init
File "subprocess.pyo", line 948, in _execute_child
UnicodeEncodeError: 'ascii' codec can't encode character u'\u3010' in position 1
70: ordinal not in range(128)

@phihag
Copy link
Contributor

@phihag phihag commented May 16, 2014

Thank you for the report. This has been solved in 269aecd and should work fine now. (At least it does for me in youtube-dl 2014.05.16, on Windows).

@phihag phihag closed this May 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.