Edgewall Software

Ticket #1626 (closed defect: fixed)

Opened 4 years ago

Last modified 5 months 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:

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

Changed 2 years ago by sid

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

Changed 2 years ago by cboos

  • priority changed from normal to low
  • component changed from trac-admin to general
  • severity changed from normal to minor
  • milestone set to 0.11

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.

Changed 20 months 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.)

Changed 20 months 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.

Changed 11 months 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?

Changed 11 months ago by cboos

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from 0.11.1 to 0.11

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.

Changed 5 months ago by rene@…

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

Add/Change #1626 (Configure wiki-default path)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from daniel. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.