How does your trac.ini look? Cheers / Erik
On Wed, Apr 6, 2011 at 2:38 PM, Janosch Scharlipp <[email protected]> wrote: > i am realy desperate, tried an installation from trunk, still the same issue: > > The resulting reproduction output is: > > ==== Zum Reproduzieren ==== > > Während der Ausführung von GET auf `/` hat Trac einen internen Fehler > gemeldet. > > ''(Bitte geben Sie hier weitere Details an)'' > > Anfrageparameter: > {{{ > {} > }}} > > User agent: `#USER_AGENT#` > > ==== Systeminformationen ==== > ''Systeminformation nicht verfügbar'' > > ==== Aktive Plugins ==== > ''Plugininformation nicht verfügbar'' > > ==== Python-Zurückverfolgungsinformationen ==== > {{{ > Traceback (most recent call last): > File > "/srv/trac/python-environment/lib/python2.5/site-packages/Trac-0.13dev_r10668-py2.5.egg/trac/web/main.py", > line 473, in _dispatch_request > dispatcher.dispatch(req) > File > "/srv/trac/python-environment/lib/python2.5/site-packages/Trac-0.13dev_r10668-py2.5.egg/trac/web/main.py", > line 154, in dispatch > chosen_handler = self.default_handler > File > "/srv/trac/python-environment/lib/python2.5/site-packages/Trac-0.13dev_r10668-py2.5.egg/trac/config.py", > line 691, in __get__ > self.section, self.name)) > AttributeError: Cannot find an implementation of the "IRequestHandler" > interface named "WikiModule". Please update the option > trac.default_handler in trac.ini. > }}} > > > Its a fresh installation and a fresh trac environment, no > configuration changed. Does nobody have an idea how to get to the root > of the problem? > > Kind regards, > Janosch > > > > > On Wed, Mar 30, 2011 at 10:28 PM, Janosch <[email protected]> > wrote: >> I made once again a clean installation, still getting the same error. >> I think something is wrong with trac, but i don't know how to debug. >> Any ideas? File a bug report? >> >> Kind regards >> Janosch >> >> >> On 25 Mrz., 00:59, Janosch <[email protected]> wrote: >>> Hi, >>> some people seem to have had this issue, but i couldn't find a >>> solution for it. >>> >>> My setup is: >>> >>> - i installed virtualenv and pip on an ubuntu server >>> - created a new virtual environment (python 2.5) >>> - there i installed babel, genshi and trac in this order >>> - then i created a trac-environment >>> - integrated the thing in my apache using mod_wsgi >>> >>> The result is: >>> >>> - tracd runs fine >>> - when visiting from apache, i get the error "AttributeError: Cannot >>> find an implementation of the "IRequestHandler" interface named >>> "WikiModule"." >>> >>> On this list i found someone having the same problem, kind of a >>> solution was to copy lots of imports of trac modules into the wsgi >>> script. I tried this to, and it did have some effect (the error >>> message disappears, and trac works somehow), but still the >>> installation does not work as expected (plugins do not work at all). >>> >>> my wsgi-handler looks like: >>> ----------------------------------- >>> import os >>> import sys >>> import site >>> >>> site.addsitedir('/.../trac/py-env/lib/python2.5/site-packages') >>> >>> os.environ['TRAC_ENV'] = '/.../trac/trac-env' >>> os.environ['PYTHON_EGG_CACHE'] = '/.../trac/trac-env/eggs' >>> >>> if False: # when i switch here to True, things work somehow, but not >>> correctly >>> from trac.db import sqlite_backend >>> from trac.mimeview import rst >>> from trac.ticket import query >>> from trac.ticket import report >>> from trac.versioncontrol import svn_fs >>> from trac.web import auth >>> from trac.wiki import macros >>> >>> from trac import about >>> from trac import attachment >>> >>> from trac.admin import web_ui >>> from trac.prefs import web_ui >>> from trac.search import web_ui >>> from trac.ticket import web_ui >>> from trac.timeline import web_ui >>> from trac.versioncontrol import web_ui >>> from trac.wiki import web_ui >>> from acct_mgr.web_ui import * >>> >>> import trac.web.main >>> application = trac.web.main.dispatch_request >>> --------------------------------------- >>> >>> my httpd.conf entry looks like: >>> --------------------------------------- >>> <VirtualHost ...:80> >>> ServerName ...:80 >>> Alias /chrome/site /.../trac/trac-resources/site >>> Alias /chrome/common /.../trac/trac-resources/common >>> WSGIScriptAlias / /.../trac/handler.wsgi >>> >>> <Directory /.../trac/trac-resources> >>> Order allow,deny >>> Allow from all >>> </Directory> >>> <Directory /.../trac/py-env> >>> WSGIApplicationGroup %{GLOBAL} >>> Order deny,allow >>> Allow from all >>> </Directory> >>> <Location '/'> >>> AuthType Basic >>> AuthName "Trac" >>> AuthUserFile /.../trac/trac-env/htpasswd >>> Require valid-user >>> </Location> >>> </VirtualHost> >>> ------------------------------------- >>> >>> at the moments everything is owned by www-data, the user my apache is >>> running with. >>> >>> Does anybody have an idea how to get over this problem? What >>> information do i have to provide, to get closer to the root of the >>> problem? >>> >>> Kind regards, >>> Janosch >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Trac Users" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/trac-users?hl=en. >> >> > > -- > You received this message because you are subscribed to the Google Groups > "Trac Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/trac-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
