Edgewall Software
Modify

Ticket #3731 (closed defect: worksforme)

Opened 5 years ago

Last modified 5 years ago

trac-admin initenv failed when installing 0.9.6 out-of-the-box

Reported by: ke_no_spam@… Owned by: jonas
Priority: normal Milestone: 0.10
Component: general Version: 0.9.6
Severity: normal Keywords:
Cc:
Release Notes:
API Changes:

Description

In "/usr/local/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py" there's a line saying:

    from svn import fs, repos, core, delta

This stopped the initialization.
It turned out that the "svn" package was not on the python path. Although this may not strictly be a "trac" bug - it's still a problem when installing trac, since trac is referring to svn.
Once understood, the work-around was easy:
Create a file svn.pth with contents svn in the "/usr/local/lib/python2.4/site-packages" folder. This solution survives re-installations.

Thank you for a magnificent system!

Attachments

Change History

comment:1 Changed 5 years ago by cboos

  • Milestone set to 0.10
  • Resolution set to worksforme
  • Status changed from new to closed
  • Summary changed from trac-admin initenv failed when installing 0.9.6 out-of-the-box from svn import fs, repos, core, delta to trac-admin initenv failed when installing 0.9.6 out-of-the-box

In 0.10, it's possible to install Trac without having first to install Subversion, see TracEnvironment#SourceCodeRepository.

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 jonas. 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.