Hello Janosch
I have been trying to install Trac and having lot of problem. Then I found these below links and following the instructions to re-install fresh. http://trac.edgewall.org/wiki/CookBook http://trac.edgewall.org/wiki/CookBook/Installation/TracOnWindowsWithAccountManager It seems to work very nice for me so far. And here is the list of plugin: https://trac-hacks.org/svn/ http://trac.edgewall.org/wiki/PluginList I hope you can find some useful information in these link Pink -----Original Message----- From: trac-users@googlegroups.com [mailto:trac-users@googlegroups.com] On Behalf Of Janosch Sent: Wednesday, April 06, 2011 11:04 AM To: Trac Users Subject: Re: Fwd: [Trac] Re: And again: AttributeError: Cannot find an implementation of the "IRequestHandler" interface named "WikiModule". Hi there, can somebody tell me, how modules (like the trac.wiki.web_ui.WikiModule) are beeing loaded in trac? I don't see an import anywhere. What if a module contains errors? Will loading fail silently? I introduced an error in the first line of wiki/web_ui.py and now i get the same result when running tracd (which otherwise works), but no error ('failed loading WikiModule' p.e.) in tracd's console output??? Kind regards, Janosch On 6 Apr., 19:00, Janosch Scharlipp <janoscharl...@googlemail.com> wrote: > i am creeping through the source-code, and i think something goes > wrong with the component registration. When i print all components in > ComponentMeta._components just before the error i get is beeing raised > (config.py:687 in trunk) the output is: > > <class 'trac.admin.api.AdminCommandManager'>, <class > 'trac.config.ConfigurationAdmin'>, <class > 'trac.db.api.DatabaseManager'>, <class 'trac.cache.CacheManager'>, > <class 'trac.resource.ResourceSystem'>, <class > 'trac.versioncontrol.api.DbRepositoryProvider'>, <class > 'trac.versioncontrol.api.RepositoryManager'>, <class > 'trac.env.Environment'>, <class 'trac.env.EnvironmentSetup'>, <class > 'trac.env.EnvironmentAdmin'>, <class > 'trac.perm.DefaultPermissionStore'>, <class > 'trac.perm.DefaultPermissionGroupProvider'>, <class > 'trac.perm.DefaultPermissionPolicy'>, <class > 'trac.perm.PermissionSystem'>, <class 'trac.perm.PermissionAdmin'>, > <class 'trac.mimeview.api.Mimeview'>, <class > 'trac.mimeview.api.LineNumberAnnotator'>, <class > 'trac.mimeview.api.PlainTextRenderer'>, <class > 'trac.mimeview.api.ImageRenderer'>, <class > 'trac.mimeview.api.WikiTextRenderer'>, <class > 'trac.notification.NotificationSystem'>, <class > 'trac.notification.SmtpEmailSender'>, <class > 'trac.notification.SendmailEmailSender'>, <class > 'trac.wiki.parser.WikiParser'>, <class 'trac.wiki.api.WikiSystem'>, > <class 'trac.wiki.intertrac.InterTracDispatcher'>, <class > 'trac.web.chrome.Chrome'>, <class 'trac.web.session.SessionAdmin'>, > <class 'trac.web.main.RequestDispatcher'> > > And i think as a result (no WikiModule in the list) it can't work. Any > idea? Are developers reading this mailing list too? > > Janosch > > On Wed, Apr 6, 2011 at 2:56 PM, Janosch Scharlipp > > <janoscharl...@googlemail.com> wrote: > > Hi Erik, > > thanks for your answer, i attached my trac.ini file, but i don't > > know what you mean by permission-list. I didn't modify permissions > > with the trac-admin script after the installation yet. > > > Kind regards, > > Janosch > > > On Wed, Apr 6, 2011 at 2:49 PM, Erik Andersson <kir...@gmail.com> wrote: > >> And also: your permission list > > >> Cheers / Erik > > >> On Wed, Apr 6, 2011 at 2:46 PM, Erik Andersson <kir...@gmail.com> wrote: > >>> How does your trac.ini look? > > >>> Cheers / Erik > > >>> On Wed, Apr 6, 2011 at 2:38 PM, Janosch Scharlipp > >>> <janoscharl...@googlemail.com> 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 <janoscharl...@googlemail.com> > >>>> 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 <janoscharl...@googlemail.com> 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 trac-users@googlegroups.com. > >>>>> To unsubscribe from this group, send email to > >>>>> trac-users+unsubscr...@googlegroups.com. > >>>>> For more options, visit this group > >>>>> athttp://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 trac-users@googlegroups.com. > >>>> To unsubscribe from this group, send email to > >>>> trac-users+unsubscr...@googlegroups.com. > >>>> For more options, visit this group > >>>> athttp://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 trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. 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 trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.