<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></head><body bgcolor="#f0f0f8"><font size="-5" color="#f0f0f8"> -->
<font size="-5" color="#f0f0f8"> --> -->
</font> </font>
<table summary="heading" width="100%" border="0" cellpadding="2" cellspacing="0">
<tbody><tr bgcolor="#6622aa">
<td valign="bottom"> <br>
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>CompressionError</strong></big></big></font></td><td valign="bottom" align="right"><font color="#ffffff" face="helvetica, arial">Python 2.4.5: /usr/bin/python<br>Thu Sep 4 12:27:41 2008</font></td></tr></tbody></table>
<p>A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.</p>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/lib/cgi-bin/hgwebdir.cgi">/usr/lib/cgi-bin/hgwebdir.cgi</a> </td></tr>
<tr><td><font color="#909090"><tt><small> 16</small> # Alternatively you can pass a list of ('virtual/path', '/real/path') tuples<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 17</small> # or use a dictionary with entries like 'virtual/path': '/real/path'<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 18</small> <br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 19</small> h = hgweb.hgwebdir("/etc/mercurial/hgweb.config")<br>
</tt></font></td></tr>
<tr><td bgcolor="#ffccee"><tt><small> 20</small> h.run()<br>
</tt></td></tr>
<tr><td><small><font color="#909090"><strong>h</strong> = <mercurial.hgweb.hgwebdir_mod.hgwebdir object>, h.<strong>run</strong> = <bound method hgwebdir.run of <mercurial.hgweb.hgwebdir_mod.hgwebdir object>></font></small></td></tr></tbody></table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/lib/python2.4/site-packages/mercurial/hgweb/hgwebdir_mod.py">/usr/lib/python2.4/site-packages/mercurial/hgweb/hgwebdir_mod.py</a> in <strong>run</strong>(self=<mercurial.hgweb.hgwebdir_mod.hgwebdir object>)</td></tr>
<tr><td><font color="#909090"><tt><small> 58</small> def make_web_app():<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 59</small> return self<br>
</tt></font></td></tr>
<tr><td bgcolor="#ffccee"><tt><small> 60</small> wsgicgi.launch(wsgiapplication(make_web_app))<br>
</tt></td></tr>
<tr><td><font color="#909090"><tt><small> 61</small> <br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 62</small> def run_wsgi(self, req):<br>
</tt></font></td></tr>
<tr><td><small><font color="#909090"><strong>wsgicgi</strong> = <module 'mercurial.hgweb.wsgicgi' from '/usr/lib...on2.4/site-packages/mercurial/hgweb/wsgicgi.pyc'>, wsgicgi.<strong>launch</strong> = <function launch>, <strong>wsgiapplication</strong> = <class 'mercurial.hgweb.request.wsgiapplication'>, <strong>make_web_app</strong> = <function make_web_app></font></small></td></tr></tbody></table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/lib/python2.4/site-packages/mercurial/hgweb/wsgicgi.py">/usr/lib/python2.4/site-packages/mercurial/hgweb/wsgicgi.py</a> in <strong>launch</strong>(application=<mercurial.hgweb.request.wsgiapplication object>)</td></tr>
<tr><td><font color="#909090"><tt><small> 59</small> return write<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 60</small> <br>
</tt></font></td></tr>
<tr><td bgcolor="#ffccee"><tt><small> 61</small> result = application(environ, start_response)<br>
</tt></td></tr>
<tr><td><font color="#909090"><tt><small> 62</small> try:<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 63</small> for data in result:<br>
</tt></font></td></tr>
<tr><td><small><font color="#909090">result <em>undefined</em>, <strong>application</strong> = <mercurial.hgweb.request.wsgiapplication object>, <strong>environ</strong> =
{'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', ...}, <strong>start_response</strong> = <function start_response></font></small></td></tr></tbody></table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/lib/python2.4/site-packages/mercurial/hgweb/request.py">/usr/lib/python2.4/site-packages/mercurial/hgweb/request.py</a> in <strong>__call__</strong>(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>)</td></tr>
<tr><td><font color="#909090"><tt><small> 16</small> <br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 17</small> def __call__(self, wsgienv, start_response):<br>
</tt></font></td></tr>
<tr><td bgcolor="#ffccee"><tt><small> 18</small> return _wsgirequest(self.destmaker(), wsgienv, start_response)<br>
</tt></td></tr>
<tr><td><font color="#909090"><tt><small> 19</small> <br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 20</small> class _wsgioutputfile(object):<br>
</tt></font></td></tr>
<tr><td><small><font color="#909090"><em>global</em> <strong>_wsgirequest</strong> = <class 'mercurial.hgweb.request._wsgirequest'>, <strong>self</strong> = <mercurial.hgweb.request.wsgiapplication object>, self.<strong>destmaker</strong> = <function make_web_app>, <strong>wsgienv</strong> =
{'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', ...}, <strong>start_response</strong> = <function start_response></font></small></td></tr></tbody></table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/lib/python2.4/site-packages/mercurial/hgweb/request.py">/usr/lib/python2.4/site-packages/mercurial/hgweb/request.py</a> in <strong>__init__</strong>(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>)</td></tr>
<tr><td><font color="#909090"><tt><small> 49</small> self.start_response = start_response<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 50</small> self.headers = []<br>
</tt></font></td></tr>
<tr><td bgcolor="#ffccee"><tt><small> 51</small> destination.run_wsgi(self)<br>
</tt></td></tr>
<tr><td><font color="#909090"><tt><small> 52</small> <br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 53</small> def __iter__(self):<br>
</tt></font></td></tr>
<tr><td><small><font color="#909090"><strong>destination</strong> = <mercurial.hgweb.hgwebdir_mod.hgwebdir object>, destination.<strong>run_wsgi</strong> = <bound method hgwebdir.run_wsgi of <mercurial.hgweb.hgwebdir_mod.hgwebdir object>>, <strong>self</strong> = <mercurial.hgweb.request._wsgirequest object></font></small></td></tr></tbody></table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/lib/python2.4/site-packages/mercurial/hgweb/hgwebdir_mod.py">/usr/lib/python2.4/site-packages/mercurial/hgweb/hgwebdir_mod.py</a> in <strong>run_wsgi</strong>(self=<mercurial.hgweb.hgwebdir_mod.hgwebdir object>, req=<mercurial.hgweb.request._wsgirequest object>)</td></tr>
<tr><td><font color="#909090"><tt><small> 180</small> req.env['REPO_NAME'] = virtual<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 181</small> try:<br>
</tt></font></td></tr>
<tr><td bgcolor="#ffccee"><tt><small> 182</small> hgweb(real).run_wsgi(req)<br>
</tt></td></tr>
<tr><td><font color="#909090"><tt><small> 183</small> except IOError, inst:<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 184</small> req.write(tmpl("error", error=inst.strerror))<br>
</tt></font></td></tr>
<tr><td><small><font color="#909090"><em>global</em> <strong>hgweb</strong> = <mercurial.demandload._replacer_from object>, <strong>real</strong> = '/hg/v4l-dvb', ).run_wsgi <em>undefined</em>, <strong>req</strong> = <mercurial.hgweb.request._wsgirequest object></font></small></td></tr></tbody></table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/lib/python2.4/site-packages/mercurial/hgweb/hgweb_mod.py">/usr/lib/python2.4/site-packages/mercurial/hgweb/hgweb_mod.py</a> in <strong>run_wsgi</strong>(self=<mercurial.hgweb.hgweb_mod.hgweb object>, req=<mercurial.hgweb.request._wsgirequest object>)</td></tr>
<tr><td><font color="#909090"><tt><small> 815</small> if method:<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 816</small> try:<br>
</tt></font></td></tr>
<tr><td bgcolor="#ffccee"><tt><small> 817</small> method(req)<br>
</tt></td></tr>
<tr><td><font color="#909090"><tt><small> 818</small> except (hg.RepoError, revlog.RevlogError), inst:<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 819</small> req.write(self.t("error", error=str(inst)))<br>
</tt></font></td></tr>
<tr><td><small><font color="#909090"><strong>method</strong> = <bound method hgweb.do_archive of <mercurial.hgweb.hgweb_mod.hgweb object>>, <strong>req</strong> = <mercurial.hgweb.request._wsgirequest object></font></small></td></tr></tbody></table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/lib/python2.4/site-packages/mercurial/hgweb/hgweb_mod.py">/usr/lib/python2.4/site-packages/mercurial/hgweb/hgweb_mod.py</a> in <strong>do_archive</strong>(self=<mercurial.hgweb.hgweb_mod.hgweb object>, req=<mercurial.hgweb.request._wsgirequest object>)</td></tr>
<tr><td><font color="#909090"><tt><small> 1008</small> if (type_ in self.archives and (type_ in allowed or<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 1009</small> self.configbool("web", "allow" + type_, False))):<br>
</tt></font></td></tr>
<tr><td bgcolor="#ffccee"><tt><small> 1010</small> self.archive(req, changeset, type_)<br>
</tt></td></tr>
<tr><td><font color="#909090"><tt><small> 1011</small> return<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 1012</small> <br>
</tt></font></td></tr>
<tr><td><small><font color="#909090"><strong>self</strong> = <mercurial.hgweb.hgweb_mod.hgweb object>, self.<strong>archive</strong> = <bound method hgweb.archive of <mercurial.hgweb.hgweb_mod.hgweb object>>, <strong>req</strong> = <mercurial.hgweb.request._wsgirequest object>, <strong>changeset</strong> = '<font color="#c040c0">\x91\x0b\xa7\xd7\x07\xd4</font>M.<font color="#c040c0">\xe1</font>9<<font color="#c040c0">\xe8\x9f</font>G(<font color="#c040c0">\xae\xc2</font>u<font color="#c040c0">\x9e</font>d', <strong>type_</strong> = 'bz2'</font></small></td></tr></tbody></table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/lib/python2.4/site-packages/mercurial/hgweb/hgweb_mod.py">/usr/lib/python2.4/site-packages/mercurial/hgweb/hgweb_mod.py</a> in <strong>archive</strong>(self=<mercurial.hgweb.hgweb_mod.hgweb object>, req=<mercurial.hgweb.request._wsgirequest object>, cnode='<font color="#c040c0">\x91\x0b\xa7\xd7\x07\xd4</font>M.<font color="#c040c0">\xe1</font>9<<font color="#c040c0">\xe8\x9f</font>G(<font color="#c040c0">\xae\xc2</font>u<font color="#c040c0">\x9e</font>d', type_='bz2')</td></tr>
<tr><td><font color="#909090"><tt><small> 634</small> headers.append(('Content-encoding', encoding))<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 635</small> req.header(headers)<br>
</tt></font></td></tr>
<tr><td bgcolor="#ffccee"><tt><small> 636</small> archival.archive(self.repo, req.out, cnode, artype, prefix=name)<br>
</tt></td></tr>
<tr><td><font color="#909090"><tt><small> 637</small> <br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 638</small> # add tags to things<br>
</tt></font></td></tr>
<tr><td><small><font color="#909090"><em>global</em> <strong>archival</strong> = <module 'mercurial.archival' from '/usr/lib/python2.4/site-packages/mercurial/archival.pyc'>, archival.<strong>archive</strong> = <function archive>, <strong>self</strong> = <mercurial.hgweb.hgweb_mod.hgweb object>, self.<strong>repo</strong> = <mercurial.localrepo.localrepository object>, <strong>req</strong> = <mercurial.hgweb.request._wsgirequest object>, req.<strong>out</strong> = <mercurial.hgweb.request._wsgioutputfile object>, <strong>cnode</strong> = '<font color="#c040c0">\x91\x0b\xa7\xd7\x07\xd4</font>M.<font color="#c040c0">\xe1</font>9<<font color="#c040c0">\xe8\x9f</font>G(<font color="#c040c0">\xae\xc2</font>u<font color="#c040c0">\x9e</font>d', <strong>artype</strong> = 'tbz2', prefix <em>undefined</em>, <strong>name</strong> = 'v4l-dvb-910ba7d707d4'</font></small></td></tr></tbody></table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/lib/python2.4/site-packages/mercurial/archival.py">/usr/lib/python2.4/site-packages/mercurial/archival.py</a> in <strong>archive</strong>(repo=<mercurial.localrepo.localrepository object>, dest=<mercurial.hgweb.request._wsgioutputfile object>, node='<font color="#c040c0">\x91\x0b\xa7\xd7\x07\xd4</font>M.<font color="#c040c0">\xe1</font>9<<font color="#c040c0">\xe8\x9f</font>G(<font color="#c040c0">\xae\xc2</font>u<font color="#c040c0">\x9e</font>d', kind='tbz2', decode=True, matchfn=None, prefix='v4l-dvb-910ba7d707d4', mtime=None)</td></tr>
<tr><td><font color="#909090"><tt><small> 163</small> change = repo.changelog.read(node)<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 164</small> mn = change[0]<br>
</tt></font></td></tr>
<tr><td bgcolor="#ffccee"><tt><small> 165</small> archiver = archivers[kind](dest, prefix, mtime or change[2][0])<br>
</tt></td></tr>
<tr><td><font color="#909090"><tt><small> 166</small> m = repo.manifest.read(mn)<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 167</small> items = m.items()<br>
</tt></font></td></tr>
<tr><td><small><font color="#909090">archiver <em>undefined</em>, <em>global</em> <strong>archivers</strong> =
{'files': <class mercurial.archival.fileit>, 'tar': <class
mercurial.archival.tarit>, 'tbz2': <function <lambda>>,
'tgz': <function <lambda>>, 'uzip': <function
<lambda>>, 'zip': <class mercurial.archival.zipit>}, <strong>kind</strong> = 'tbz2', <strong>dest</strong> = <mercurial.hgweb.request._wsgioutputfile object>, <strong>prefix</strong> = 'v4l-dvb-910ba7d707d4', <strong>mtime</strong> = None, <strong>change</strong> = ('`<font color="#c040c0">\xc8</font>o<font color="#c040c0">\xc4\x1b\xb2\x8f\xf5\x1f</font>BN<font color="#c040c0">\x9a\xba</font>t]<font color="#c040c0">\xdd</font>~NN<font color="#c040c0">\x1c</font>',
'Mauro Carvalho Chehab <mchehab@redhat.com>', (1220355569.0,
10800), [], 'merge: http://linuxtv.org/hg/~jfrancois/gspca/<font color="#c040c0">\n\n</font>...ff-by: Mauro Carvalho Chehab <mchehab@redhat.com>', {})</font></small></td></tr></tbody></table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/lib/python2.4/site-packages/mercurial/archival.py">/usr/lib/python2.4/site-packages/mercurial/archival.py</a> in <strong><lambda></lambda></strong>(name=<mercurial.hgweb.request._wsgioutputfile object>, prefix='v4l-dvb-910ba7d707d4', mtime=1220355569.0)</td></tr>
<tr><td><font color="#909090"><tt><small> 131</small> 'files': fileit,<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 132</small> 'tar': tarit,<br>
</tt></font></td></tr>
<tr><td bgcolor="#ffccee"><tt><small> 133</small> 'tbz2': lambda name, prefix, mtime: tarit(name, prefix, mtime, 'bz2'),<br>
</tt></td></tr>
<tr><td><font color="#909090"><tt><small> 134</small> 'tgz': lambda name, prefix, mtime: tarit(name, prefix, mtime, 'gz'),<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 135</small> 'uzip': lambda name, prefix, mtime: zipit(name, prefix, mtime, False),<br>
</tt></font></td></tr>
<tr><td><small><font color="#909090"><strong>name</strong> = <mercurial.hgweb.request._wsgioutputfile object>, <strong>prefix</strong> = 'v4l-dvb-910ba7d707d4', <strong>mtime</strong> = 1220355569.0, <em>global</em> <strong>tarit</strong> = <class mercurial.archival.tarit></font></small></td></tr></tbody></table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/lib/python2.4/site-packages/mercurial/archival.py">/usr/lib/python2.4/site-packages/mercurial/archival.py</a> in <strong>__init__</strong>(self=<mercurial.archival.tarit
instance>, dest=<mercurial.hgweb.request._wsgioutputfile
object>, prefix='v4l-dvb-910ba7d707d4', mtime=1220355569.0,
kind='bz2')</td></tr>
<tr><td><font color="#909090"><tt><small> 45</small> self.z = tarfile.open(dest, mode='w:'+kind)<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 46</small> else:<br>
</tt></font></td></tr>
<tr><td bgcolor="#ffccee"><tt><small> 47</small> self.z = tarfile.open(mode='w|'+kind, fileobj=dest)<br>
</tt></td></tr>
<tr><td><font color="#909090"><tt><small> 48</small> <br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 49</small> def addfile(self, name, mode, data):<br>
</tt></font></td></tr>
<tr><td><small><font color="#909090"><strong>self</strong> = <mercurial.archival.tarit instance>, self.z <em>undefined</em>, <em>global</em> <strong>tarfile</strong> = <module 'tarfile' from '/usr/lib/python2.4/tarfile.pyc'>, tarfile.<strong>open</strong> = <bound method type.open of <class 'tarfile.TarFile'>>, mode <em>undefined</em>, <strong>kind</strong> = 'bz2', fileobj <em>undefined</em>, <strong>dest</strong> = <mercurial.hgweb.request._wsgioutputfile object></font></small></td></tr></tbody></table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/lib/python2.4/tarfile.py">/usr/lib/python2.4/tarfile.py</a> in <strong>open</strong>(cls=<class
'tarfile.TarFile'>, name=None, mode='w|bz2',
fileobj=<mercurial.hgweb.request._wsgioutputfile object>,
bufsize=10240)</td></tr>
<tr><td><font color="#909090"><tt><small> 910</small> <br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 911</small> t = cls(name, filemode,<br>
</tt></font></td></tr>
<tr><td bgcolor="#ffccee"><tt><small> 912</small> _Stream(name, filemode, comptype, fileobj, bufsize))<br>
</tt></td></tr>
<tr><td><font color="#909090"><tt><small> 913</small> t._extfileobj = False<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 914</small> return t<br>
</tt></font></td></tr>
<tr><td><small><font color="#909090"><em>global</em> <strong>_Stream</strong> = <class tarfile._Stream>, <strong>name</strong> = None, <strong>filemode</strong> = 'w', <strong>comptype</strong> = 'bz2', <strong>fileobj</strong> = <mercurial.hgweb.request._wsgioutputfile object>, <strong>bufsize</strong> = 10240</font></small></td></tr></tbody></table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/lib/python2.4/tarfile.py">/usr/lib/python2.4/tarfile.py</a> in <strong>__init__</strong>(self=<tarfile._Stream
instance>, name=None, mode='w', type='bz2',
fileobj=<mercurial.hgweb.request._wsgioutputfile object>,
bufsize=10240)</td></tr>
<tr><td><font color="#909090"><tt><small> 308</small> import bz2<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 309</small> except ImportError:<br>
</tt></font></td></tr>
<tr><td bgcolor="#ffccee"><tt><small> 310</small> raise CompressionError, "bz2 module is not available"<br>
</tt></td></tr>
<tr><td><font color="#909090"><tt><small> 311</small> if mode == "r":<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small> 312</small> self.dbuf = ""<br>
</tt></font></td></tr>
<tr><td><small><font color="#909090"><em>global</em> <strong>CompressionError</strong> = <class tarfile.CompressionError></font></small></td></tr></tbody></table><p><strong>CompressionError</strong>: bz2 module is not available
<br><tt><small> </small> </tt>args =
('bz2 module is not available',)
<!-- The above is a description of an error in a Python program, formatted
for a Web browser because the 'cgitb' module was enabled. In case you
are not reading this in a Web browser, here is the original traceback:
Traceback (most recent call last):
File "/usr/lib/cgi-bin/hgwebdir.cgi", line 20, in ?
h.run()
File "/usr/lib/python2.4/site-packages/mercurial/hgweb/hgwebdir_mod.py", line 60, in run
wsgicgi.launch(wsgiapplication(make_web_app))
File "/usr/lib/python2.4/site-packages/mercurial/hgweb/wsgicgi.py", line 61, in launch
result = application(environ, start_response)
File "/usr/lib/python2.4/site-packages/mercurial/hgweb/request.py", line 18, in __call__
return _wsgirequest(self.destmaker(), wsgienv, start_response)
File "/usr/lib/python2.4/site-packages/mercurial/hgweb/request.py", line 51, in __init__
destination.run_wsgi(self)
File "/usr/lib/python2.4/site-packages/mercurial/hgweb/hgwebdir_mod.py", line 182, in run_wsgi
hgweb(real).run_wsgi(req)
File "/usr/lib/python2.4/site-packages/mercurial/hgweb/hgweb_mod.py", line 817, in run_wsgi
method(req)
File "/usr/lib/python2.4/site-packages/mercurial/hgweb/hgweb_mod.py", line 1010, in do_archive
self.archive(req, changeset, type_)
File "/usr/lib/python2.4/site-packages/mercurial/hgweb/hgweb_mod.py", line 636, in archive
archival.archive(self.repo, req.out, cnode, artype, prefix=name)
File "/usr/lib/python2.4/site-packages/mercurial/archival.py", line 165, in archive
archiver = archivers[kind](dest, prefix, mtime or change[2][0])
File "/usr/lib/python2.4/site-packages/mercurial/archival.py", line 133, in <lambda>
'tbz2': lambda name, prefix, mtime: tarit(name, prefix, mtime, 'bz2'),
File "/usr/lib/python2.4/site-packages/mercurial/archival.py", line 47, in __init__
self.z = tarfile.open(mode='w|'+kind, fileobj=dest)
File "/usr/lib/python2.4/tarfile.py", line 912, in open
_Stream(name, filemode, comptype, fileobj, bufsize))
File "/usr/lib/python2.4/tarfile.py", line 310, in __init__
raise CompressionError, "bz2 module is not available"
CompressionError: bz2 module is not available
-->
</p></body></html>