#3731 closed defect (worksforme)
trac-admin initenv failed when installing 0.9.6 out-of-the-box
| Reported by: | Owned by: | Jonas Borgström | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.9.6 |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal 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 , 19 years ago
| Milestone: | → 0.10 |
|---|---|
| Resolution: | → worksforme |
| Status: | new → closed |
| Summary: | trac-admin initenv failed when installing 0.9.6 out-of-the-box from svn import fs, repos, core, delta → 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.