Hello, On 1/10/2013 2:30 PM, Vigneshwaran Raveendran wrote: > 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
Indeed, Environment() creates an environment with very little content, in particular there's no wiki pages. > > > Other features look fine. How do I get the WikiStart page? This doesn't > happen when I use "trac-admin <env_name> initenv" Precisely, you should have a look at the implementation of that command, `do_initenv`, you'll see it does a `WikiAdmin(self.__env).load_pages(...)`). Sorry for the minimalistic help, but the best answer is really to look-up in the code ;-) -- Christian -- You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to trac-dev@googlegroups.com. To unsubscribe from this group, send email to trac-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en.