You get the exception "IntegrityError: : columns rev, path, change_type are not unique" when you look at any page in Trac. How to recover?
Issue the command "trac-admin /path/to/projenv resync", and that should fix your borked database.
Trac is a great project, but it took me too long to track down this simple fix to an annoying bug.
By Chris Snyder on July 9, 2007 at 12:11pm