[Python-apps-team] Bug#506041: Bug#506041: clive: uncaught exception CliveNoMediaError

Marco Rodrigues gothicx at sapo.pt
Mon Nov 17 23:46:42 UTC 2008


Ben Finney wrote:
> Package: clive
> Version: 0.4.18-1
> Severity: normal
> 

Hi!

> Using ‘clive’ on some URLs can result in a ‘no media’ error; these are
> usually caught and reported correctly.
> 
> The following error, though, is not caught and propagates up to the
> interpreter, resulting in a traceback printed to the terminal.
> 

Could you try with the version in unstable?

Thanks for reporting the bug.

> =====
> $ clive 'http://au.youtube.com/watch?v=OMvAXpq7Xj4'
> clive 0.4.18 20080715  [Linux]
> http://au.youtube.com/watch?v=OMvAXpq7Xj4&fmt=18                           100%
> warn: no-media: switched to low quality
> error: Traceback (most recent call last):
>   File "/usr/bin/clive", line 28, in <module>
>     Clive().main()
>   File "/usr/lib/python2.5/site-packages/clive/main.py", line 50, in main
>     Nomad().run(self.opts, self.args, self._say)
>   File "/usr/lib/python2.5/site-packages/clive/nomad.py", line 108, in run
>     self._check_raw_urls(raw_urls)
>   File "/usr/lib/python2.5/site-packages/clive/nomad.py", line 277, in _check_raw_urls
>     self._check_url(url, (index,len(raw_urls)))
>   File "/usr/lib/python2.5/site-packages/clive/nomad.py", line 377, in _check_url
>     self._found_urls, self._get_proxy())
>   File "/usr/lib/python2.5/site-packages/clive/parse.py", line 103, in parse
>     length = url_data['file_length_callb'](xurl)
>   File "/usr/lib/python2.5/site-packages/clive/nomad.py", line 422, in _callb_check_file_len
>     raise CliveNoMediaError # Try low quality
> CliveNoMediaError: error: no media (http/415)
> =====
> 
> -- System Information:
> Debian Release: lenny/sid
>   APT prefers testing
>   APT policy: (990, 'testing'), (500, 'stable'), (90, 'unstable')
> Architecture: powerpc (ppc64)
> 
> Kernel: Linux 2.6.25-2-powerpc64 (SMP w/2 CPU cores)
> Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_AU.UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages clive depends on:
> ii  python                       2.5.2-2     An interactive high-level object-o
> ii  python-central               0.6.8       register and build utility for Pyt
> ii  python-feedparser            4.1-11      Universal Feed Parser for Python
> ii  python-newt                  0.52.2-11.3 A NEWT module for Python
> ii  python-urlgrabber            3.1.0-4     A high-level cross-protocol url-gr
> 
> clive recommends no packages.
> 
> Versions of packages clive suggests:
> pn  ffmpeg                        <none>     (no description available)
> 
> -- no debconf information
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Python-apps-team mailing list
> Python-apps-team at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/python-apps-team

-- 
Marco Rodrigues

http://Marco.Tondela.org





More information about the Python-apps-team mailing list