Modify ↓
Opened 15 years ago
Closed 14 years ago
#6333 closed defect (duplicate)
[Patch] Add Trac 0.12 compatible version
Reported by: | anonymous | Owned by: | Prentice Wongvibulsin |
---|---|---|---|
Priority: | normal | Component: | TracTicketStatsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Attachments (0)
Change History (4)
comment:1 Changed 14 years ago by
comment:3 Changed 14 years ago by
Summary: | not work with trac0.12 → [Patch] Add Trac 0.12 compatible version |
---|
comment:4 Changed 14 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
#7038 was a duplicate, but that ticket also has a fix for the new 0.12 timestamp format, so closing this ticket as a duplicate.
Note: See
TracTickets for help on using
tickets.
Here is a 0.12 upgrade fix for this problem.
0.11/ticketstats-plugin/ticketstats/ticketstats.py
So, to edit the file and adding this line, before there is a official release: If you have a zipped egg install, there are a few hoops to jump through.
python
shell and writingimport ticketstats
and thenhelp(ticketstats)
- this will give you its file path, copy this text..egg
file out of the site-packages folder (or wherever it was)easy_install -U -Z http://trac-hacks.org/svn/tracticketstatsplugin/0.11/ticketstats-plugin/dist/Tracticketstats-2.1-py2.5.egg
to install ("force-upgrade") an unzipped version.Then go edit! And then restart Apache, if you run Trac via an Apache.