Installation//Configuration TRAC
Posté : 20 oct. 2009, 17:24
Bonjour tlm,
Je rencontre quelques problèmes après l'installation de TRAC lors je veux me connecter j'ai droit à ce message d'erreur :
vhost du trac
Trac.ini
Et avant d'oublier pour lancer trac je fais comme ça : tracd -s --port 8000 /var/trac/monProjet
Je rencontre quelques problèmes après l'installation de TRAC lors je veux me connecter j'ai droit à ce message d'erreur :
Et par exemple si je veux accèder à Roadmap ou BrowsersourceTrac Error
Authentication information not available. Please refer to the installation documentation.
Je vous met les fichiers de conf :Oops…
Trac detected an internal error:
LookupError: unknown encoding: utf_8_euro
There was an internal error in Trac. It is recommended that you inform your local Trac administrator and give him all the information he needs to reproduce the issue.
To that end, you could ==== How to Reproduce ==== While doing a GET operation on `/timeline`, Trac issued an internal error. ''(please provide additional details here)'' User Agent was: `Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; fr; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3` ==== System Information ==== || '''Trac''' || `0.11.1` || || '''Python''' || `2.5.2 (r252:60911, Jan 4 2009, 17:40:26) ` [[br]] `[GCC 4.3.2]` || || '''setuptools''' || `0.6c10` || || '''SQLite''' || `3.5.9` || || '''pysqlite''' || `2.4.1` || || '''Genshi''' || `0.5.1` || || '''Pygments''' || `0.10` || || '''Subversion''' || `1.5.1 (r32289)` || || '''jQuery:''' || `1.2.6` || ==== Python Traceback ==== {{{ Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 423, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 197, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.5/site-packages/trac/timeline/web_ui.py", line 123, in process_request 'today': format_date(today), File "/usr/lib/python2.5/site-packages/trac/util/datefmt.py", line 121, in format_date return format_datetime(t, format, tzinfo=tzinfo) File "/usr/lib/python2.5/site-packages/trac/util/datefmt.py", line 113, in format_datetime return unicode(text, encoding, 'replace') LookupError: unknown encoding: utf_8_euro }}} a ticket at this site.
The action that triggered the error was:
GET: /timeline
vhost du trac
Code : Tout sélectionner
<VirtualHost *>
ServerAdmin [email protected]
ServerName trac.mydomain.com
DocumentRoot /var/trac/monProjet
<Location />
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /var/trac/monProjet
PythonOption TracUriRoot /
PythonPath "sys.path + ['/var/trac/monProjet']"
</Location>
ErrorLog /var/log/apache2/error.trac.myDomain.org.log
CustomLog /var/log/apache2/access.trac.domaine.org.log combined
<Location /svn/>
DAV svn
SVNPath /var/www/usvn/files/svn/monProjet
AuthType Basic
AuthName "USVN"
AuthUserFile /var/www/usvn/files/svn/monProjet/conf/passwd
AuthzSVNAccessFile /var/www/usvn/files/svn/monProjet/conf/authz
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
</LimitExcept>
</Location>
<Location "/login">
AuthType Basic
AuthName "Trac login"
AuthUserFile /var/www/usvn/files/svn/monProjet/conf/passwd
AuthzSVNAccessFile /var/www/usvn/files/svn/monProjet/conf/authz
Require valid-user
</Location>
</VirtualHost>
Code : Tout sélectionner
# -*- coding: utf-8 -*-
[attachment]
max_size = 262144
render_unsafe_content = false
[components]
webadmin.* = enabled
[browser]
color_scale = True
downloadable_paths = /trunk, /branches/*, /tags/*
hide_properties = svk:merge
intermediate_color =
intermediate_point =
newest_color = (255, 136, 136)
oldest_color = (136, 136, 255)
oneliner_properties = trac:summary
render_unsafe_content = false
wiki_properties = trac:description
[changeset]
max_diff_bytes = 10000000
max_diff_files = 0
wiki_format_messages = true
[header_logo]
alt = Clymo logo
height = -1
link =
src = http://beta.mydomain.com/images/wj/logos/aux.png
width = -1
[inherit]
plugins_dir =
templates_dir =
[logging]
log_file = trac.log
# log_format = <inherited>
log_level = DEBUG
log_type = none
[milestone]
stats_provider = DefaultTicketGroupStatsProvider