Modify ↓
#6707 closed defect (fixed)
Exception when upgrading via trac-admin
Reported by: | Owned by: | Martin Scharrer | |
---|---|---|---|
Priority: | normal | Component: | WatchlistPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
Installed the plugin on trac 11.5 with Py 2.6. When running trac-admin upgrade, I get the following exception:
Traceback (most recent call last): File "/usr/bin/trac-admin", line 8, in <module> load_entry_point('Trac==0.11.5', 'console_scripts', 'trac-admin')() File "/usr/lib/python2.6/dist-packages/trac/admin/console.py", line 1314, in run return admin.onecmd(command) File "/usr/lib/python2.6/dist-packages/trac/admin/console.py", line 133, in onecmd rv = cmd.Cmd.onecmd(self, line) or 0 File "/usr/lib/python2.6/cmd.py", line 219, in onecmd return func(arg) File "/usr/lib/python2.6/dist-packages/trac/admin/console.py", line 1154, in do_upgrade self.__env.upgrade(backup=do_backup) File "/usr/lib/python2.6/dist-packages/trac/env.py", line 457, in upgrade participant.upgrade_environment(db) File "build/bdist.linux-x86_64/egg/tracwatchlist/plugin.py", line 644, in upgrade_environment TypeError: %d format: a number is required, not NoneType
Attachments (0)
Change History (4)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 15 years ago by
Trac Release: | 0.11 → 0.12 |
---|
This should be fixed now for good. It might have been already fixed by the changes made for #6238.
comment:4 Changed 15 years ago by
Note: See
TracTickets for help on using
tickets.
I just comment the line 644 in plugin.py and run trac-admin upgrade again. It works for me now. I used Trac 0.12dev.