"KeyError: password" when using trac-admin upgrade.
|Reported by:||verm||Owned by:||Remy Blank|
While upgrading from 0.11 to 0.12 on FreeBSD 9.0-S, Python 2.6. I received this very unhelpful error message while running
Eventually after some trial and error I found that supplying
--no-backup made the error go away.
I'm guessing this an actual bug as the l/p information was correct otherwise
--no-backup would not have worked. (I'm assuming 'password' here is the actual login pw.)
The only viable alternative is letting the user know it failed during the backup step and to use —no-backup. With a nice (obvious) warning to backup their database manually.