#1626 closed defect (fixed)
Configure wiki-default path
Reported by: | Owned by: | daniel | |
---|---|---|---|
Priority: | low | Milestone: | 0.11 |
Component: | general | Version: | devel |
Severity: | minor | Keywords: | wiki-default setuptools |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I installed Trac with these commands :
python ./setup.py build python ./setup.py install_lib python ./setup.py install_scripts -d /opt/trac/trac/bin python ./setup.py install_data -d /data/trac/trac
The directory wiki-default is here : /data/trac/trac/share/trac/wiki-default/
But when I create and initialize a new environment, I am unable to give this path and so I have an error :
Creating and Initializing Project Inserting default data Configuring Project trac.repository_dir trac.templates_dir project.name Installing wiki pages Failed to initialize database. [Errno 2] No such file or directory: '/opt/trac/python/share/trac/wiki-default'
Is there a way to fix it?
Attachments (0)
Change History (7)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Component: | trac-admin → general |
---|---|
Milestone: | → 0.11 |
Priority: | normal → low |
Severity: | normal → minor |
With the setuptools integration that will happen in 0.11, such special installation setups will be better supported by Trac.
I'll leave this ticket open and once setuptools is integrated, I'll drop a note here explaining how this particular installation should be done.
comment:3 by , 18 years ago
I got the same thing; I upgraded trac versions via the simple "~/bin/easy_install trac" and now I can't wiki upgrade because it's looking for c:
programme
…etc . (This is on a BSD box.)
comment:4 by , 18 years ago
And, updating ~/lib/python2.5/site-packages/trac…/trac/siteconfig.py to contain the proper directores did not help; now trac-admin complains of a missing wiki-default dir.
comment:5 by , 17 years ago
Keywords: | setuptools added; database removed |
---|
Setuptools is now integrated in trunk for 0.11 release, so these install-type issues should no longer happen as everything is stored inside the egg.
cboos, anything further to add for this issue or can it be closed?
comment:6 by , 17 years ago
Milestone: | 0.11.1 → 0.11 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Ok, the setuptools part of that problem is fixed (well, if you ignore comment:3 and comment:4 ;-) but that was probably because an .egg built on Windows was used on that BSD platform).
The more general question "Configure wiki-default path" and future directions of that belongs to the improvements we're going to make in 0.12 will be discussed in #2656.
comment:7 by , 16 years ago
cboos, are you able to provide information on how this type of install can be done in 0.11?
Old ticket, and it probably should have gone to the mailing list for resolution.