Modify ↓
Opened 13 years ago
Closed 12 years ago
#9634 closed defect (duplicate)
Error on database upgrade
Reported by: | Owned by: | Colin Guthrie | |
---|---|---|---|
Priority: | highest | Component: | ClientsPlugin |
Severity: | blocker | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
I was getting this error after running trac-admin /path/to/trac/project upgrade:
root@trac:/home/yamil# trac-admin /path/to/trac/projectt upgrade ClientsPlugin needs an upgrade * Upgrading db Creating client table Updating clients table (v3) Updating clients table (v4) Updating clients table (v5) Updating clients table (v6) * Upgrading reports UnboundLocalError: local variable 'version' referenced before assignment
As I stated on tickets #7450 and #8450, adding "global version" between lines 21 and 23 on reportmanager.py solves it.
Attachments (0)
Change History (2)
comment:1 Changed 13 years ago by
comment:2 Changed 12 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Duplicate of #7450. See that ticket for solution.
Note: See
TracTickets for help on using
tickets.
I'm sorry, that didn't solve it =(