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.