Your message dated Sun, 20 Dec 2015 12:26:19 +0100
with message-id <[email protected]>
and subject line Re: Bug#781660: youtube-dl: --no-part can't handle fully
downloaded files: KeyError: u'total_bytes'
has caused the Debian Bug report #781660,
regarding youtube-dl: --no-part can't handle fully downloaded files: KeyError:
u'total_bytes'
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
781660: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=781660
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: youtube-dl
Version: 2015.02.28-1
When you use the --no-part option, and try to download a video that has
been already downloaded, youtube-dl fails with an exception:
$ youtube-dl --no-part -f 17 'http://www.youtube.com/watch?v=cV0tCphFMr8'
[youtube] cV0tCphFMr8: Downloading webpage
[youtube] cV0tCphFMr8: Extracting video information
[youtube] cV0tCphFMr8: Downloading DASH manifest
[download] Destination: The Bridge of Death - Monty Python and the Holy
Grail-cV0tCphFMr8.3gp
[download] 100% of 1.93MiB in 00:32
$ youtube-dl --no-part -f 17 'http://www.youtube.com/watch?v=cV0tCphFMr8'
[youtube] cV0tCphFMr8: Downloading webpage
[youtube] cV0tCphFMr8: Extracting video information
[youtube] cV0tCphFMr8: Downloading DASH manifest
[download] Resuming download at byte 2020136
[download] The Bridge of Death - Monty Python and the Holy
Grail-cV0tCphFMr8.3gp has already been downloaded
Traceback (most recent call last):
File "/usr/bin/youtube-dl", line 9, in <module>
load_entry_point('youtube-dl==2015.02.28', 'console_scripts', 'youtube-dl')()
File "/usr/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 397, in
main
_real_main(argv)
File "/usr/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 387, in
_real_main
retcode = ydl.download(all_urls)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1442, in
download
res = self.extract_info(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 654, in
extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 700, in
process_ie_result
return self.process_video_result(ie_result, download=download)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1143, in
process_video_result
self.process_info(new_info)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1375, in
process_info
success = dl(filename, info_dict)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1350, in
dl
return fd.download(name, info)
File "/usr/lib/python2.7/dist-packages/youtube_dl/downloader/common.py", line
339, in download
return self.real_download(filename, info_dict)
File "/usr/lib/python2.7/dist-packages/youtube_dl/downloader/http.py", line
94, in real_download
'status': 'finished',
File "/usr/lib/python2.7/dist-packages/youtube_dl/downloader/common.py", line
347, in _hook_progress
ph(status)
File "/usr/lib/python2.7/dist-packages/youtube_dl/downloader/common.py", line
235, in report_progress
s['_total_bytes_str'] = format_bytes(s['total_bytes'])
KeyError: u'total_bytes'
-- System Information:
Debian Release: 8.0
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages youtube-dl depends on:
ii python 2.7.9-1
ii python-pkg-resources 5.5.1-1
Versions of packages youtube-dl recommends:
ii curl 7.38.0-4
ii ffmpeg 7:2.6.1-1
ii libav-tools 6:11.3-1
pn mplayer2 | mplayer <none>
pn rtmpdump <none>
ii wget 1.16.3-2
--
Jakub Wilk
--- End Message ---
--- Begin Message ---
Version: 2015.11.27.1-1
* Jakub Wilk <[email protected]>, 2015-04-01, 13:16:
When you use the --no-part option, and try to download a video that
has been already downloaded, youtube-dl fails with an exception:
[...]
KeyError: u'total_bytes'
It no longer happens in the current version.
--
Jakub Wilk
--- End Message ---