openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #12917
[Bug 896977] Re: TypeError: __init__() got an unexpected keyword argument 'populate_default'
** Branch linked: lp:openlp
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/896977
Title:
TypeError: __init__() got an unexpected keyword argument
'populate_default'
Status in OpenLP - Worship Presentation Software:
Fix Committed
Bug description:
On Ubuntu 10.04, SQLAlchemy Migrate 0.5.4 does not support the
"populate_default" keyword.
The following traceback occurs when trying to upgrade a database:
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/openlp/core/lib/pluginmanager.py", line 111, in find_plugins
plugin = p(plugin_helpers)
File "/usr/lib/pymodules/python2.6/openlp/plugins/songs/songsplugin.py", line 62, in __init__
self.manager = Manager(u'songs', init_schema, upgrade_mod=upgrade)
File "/usr/lib/pymodules/python2.6/openlp/core/lib/db.py", line 203, in __init__
db_ver, up_ver = upgrade_db(self.db_url, upgrade_mod)
File "/usr/lib/pymodules/python2.6/openlp/core/lib/db.py", line 108, in upgrade_db
(session, metadata, tables)
File "/usr/lib/pymodules/python2.6/openlp/plugins/songs/lib/upgrade.py", line 71, in upgrade_1
.create(table=tables[u'media_files'], populate_default=True)
File "/usr/lib/pymodules/python2.6/migrate/changeset/schema.py", line 365, in create
engine._run_visitor(visitorcallable, self, *args, **kwargs)
File "/usr/lib/pymodules/python2.6/sqlalchemy/engine/base.py", line 1158, in _run_visitor
visitorcallable(self.dialect, conn, **kwargs).traverse(element)
File "/usr/lib/pymodules/python2.6/sqlalchemy/sql/compiler.py", line 809, in __init__
super(SchemaGenerator, self).__init__(connection, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'populate_default'
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/896977/+subscriptions
References