Hi Trac team,
I am trying to create environments programmatically using
trac.env.Environment api. But the WikiStart page is missing.
I get this error instead of the start page.
Trac Error
> Page WikiStart not found
Other features look fine. How do I get the WikiStart page? This doesn't
happen when I use "trac-admin <env_name> initenv"
This is my code:
env_options = [
> ('header_logo', 'src', PROJECT_LOGO),
> ('header_logo', 'link', TRAC_ROOT + '/' + config.projectName)
> ('inherit', 'plugins_dir', PLUGINS_DIR),
> ('logging', 'log_type', 'file'),
> ('project', 'descr', 'Trac for ' + config.projectName),
> ('project', 'name', config.projectName)
> ]
> new_env = Environment(path, True, env_options)
Thank you,
Vigneshwaran
--
You received this message because you are subscribed to the Google Groups "Trac
Development" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/trac-dev/-/Fs4dCx_Khw0J.
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-dev?hl=en.