Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

Last modified 8 years ago

#3731 closed defect (worksforme)

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

Reported by: ke_no_spam@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.9.6
Severity: normal Keywords:
Cc: Branch:
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 (0)

Change History (2)

comment:1 by Christian Boos, 13 years ago

Milestone: 0.10
Resolution: worksforme
Status: newclosed
Summary: trac-admin initenv failed when installing 0.9.6 out-of-the-box from svn import fs, repos, core, deltatrac-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.

comment:2 by Christian Boos, 8 years ago

Milestone: 0.10

(clearing report:35)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to as closed The owner will be changed from Jonas Borgström 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.