Opened 20 years ago
Closed 20 years ago
#1442 closed defect (invalid)
Trac not FHS compliant?
Reported by: | anonymous | Owned by: | Christopher Lenz |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.8.1 |
Severity: | normal | Keywords: | |
Cc: | sebastian@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
# python ./setup.py install —prefix=/opt/trac
$ /opt/trac/bin/trac-admin /var/opt/trac/ initenv Traceback (most recent call last):
File "/opt/trac/bin/trac-admin", line 33, in ?
from trac import util
ImportError: No module named trac
I need to acknowledge, that I have no idea of python, so maybe it's a python problem?
Attachments (0)
Change History (4)
comment:1 by , 20 years ago
Component: | trac-admin → general |
---|---|
Milestone: | → 0.8.2 |
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 20 years ago
Milestone: | 0.8.2 |
---|---|
Summary: | TRAC not FHS compliant? → Trac does not work with Subversion 1.2 |
Oops, this is about trac.util
. Forget my previous comment.
comment:3 by , 20 years ago
Summary: | Trac does not work with Subversion 1.2 → Trac not FHS compliant? |
---|
And change the subject back… sigh :-P
comment:4 by , 20 years ago
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
You definitely need to put the Trac package on the Python path somehow. If you install without a prefix, it gets put in site-packages
and picked up by Python automatically. If you install with prefix however, you need to get it on the Python path yourself, for example by setting the PYTHONPATH
variable accordingly.
Trac 0.8.1 is unfortunately not compatible with Subversion 1.2.
Trac trunk is already compatible, and we may fix this problem in 0.8.2.