Package: clive
Version: 0.4.14-1
Severity: important

--- Please enter the report below this line. ---
Running clive with Python 2.5 results in a NameError in module m2urllib2.
Testing it with Python 2.4 succeeds fine, without any problems.

Traceback (including a nice downhill bike-movie ;) :

% clive "http://youtube.com/watch?v=DDaqcEkQRnM"; 
clive/0.4.14 (linux/2.6.24; py/2.5.2; urlg/3.1.0; fparser/4.1)
cache:yes; paste:off; play:off; encode:off; rate:off; exist:rename
http://youtube.com/watch?v=DDaqcEkQRnM&fmt=18                   100%
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 51, in main
    Nomad().run(self.opts, self.args, self._say)
  File "/usr/lib/python2.5/site-packages/clive/nomad.py", line 98, in run
    self._check_raw_urls(raw_urls)
  File "/usr/lib/python2.5/site-packages/clive/nomad.py", line 273, in 
_check_raw_urls
    self._check_url(url, (index,len(raw_urls)))
  File "/usr/lib/python2.5/site-packages/clive/nomad.py", line 372, in 
_check_url
    self._found_urls, self._get_proxy())
  File "/usr/lib/python2.5/site-packages/clive/parse.py", line 99, in parse
    length = url_data['file_length_callb'](xurl)
  File "/usr/lib/python2.5/site-packages/clive/nomad.py", line 400, in 
_callb_check_file_len
    o = g.urlopen(xurl)
  File "/var/lib/python-support/python2.5/urlgrabber/grabber.py", line 884, in 
urlopen
    return self._retry(opts, retryfunc, url)
  File "/var/lib/python-support/python2.5/urlgrabber/grabber.py", line 845, in 
_retry
    r = apply(func, (opts,) + args, {})
  File "/var/lib/python-support/python2.5/urlgrabber/grabber.py", line 883, in 
retryfunc
    return URLGrabberFileObject(url, filename=None, opts=opts)
  File "/var/lib/python-support/python2.5/urlgrabber/grabber.py", line 1001, in 
__init__
    self._do_open()
  File "/var/lib/python-support/python2.5/urlgrabber/grabber.py", line 1066, in 
_do_open
    opener = self._get_opener()
  File "/var/lib/python-support/python2.5/urlgrabber/grabber.py", line 1057, in 
_get_opener
    self._opener = CachedOpenerDirector(ssl_factory, *handlers)
  File "/var/lib/python-support/python2.5/urlgrabber/grabber.py", line 1312, in 
CachedOpenerDirector
    opener = ssl_factory.create_opener(*handlers)
  File "/var/lib/python-support/python2.5/urlgrabber/sslfactory.py", line 63, 
in create_opener
    return m2urllib2.build_opener(self.ssl_context, *handlers)
  File "/var/lib/python-support/python2.5/M2Crypto/m2urllib2.py", line 113, in 
build_opener
    if inspect.isclass(check):
NameError: global name 'inspect' is not defined


--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.24-1-686-bigmem

Debian Release: lenny/sid
  500 unstable        www.debian-multimedia.org 
  500 unstable        mirror.noreply.org 
  500 unstable        ftp.de.debian.org 
  500 hardy           ppa.launchpad.net 
  500 etch-wx         apt.wxwidgets.org 

--- Package information. ---
Depends                (Version) | Installed
================================-+-===========
python                           | 2.5.2-1
python-central        (>= 0.6.7) | 0.6.7
python-newt                      | 0.52.2-11.2
python-urlgrabber     (>= 3.1.0) | 3.1.0-4
python-feedparser       (>= 4.1) | 4.1-10



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to