> -----Original Message----- > From: trac-users@googlegroups.com On Behalf Of SunTracker > Sent: 22 January 2012 10:23 > To: Trac Users > Subject: [Trac] Re: Trac menu entries disappeared > > Looking at my trac.log, there is not happening much. I found out that > when I start trac-admin, the log gets populated much more. It seems > that modules are not loaded when I start trac using WSGI. What could > be that cause for that?
I may be barking up the wrong tree but when Trac runs under apache it is as the apache user and with a minimal environment. When you run trac-admin, you are you with your normal environment. So I suggest you investigate permissions and / or environment settings... Have you read the mod_wsgi / trac wiki? http://code.google.com/p/modwsgi/wiki/IntegrationWithTrac I found that most useful... ~ mark c > trac.log after starting trac-admin: > 2012-01-22 11:18:39,754 Trac[env] INFO: > -------------------------------- environment startup [Trac 0.12.1] > -------------------------------- > 2012-01-22 11:18:39,888 Trac[loader] DEBUG: Loading trac.about from / > share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages > 2012-01-22 11:18:39,894 Trac[loader] DEBUG: Loading trac.admin.console > from /share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages > 2012-01-22 11:18:39,897 Trac[loader] DEBUG: Loading trac.admin.web_ui > from /share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages > 2012-01-22 11:18:39,908 Trac[loader] DEBUG: Loading trac.attachment > from /share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages > 2012-01-22 11:18:39,912 Trac[loader] DEBUG: Loading trac.db.mysql > from /share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages > 2012-01-22 11:18:39,924 Trac[loader] DEBUG: Loading trac.db.postgres > from /share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages > 2012-01-22 11:18:39,932 Trac[loader] DEBUG: Loading trac.db.sqlite > from /share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages > 2012-01-22 11:18:39,956 Trac[loader] DEBUG: Loading > trac.mimeview.patch from /share/MD0_DATA/.qpkg/Optware/lib/python2.6/ > site-packages > 2012-01-22 11:18:39,963 Trac[loader] DEBUG: Loading > trac.mimeview.pygments from /share/MD0_DATA/.qpkg/Optware/lib/ > python2.6/site-packages > 2012-01-22 11:18:40,097 Trac[loader] DEBUG: Loading trac.mimeview.rst > from /share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages > 2012-01-22 11:18:41,581 Trac[loader] DEBUG: Loading > trac.mimeview.silvercity from /share/MD0_DATA/.qpkg/Optware/lib/ > python2.6/site-packages > 2012-01-22 11:18:41,648 Trac[loader] DEBUG: Skipping > "trac.mimeview.silvercity = trac.mimeview.silvercity [silvercity]": > ("DistributionNotFound: SilverCity>=0.9.4" not found) > 2012-01-22 11:18:41,650 Trac[loader] DEBUG: Loading trac.mimeview.txtl > from /share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages > 2012-01-22 11:18:41,714 Trac[loader] DEBUG: Skipping > "trac.mimeview.txtl = trac.mimeview.txtl [textile]": > ("DistributionNotFound: textile>=2.0" not found) > 2012-01-22 11:18:41,716 Trac[loader] DEBUG: Loading trac.prefs from / > share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages > 2012-01-22 11:18:41,724 Trac[loader] DEBUG: Loading trac.search from / > share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages > 2012-01-22 11:18:41,731 Trac[loader] DEBUG: Loading trac.ticket.admin > from /share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages > 2012-01-22 11:18:41,746 Trac[loader] DEBUG: Loading trac.ticket.query > from /share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages > 2012-01-22 11:18:41,785 Trac[loader] DEBUG: Loading trac.ticket.report > from /share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages > 2012-01-22 11:18:41,794 Trac[loader] DEBUG: Loading > trac.ticket.roadmap from /share/MD0_DATA/.qpkg/Optware/lib/python2.6/ > site-packages > 2012-01-22 11:18:41,807 Trac[loader] DEBUG: Loading trac.ticket.web_ui > from /share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages > 2012-01-22 11:18:41,847 Trac[loader] DEBUG: Loading trac.timeline > from /share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages > 2012-01-22 11:18:41,865 Trac[loader] DEBUG: Loading > trac.versioncontrol.admin from /share/MD0_DATA/.qpkg/Optware/lib/ > python2.6/site-packages > 2012-01-22 11:18:41,873 Trac[loader] DEBUG: Loading > trac.versioncontrol.svn_authz from /share/MD0_DATA/.qpkg/Optware/lib/ > python2.6/site-packages > 2012-01-22 11:18:41,879 Trac[loader] DEBUG: Loading > trac.versioncontrol.svn_fs from /share/MD0_DATA/.qpkg/Optware/lib/ > python2.6/site-packages > 2012-01-22 11:18:41,895 Trac[loader] DEBUG: Loading > trac.versioncontrol.svn_prop from /share/MD0_DATA/.qpkg/Optware/lib/ > python2.6/site-packages > 2012-01-22 11:18:41,997 Trac[loader] DEBUG: Loading > trac.versioncontrol.web_ui from /share/MD0_DATA/.qpkg/Optware/lib/ > python2.6/site-packages > 2012-01-22 11:18:42,000 Trac[loader] DEBUG: Loading trac.web.auth > from /share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages > 2012-01-22 11:18:42,041 Trac[loader] DEBUG: Loading trac.web.session > from /share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages > 2012-01-22 11:18:42,050 Trac[loader] DEBUG: Loading trac.wiki.admin > from /share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages > 2012-01-22 11:18:42,054 Trac[loader] DEBUG: Loading > trac.wiki.interwiki from /share/MD0_DATA/.qpkg/Optware/lib/python2.6/ > site-packages > 2012-01-22 11:18:42,076 Trac[loader] DEBUG: Loading trac.wiki.macros > from /share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages > 2012-01-22 11:18:42,079 Trac[loader] DEBUG: Loading trac.wiki.web_api > from /share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages > 2012-01-22 11:18:42,084 Trac[loader] DEBUG: Loading trac.wiki.web_ui > from /share/MD0_DATA/.qpkg/Optware/lib/python2.6/site-packages > 2012-01-22 11:18:42,093 Trac[loader] DEBUG: Loading > tracopt.mimeview.enscript from /share/MD0_DATA/.qpkg/Optware/lib/ > python2.6/site-packages > 2012-01-22 11:18:42,100 Trac[loader] DEBUG: Loading > tracopt.mimeview.php from /share/MD0_DATA/.qpkg/Optware/lib/python2.6/ > site-packages > 2012-01-22 11:18:42,106 Trac[loader] DEBUG: Loading > tracopt.perm.authz_policy from /share/MD0_DATA/.qpkg/Optware/lib/ > python2.6/site-packages > 2012-01-22 11:18:42,115 Trac[loader] DEBUG: Loading > tracopt.perm.config_perm_provider from /share/MD0_DATA/.qpkg/Optware/ > lib/python2.6/site-packages > 2012-01-22 11:18:42,119 Trac[loader] DEBUG: Loading > tracopt.ticket.commit_updater from /share/MD0_DATA/.qpkg/Optware/lib/ > python2.6/site-packages > 2012-01-22 11:18:42,139 Trac[loader] DEBUG: Loading > tracopt.ticket.deleter from /share/MD0_DATA/.qpkg/Optware/lib/ > python2.6/site-packages > 2012-01-22 11:18:42,229 Trac[default_workflow] DEBUG: Workflow actions > at initialization: {u'return': {u'operations': [u'del_owner'], 'name': > u'return', 'default': 0, 'newstate': u'new', 'oldstates': > [u'accepted'], u'permissions': [u'TICKET_MODIFY']}, u'accept': > {u'operations': [u'set_owner_to_self'], 'name': u'accept', 'default': > 0, 'newstate': u'accepted', 'oldstates': [u'new', u'reopened'], > u'permissions': [u'TICKET_MODIFY']}, u'leave': {'operations': [], > 'name': u'leave', u'default': 1, 'newstate': u'*', 'oldstates': > [u'*'], 'permissions': []}, u'reopen': {u'operations': > [u'del_resolution', u'del_owner'], 'name': u'reopen', u'permission': > u'TICKET_MODIFY', 'default': 0, 'newstate': u'reopened', 'oldstates': > [u'closed'], 'permissions': []}, u'set_fixed': {u'operations': > [u'del_owner', u'set_resolution'], 'name': u'set_fixed', 'default': 0, > 'newstate': u'closed', u'set_resolution': u'fixed', 'oldstates': > [u'accepted'], u'permissions': [u'TICKET_MODIFY']}, u'close': > {u'operations': [u'del_owner', u'set_resolution'], 'name': u'close', > 'default': 0, 'newstate': u'closed', u'set_resolution': > u'wontfix,duplicate,not_reproducible', 'oldstates': [u'new', > u'accepted'], u'permissions': [u'TICKET_MODIFY']}, '_reset': > {'operations': ['reset_workflow'], 'name': 'reset', 'default': 0, > 'newstate': 'new', 'oldstates': [], 'permissions': []}} > > 2012-01-22 11:18:42,231 Trac[api] DEBUG: action controllers for ticket > workflow: ['ConfigurableTicketWorkflow'] > > -- > 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.