id summary reporter owner description type status priority component severity resolution keywords cc release 11670 MySQL to PostgreSQL migration fails with worklog usermanual Quince Colin Guthrie "This is a great plugin that we use to ~~slave-drive~~ oversee our devs. Unfortunately, it seems it can't be migrated with the TracMigratePlugin: `./trac-migrate.py --in-place /srv/trac postgres://tracuser:nalkyergatte@127.0.0.1/trac?schema=trac` {{{ Worklog needs an upgrade * Upgrading Database Creating work_log table Updating work_log table (v2) Updating work_log table (v3) * Upgrading usermanual Traceback (most recent call last): File ""./trac-migrate.py"", line 55, in sys.exit(main(sys.argv[1:]) or 0) File ""./trac-migrate.py"", line 51, in main return TracMigrationCommand(env)._do_migrate(dest, dburi) File ""/tmp/m/tracmigrate/admin.py"", line 29, in _do_migrate return self._do_migrate_inplace(dburi) File ""/tmp/m/tracmigrate/admin.py"", line 60, in _do_migrate_inplace env = self._create_env(env_path, dburi) File ""/tmp/m/tracmigrate/admin.py"", line 92, in _create_env env = Environment(env_path, create=True, options=options) File ""/usr/lib/python2.7/site-packages/trac/core.py"", line 124, in __call__ self.__init__(*args, **kwargs) File ""/usr/lib/python2.7/site-packages/trac/env.py"", line 288, in __init__ setup_participant.environment_created() File ""build/bdist.linux-x86_64/egg/worklog/api.py"", line 55, in environment_created File ""build/bdist.linux-x86_64/egg/worklog/api.py"", line 182, in upgrade_environment File ""build/bdist.linux-x86_64/egg/worklog/api.py"", line 146, in do_user_man_update AttributeError: 'NoneType' object has no attribute 'cursor' }}}" defect closed high WorkLogPlugin major duplicate Ryan J Ollos 1.0