Modify

Opened 5 years ago

Closed 5 years ago

#5696 closed defect (fixed)

No instructions for configuration

Reported by: chris.lamb@… Owned by: XayOn
Priority: normal Component: MultiTracStatisticsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

XayOn,
This looks like an interesting Hack, but I don't see how you point it to your various databases nor how you access the output? Is there a special wiki page or tag I'm missing? Seems like I'm missing something basic.

Thanks!!

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by anonymous

  • Resolution set to fixed
  • Status changed from new to closed

Ok. Fixing it.
conf_path="/usr/local/share/trac/trac.main.ini"
db="/db/trac.db"
config = Configuration(os.path.join(conf_path))

#try: trac_path=config.get('Wstats','trac_path')
trac_path="/srv/trac/"

#try : trac_url=config.get('Wstats','trac_url')
trac_url="/"

This is the configuration inside the macro.py.
You can enable configuration uncommenthing try stuff and putting trac_url before and so.
You've got to have all the svn in the same directory.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.