Modify ↓
Opened 15 years ago
Closed 15 years ago
#5696 closed defect (fixed)
No instructions for configuration
Reported by: | Owned by: | David Francos Cuartero | |
---|---|---|---|
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)
Note: See
TracTickets for help on using
tickets.
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.