47 | | The latest version of Trac initenv also has an extra argument `<templatepath>`, which points to the `templates` folder. If you are using the one-liner '`trac-admin /path/to/trac/ initenv <projectname> <db> <repostype> <repospath>`' in the above and getting an error that reads ''''`Wrong number of arguments to initenv: 4`'''', then this is most likely because of the the missing `<templatepath>`. The correct command arguments are: |
48 | | {{{ |
49 | | trac-admin /path/to/trac initenv <projectname> <db> <repostype> <repospath> <templatepath> |
50 | | }}} |
| 47 | Note that in version 0.11 of Trac, `initenv` lost an extra last argument `<templatepath>`, which was used in previous versions to point to the `templates` folder. If you are using the one-liner '`trac-admin /path/to/trac/ initenv <projectname> <db> <repostype> <repospath>`' in the above and getting an error that reads ''''`Wrong number of arguments to initenv: 4`'''', then this is because you're using a `trac-admin` script from an '''older''' version of Trac. |