I've removed python-chardet from the server which is now pure-Etch
after Trac 0.10 entered Testing and the problem reappeared.

Some info on Trac config on that server:

/etc/apache2/conf.d/trac:
<Location /trac>
   SetHandler mod_python
   PythonHandler trac.web.modpython_frontend
   PythonOption TracEnvParentDir /srv/trac
   PythonOption TracUriRoot /trac
</Location>

<LocationMatch "/trac/[^/]+/login">
   AuthType Basic
   AuthName "Trac"
   AuthUserFile /srv/svn/config/trac.passwd
   Require valid-user
</LocationMatch>

I've disabled most components of Trac except the browser:
[components]
trac.wiki.* = disabled
trac.ticket.* = disabled
trac.About.* = disabled
trac.Settings.* = disabled

and this is the custom site_header.cs we use:
<script language="JavaScript">
<!--
function openurl() {
   if (document.f.s.value != "null") {
     var url="<?cs var:base_host ?>"+document.f.s.value
     document.location.href=url
 }
}
//-->
</script>

<div align="right">
<form name="f">
 <!--<hl>Available Projects</hl>  -->
 <select name="s" onchange="openurl()">
   <!--
   Here insert option for every project
   Example: <option value="/path/to/project">description of project</option>
   -->
   <option value="null">-- Available Projects --</option>
   <option value="/trac/external">external</option>
   <option value="/trac/res">res</option>
   <option value="/trac/src">src</option>
   <option value="/trac/tools">tools</option>
   <option value="/trac/user">user</option>
 </select>
 <!-- <input type="button" value="Go" onclick="openurl()" /> -->
</form>
</div>
<div align="right">
 <hl>Current: </hl><b><?cs var:project.name ?></b>
</div>


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

Reply via email to