Edgewall Software
Modify

Opened 19 years ago

Closed 16 years ago

Last modified 16 years ago

#1626 closed defect (fixed)

Configure wiki-default path

Reported by: claire.info@… 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 sid, 18 years ago

Old ticket, and it probably should have gone to the mailing list for resolution.

comment:2 by Christian Boos, 18 years ago

Component: trac-admingeneral
Milestone: 0.11
Priority: normallow
Severity: normalminor

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 bill.mill@…, 17 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 bill.mill@…, 17 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 osimons, 16 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 Christian Boos, 16 years ago

Milestone: 0.11.10.11
Resolution: fixed
Status: newclosed

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 rene@…, 16 years ago

cboos, are you able to provide information on how this type of install can be done in 0.11?

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain daniel.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from daniel to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.