After update from 1.2.3 to 1.4 the upgrade fails: 2019-11-14 11:25:31,184 Trac[web_ui] DEBUG: Ticketsboard: assignReviewer plugin part is present 2019-11-14 11:25:31,184 Trac[tracpm] INFO: Initializing TracPM 2019-11-14 11:25:31,195 Trac[api] INFO: Need to upgrade database_version from 41 to 45 2019-11-14 11:25:31,195 Trac[env] WARNING: Component <Component trac.db.api. DatabaseManager> requires an environment upgrade 2019-11-14 11:25:31,199 Trac[api] INFO: Need to upgrade database_version from 41 to 45 2019-11-14 11:25:31,199 Trac[env] WARNING: Component <Component trac.db.api. DatabaseManager> requires an environment upgrade 2019-11-14 11:25:31,199 Trac[api] INFO: Need to upgrade database_version from 41 to 45 2019-11-14 11:25:31,252 Trac[env] ERROR: Component <Component componentdependencies.componentdependency.ComponentDependencyPlugin> failed with Traceback (most recent call last): File "/mnt/data/trac/.local/lib64/python2.7/site-packages/trac/env.py", line 387, in component_guard yield File "/mnt/data/trac/.local/lib64/python2.7/site-packages/trac/env.py", line 773, in upgrade if participant.environment_needs_upgrade(): TypeError: environment_needs_upgrade() takes exactly 2 arguments (1 given) 2019-11-14 11:25:31,304 Trac[console] ERROR: Exception in trac-admin command : u'upgrade' Traceback (most recent call last): File "/mnt/data/trac/.local/lib64/python2.7/site-packages/trac/admin/console.py", line 83, in onecmd rv = cmd.Cmd.onecmd(self, line) or 0 File "/usr/lib64/python2.7/cmd.py", line 220, in onecmd return self.default(line) File "/mnt/data/trac/.local/lib64/python2.7/site-packages/trac/admin/console.py", line 252, in default return self.cmd_mgr.execute_command(*args) File "/mnt/data/trac/.local/lib64/python2.7/site-packages/trac/admin/api.py", line 135, in execute_command return f(*fargs) File "/mnt/data/trac/.local/lib64/python2.7/site-packages/trac/env.py", line 1062, in _do_upgrade self.env.upgrade(backup=no_backup is None) File "/mnt/data/trac/.local/lib64/python2.7/site-packages/trac/env.py", line 773, in upgrade if participant.environment_needs_upgrade(): TypeError: environment_needs_upgrade() takes exactly 2 arguments (1 given)
The command was: $ trac-admin /mnt/data/trac/projects/trac-pp/ upgrade The upgrade failed. Please fix the issue and try again. TypeError: environment_needs_upgrade() takes exactly 2 arguments (1 given) What is wrong about the command, does the API have changed? I also migrated from a root installed trac to the pip installation inside the user home. Best regards. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/aef50571-3503-462c-9a13-3e826c3d3188%40googlegroups.com.