Edgewall Software
Modify

Ticket #1626 (closed defect: fixed)

Opened 7 years ago

Last modified 4 years ago

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:
Release Notes:
API 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

Change History

comment:1 Changed 6 years ago by sid

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

comment:2 Changed 6 years ago by cboos

  • Component changed from trac-admin to general
  • Milestone set to 0.11
  • Priority changed from normal to low
  • Severity changed from normal to 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 Changed 5 years ago by bill.mill@…

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 Changed 5 years ago by bill.mill@…

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 Changed 4 years ago by osimons

  • 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 Changed 4 years ago by cboos

  • Milestone changed from 0.11.1 to 0.11
  • Resolution set to fixed
  • Status changed from new to 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 Changed 4 years ago by rene@…

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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from daniel. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.