> -----Original Message-----
> From: [email protected] On Behalf Of SunTracker
> Sent: 28 January 2012 17:32
> To: Trac Users
> Subject: [Trac] Re: Trac menu entries disappeared
> 
> I am progressing.
> 
> When I extend my trac.wsgi file by import statement for all available
> "web_ui" packages, I at least get the following menu entries:
> 
> 1) Wiki
> 2) Timeline
> 3) New Ticket
> 4) Search
> 5) Admin
> 6) Preferences
> 
> But not "Roadmap" and "Browse Source".
> 
> I wonder why I have to explicitely import plugins from within my
> trac.wsgi.
> 
> This is the new file:
> 
> ---import trac.web.main
> import trac.db.sqlite_backend
> import trac.wiki.web_ui
> import trac.ticket.web_ui
> import trac.admin.web_ui
> import trac.search.web_ui
> import trac.prefs.web_ui
> import trac.versioncontrol.web_ui.browser
> import trac.versioncontrol.web_ui.util
> import trac.versioncontrol.web_ui.changeset
> import trac.versioncontrol.web_ui.log
> import trac.versioncontrol.web_ui.main
> import trac.timeline.web_ui
> 
> application = trac.web.main.dispatch_request
> ---
> 
> What can I do to get "Browse Source" and "Roadmap"? trac.log and
> apache log show no errors.
> 
None of these extra import statements should be necessary but I am afraid that 
you are beyond my limited *nix experience here.  The problem looks to be that 
the trac instance is having issues finding the modules.  The wsgi docs do 
mention about python under wsgi having a "minimal" environment which includes 
`pythonpath` so that might be worth investigating.  Beyond that I think we need 
someone with more *nix experience, which platform are you actually using?

Good luck,

~ mark c

-- 
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.

Reply via email to