Hi, I am trying to set up a MySQL database on our computer cluster as a backend to Galaxy. I had no trouble with this conversion on our local server installation but now I am faced with an error. The full traceback is below, I'm not really sure what the problem is. If any one could give me some idea that would be great. Thanks Shaun Webb galaxy.model.migrate.check INFO 2010-06-04 16:16:40,360 No database, initializing Traceback (most recent call last): File "/exports/work/biology_cell_galaxy/galaxy/lib/galaxy/web/buildapp.py", line 61, in app_factory app = UniverseApplication( global_conf = global_conf, **kwargs ) File "/exports/work/biology_cell_galaxy/galaxy/lib/galaxy/app.py", line 28, in __init__ create_or_verify_database( db_url, self.config.database_engine_options ) File "/exports/work/biology_cell_galaxy/galaxy/lib/galaxy/model/migrate/check.py", line 67, in create_or_verify_database migrate_to_current_version( engine, db_schema ) File "/exports/work/biology_cell_galaxy/galaxy/lib/galaxy/model/migrate/check.py", line 108, in migrate_to_current_version changeset = schema.changeset( None ) File "/exports/work/biology_cell_galaxy/galaxy/eggs/py2.4-noplatform/sqlalchemy_migrate-0.5.4-py2.4.egg/migrate/versioning/schema.py", line 173, in changeset changeset = self.repository.changeset(database, start_ver, version) File "/exports/work/biology_cell_galaxy/galaxy/eggs/py2.4-noplatform/sqlalchemy_migrate-0.5.4-py2.4.egg/migrate/versioning/repository.py", line 170, in changeset changes = [self.version(v).script(database, op) for v in versions] File "/exports/work/biology_cell_galaxy/galaxy/eggs/py2.4-noplatform/sqlalchemy_migrate-0.5.4-py2.4.egg/migrate/versioning/version.py", line 161, in script assert ret is not None AssertionError -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
SHAUN WEBB wrote:
Hi, I am trying to set up a MySQL database on our computer cluster as a backend to Galaxy. I had no trouble with this conversion on our local server installation but now I am faced with an error.
The full traceback is below, I'm not really sure what the problem is. If any one could give me some idea that would be great.
Hi Shaun, Sorry for the late response. Are you still having this problem while trying to set up MySQL? This would suggest that a migration script is missing, which may've been the case at the time. --nate
Thanks Shaun Webb
galaxy.model.migrate.check INFO 2010-06-04 16:16:40,360 No database, initializing Traceback (most recent call last): File "/exports/work/biology_cell_galaxy/galaxy/lib/galaxy/web/buildapp.py", line 61, in app_factory app = UniverseApplication( global_conf = global_conf, **kwargs ) File "/exports/work/biology_cell_galaxy/galaxy/lib/galaxy/app.py", line 28, in __init__ create_or_verify_database( db_url, self.config.database_engine_options ) File "/exports/work/biology_cell_galaxy/galaxy/lib/galaxy/model/migrate/check.py", line 67, in create_or_verify_database migrate_to_current_version( engine, db_schema ) File "/exports/work/biology_cell_galaxy/galaxy/lib/galaxy/model/migrate/check.py", line 108, in migrate_to_current_version changeset = schema.changeset( None ) File "/exports/work/biology_cell_galaxy/galaxy/eggs/py2.4-noplatform/sqlalchemy_migrate-0.5.4-py2.4.egg/migrate/versioning/schema.py", line 173, in changeset changeset = self.repository.changeset(database, start_ver, version) File "/exports/work/biology_cell_galaxy/galaxy/eggs/py2.4-noplatform/sqlalchemy_migrate-0.5.4-py2.4.egg/migrate/versioning/repository.py", line 170, in changeset changes = [self.version(v).script(database, op) for v in versions] File "/exports/work/biology_cell_galaxy/galaxy/eggs/py2.4-noplatform/sqlalchemy_migrate-0.5.4-py2.4.egg/migrate/versioning/version.py", line 161, in script assert ret is not None AssertionError
participants (2)
-
Nate Coraor
-
SHAUN WEBB