Edgewall Software
Modify

Opened 19 years ago

Closed 19 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 Christopher Lenz, 19 years ago

Component: trac-admingeneral
Milestone: 0.8.2
Owner: changed from daniel to Christopher Lenz
Status: newassigned

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.

comment:2 by Christopher Lenz, 19 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 Christopher Lenz, 19 years ago

Summary: Trac does not work with Subversion 1.2Trac not FHS compliant?

And change the subject back… sigh :-P

comment:4 by Christopher Lenz, 19 years ago

Resolution: invalid
Status: assignedclosed

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.

Modify Ticket

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