Package: cclive
Version: 0.6.3-1
Severity: minor

Hi!

>From cclive's manpage:

=====
       -t, --retry=number
           number of retries. Specify 0 for infinite. Default is 5 times, with
           the exception of errors such as "forbidden" (403) or "not found"
           (404).
=====

But when using 0 it quits after the first error:

=====
$ cclive -c -t0 "http://www.youtube.com/watch?v=example";
fetch config ...done.
verify video link ...done.
from: 3009316 (2.9M)  remaining: 1717679 (1.6M)
youtube_example.flv  67%    3.0M /  4.5M                    22.8K/s  01m07s
error: fetch: Failure when receiving data from the peer (rc=56)
give up trying.
=====

Using a high number of retries works however:

=====
$ cclive -c -t1000 "http://www.youtube.com/watch?v=example";
fetch config ...done.
verify video link ...done.
from: 3172820 (3.0M)  remaining: 1554175 (1.5M)
youtube_example.flv  71%    3.2M /  4.5M                    23.0K/s     58s
error: fetch: Failure when receiving data from the peer (rc=56)
retry 1/1000 ... wait 5s
(...)
=====

It seems that using -t 0 for an infinite number of retries needs to be fixed.

Thank you!

Best regards,
Nelson

-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (100, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.36.naoliv1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cclive depends on:
ii  libc6                         2.11.2-7   Embedded GNU C Library: Shared lib
ii  libcurl3-gnutls               7.21.2-4   Multi-protocol file transfer libra
ii  libgcc1                       1:4.4.5-10 GCC support library
ii  libpcre3                      8.02-1.1   Perl 5 Compatible Regular Expressi
ii  libpcrecpp0                   8.02-1.1   Perl 5 Compatible Regular Expressi
ii  libquvi0                      0.2.8-1    library for parsing video download
ii  libstdc++6                    4.4.5-10   The GNU Standard C++ Library v3

cclive recommends no packages.

cclive suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to