I am trying to download the latest drivers from
http://linuxtv.org/hg/v4l-dvb/archive/tip.tar.bz2 but I get the
atytached Python error page instead. Not sure if the error is on the
server or at my end.

Brian
--> --> -->
 
 
CompressionError
Python 2.4.5: /usr/bin/python
Thu Sep 4 12:27:41 2008

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /usr/lib/cgi-bin/hgwebdir.cgi
   16 # Alternatively you can pass a list of ('virtual/path', '/real/path') tuples
   17 # or use a dictionary with entries like 'virtual/path': '/real/path'
   18 
   19 h = hgweb.hgwebdir("/etc/mercurial/hgweb.config")
   20 h.run()
h = <mercurial.hgweb.hgwebdir_mod.hgwebdir object>, h.run = <bound method hgwebdir.run of <mercurial.hgweb.hgwebdir_mod.hgwebdir object>>
 /usr/lib/python2.4/site-packages/mercurial/hgweb/hgwebdir_mod.py in run(self=<mercurial.hgweb.hgwebdir_mod.hgwebdir object>)
   58         def make_web_app():
   59             return self
   60         wsgicgi.launch(wsgiapplication(make_web_app))
   61 
   62     def run_wsgi(self, req):
wsgicgi = <module 'mercurial.hgweb.wsgicgi' from '/usr/lib...on2.4/site-packages/mercurial/hgweb/wsgicgi.pyc'>, wsgicgi.launch = <function launch>, wsgiapplication = <class 'mercurial.hgweb.request.wsgiapplication'>, make_web_app = <function make_web_app>
 /usr/lib/python2.4/site-packages/mercurial/hgweb/wsgicgi.py in launch(application=<mercurial.hgweb.request.wsgiapplication object>)
   59         return write
   60 
   61     result = application(environ, start_response)
   62     try:
   63         for data in result:
result undefined, application = <mercurial.hgweb.request.wsgiapplication object>, environ = {'DOCUMENT_ROOT': '/var/www', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_HOST': 'linuxtv.org', 'HTTP_KEEP_ALIVE': '300', 'HTTP_REFERER': 'http://www.ivtvdriver.org/index.php/Cx18', ...}, start_response = <function start_response>
 /usr/lib/python2.4/site-packages/mercurial/hgweb/request.py in __call__(self=<mercurial.hgweb.request.wsgiapplication object>, wsgienv={'DOCUMENT_ROOT': '/var/www', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_HOST': 'linuxtv.org', 'HTTP_KEEP_ALIVE': '300', 'HTTP_REFERER': 'http://www.ivtvdriver.org/index.php/Cx18', ...}, start_response=<function start_response>)
   16 
   17     def __call__(self, wsgienv, start_response):
   18         return _wsgirequest(self.destmaker(), wsgienv, start_response)
   19 
   20 class _wsgioutputfile(object):
global _wsgirequest = <class 'mercurial.hgweb.request._wsgirequest'>, self = <mercurial.hgweb.request.wsgiapplication object>, self.destmaker = <function make_web_app>, wsgienv = {'DOCUMENT_ROOT': '/var/www', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_HOST': 'linuxtv.org', 'HTTP_KEEP_ALIVE': '300', 'HTTP_REFERER': 'http://www.ivtvdriver.org/index.php/Cx18', ...}, start_response = <function start_response>
 /usr/lib/python2.4/site-packages/mercurial/hgweb/request.py in __init__(self=<mercurial.hgweb.request._wsgirequest object>, destination=<mercurial.hgweb.hgwebdir_mod.hgwebdir object>, wsgienv={'DOCUMENT_ROOT': '/var/www', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_HOST': 'linuxtv.org', 'HTTP_KEEP_ALIVE': '300', 'HTTP_REFERER': 'http://www.ivtvdriver.org/index.php/Cx18', ...}, start_response=<function start_response>)
   49         self.start_response = start_response
   50         self.headers = []
   51         destination.run_wsgi(self)
   52 
   53     def __iter__(self):
destination = <mercurial.hgweb.hgwebdir_mod.hgwebdir object>, destination.run_wsgi = <bound method hgwebdir.run_wsgi of <mercurial.hgweb.hgwebdir_mod.hgwebdir object>>, self = <mercurial.hgweb.request._wsgirequest object>
 /usr/lib/python2.4/site-packages/mercurial/hgweb/hgwebdir_mod.py in run_wsgi(self=<mercurial.hgweb.hgwebdir_mod.hgwebdir object>, req=<mercurial.hgweb.request._wsgirequest object>)
  180                 req.env['REPO_NAME'] = virtual
  181                 try:
  182                     hgweb(real).run_wsgi(req)
  183                 except IOError, inst:
  184                     req.write(tmpl("error", error=inst.strerror))
global hgweb = <mercurial.demandload._replacer_from object>, real = '/hg/v4l-dvb', ).run_wsgi undefined, req = <mercurial.hgweb.request._wsgirequest object>
 /usr/lib/python2.4/site-packages/mercurial/hgweb/hgweb_mod.py in run_wsgi(self=<mercurial.hgweb.hgweb_mod.hgweb object>, req=<mercurial.hgweb.request._wsgirequest object>)
  815         if method:
  816             try:
  817                 method(req)
  818             except (hg.RepoError, revlog.RevlogError), inst:
  819                 req.write(self.t("error", error=str(inst)))
method = <bound method hgweb.do_archive of <mercurial.hgweb.hgweb_mod.hgweb object>>, req = <mercurial.hgweb.request._wsgirequest object>
 /usr/lib/python2.4/site-packages/mercurial/hgweb/hgweb_mod.py in do_archive(self=<mercurial.hgweb.hgweb_mod.hgweb object>, req=<mercurial.hgweb.request._wsgirequest object>)
 1008         if (type_ in self.archives and (type_ in allowed or
 1009             self.configbool("web", "allow" + type_, False))):
 1010             self.archive(req, changeset, type_)
 1011             return
 1012 
self = <mercurial.hgweb.hgweb_mod.hgweb object>, self.archive = <bound method hgweb.archive of <mercurial.hgweb.hgweb_mod.hgweb object>>, req = <mercurial.hgweb.request._wsgirequest object>, changeset = '\x91\x0b\xa7\xd7\x07\xd4M.\xe19<\xe8\x9fG(\xae\xc2u\x9ed', type_ = 'bz2'
 /usr/lib/python2.4/site-packages/mercurial/hgweb/hgweb_mod.py in archive(self=<mercurial.hgweb.hgweb_mod.hgweb object>, req=<mercurial.hgweb.request._wsgirequest object>, cnode='\x91\x0b\xa7\xd7\x07\xd4M.\xe19<\xe8\x9fG(\xae\xc2u\x9ed', type_='bz2')
  634             headers.append(('Content-encoding', encoding))
  635         req.header(headers)
  636         archival.archive(self.repo, req.out, cnode, artype, prefix=name)
  637 
  638     # add tags to things
global archival = <module 'mercurial.archival' from '/usr/lib/python2.4/site-packages/mercurial/archival.pyc'>, archival.archive = <function archive>, self = <mercurial.hgweb.hgweb_mod.hgweb object>, self.repo = <mercurial.localrepo.localrepository object>, req = <mercurial.hgweb.request._wsgirequest object>, req.out = <mercurial.hgweb.request._wsgioutputfile object>, cnode = '\x91\x0b\xa7\xd7\x07\xd4M.\xe19<\xe8\x9fG(\xae\xc2u\x9ed', artype = 'tbz2', prefix undefined, name = 'v4l-dvb-910ba7d707d4'
 /usr/lib/python2.4/site-packages/mercurial/archival.py in archive(repo=<mercurial.localrepo.localrepository object>, dest=<mercurial.hgweb.request._wsgioutputfile object>, node='\x91\x0b\xa7\xd7\x07\xd4M.\xe19<\xe8\x9fG(\xae\xc2u\x9ed', kind='tbz2', decode=True, matchfn=None, prefix='v4l-dvb-910ba7d707d4', mtime=None)
  163     change = repo.changelog.read(node)
  164     mn = change[0]
  165     archiver = archivers[kind](dest, prefix, mtime or change[2][0])
  166     m = repo.manifest.read(mn)
  167     items = m.items()
archiver undefined, global archivers = {'files': <class mercurial.archival.fileit>, 'tar': <class mercurial.archival.tarit>, 'tbz2': <function <lambda>>, 'tgz': <function <lambda>>, 'uzip': <function <lambda>>, 'zip': <class mercurial.archival.zipit>}, kind = 'tbz2', dest = <mercurial.hgweb.request._wsgioutputfile object>, prefix = 'v4l-dvb-910ba7d707d4', mtime = None, change = ('`\xc8o\xc4\x1b\xb2\x8f\xf5\x1fBN\x9a\xbat]\xdd~NN\x1c', 'Mauro Carvalho Chehab <[EMAIL PROTECTED]>', (1220355569.0, 10800), [], 'merge: http://linuxtv.org/hg/~jfrancois/gspca/\n\n...ff-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>', {})
 /usr/lib/python2.4/site-packages/mercurial/archival.py in (name=<mercurial.hgweb.request._wsgioutputfile object>, prefix='v4l-dvb-910ba7d707d4', mtime=1220355569.0)
  131     'files': fileit,
  132     'tar': tarit,
  133     'tbz2': lambda name, prefix, mtime: tarit(name, prefix, mtime, 'bz2'),
  134     'tgz': lambda name, prefix, mtime: tarit(name, prefix, mtime, 'gz'),
  135     'uzip': lambda name, prefix, mtime: zipit(name, prefix, mtime, False),
name = <mercurial.hgweb.request._wsgioutputfile object>, prefix = 'v4l-dvb-910ba7d707d4', mtime = 1220355569.0, global tarit = <class mercurial.archival.tarit>
 /usr/lib/python2.4/site-packages/mercurial/archival.py in __init__(self=<mercurial.archival.tarit instance>, dest=<mercurial.hgweb.request._wsgioutputfile object>, prefix='v4l-dvb-910ba7d707d4', mtime=1220355569.0, kind='bz2')
   45             self.z = tarfile.open(dest, mode='w:'+kind)
   46         else:
   47             self.z = tarfile.open(mode='w|'+kind, fileobj=dest)
   48 
   49     def addfile(self, name, mode, data):
self = <mercurial.archival.tarit instance>, self.z undefined, global tarfile = <module 'tarfile' from '/usr/lib/python2.4/tarfile.pyc'>, tarfile.open = <bound method type.open of <class 'tarfile.TarFile'>>, mode undefined, kind = 'bz2', fileobj undefined, dest = <mercurial.hgweb.request._wsgioutputfile object>
 /usr/lib/python2.4/tarfile.py in open(cls=<class 'tarfile.TarFile'>, name=None, mode='w|bz2', fileobj=<mercurial.hgweb.request._wsgioutputfile object>, bufsize=10240)
  910 
  911             t = cls(name, filemode,
  912                     _Stream(name, filemode, comptype, fileobj, bufsize))
  913             t._extfileobj = False
  914             return t
global _Stream = <class tarfile._Stream>, name = None, filemode = 'w', comptype = 'bz2', fileobj = <mercurial.hgweb.request._wsgioutputfile object>, bufsize = 10240
 /usr/lib/python2.4/tarfile.py in __init__(self=<tarfile._Stream instance>, name=None, mode='w', type='bz2', fileobj=<mercurial.hgweb.request._wsgioutputfile object>, bufsize=10240)
  308                 import bz2
  309             except ImportError:
  310                 raise CompressionError, "bz2 module is not available"
  311             if mode == "r":
  312                 self.dbuf = ""
global CompressionError = <class tarfile.CompressionError>

CompressionError: bz2 module is not available
      args = ('bz2 module is not available',)

_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to