Created
March 17, 2015 22:37
-
-
Save mattias-lidman/826c49957fd84a35383e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------------------------------------------------------------------------- | |
CommandError Traceback (most recent call last) | |
/mnt/globus_deploy/apps/nexus/versions/sandbox-GRAPH-1510-3-2015-03-17_22-01-47/graph/lib/python2.7/site-packages/globusonline-RELEASE_2011_06_06-py2.7.egg/EGG-INFO/scripts/admin in <module>() | |
----> 1 initialize_sql_db(sql_manager.engine(), Base) | |
/mnt/globus_deploy/apps/nexus/versions/sandbox-GRAPH-1510-3-2015-03-17_22-01-47/graph/lib/python2.7/site-packages/globusonline-RELEASE_2011_06_06-py2.7.egg/globusonline/graph/admin/migrate_to_sql.py in initialize_sql_db(engine, Base) | |
15 Base.metadata.create_all(engine) # Create tables if they don't exist | |
16 alembic_cfg = Config("/mnt/globus_deploy/apps/nexus/current/alembic.ini") | |
---> 17 command.stamp(alembic_cfg, "head") | |
18 | |
19 | |
/mnt/globus_deploy/apps/nexus/versions/sandbox-GRAPH-1510-3-2015-03-17_22-01-47/graph/lib/python2.7/site-packages/alembic/command.pyc in stamp(config, revision, sql, tag) | |
324 run any migrations.""" | |
325 | |
--> 326 script = ScriptDirectory.from_config(config) | |
327 | |
328 starting_rev = None | |
/mnt/globus_deploy/apps/nexus/versions/sandbox-GRAPH-1510-3-2015-03-17_22-01-47/graph/lib/python2.7/site-packages/alembic/script.pyc in from_config(cls, config) | |
118 sourceless=config.get_main_option("sourceless") == "true", | |
119 output_encoding=config.get_main_option("output_encoding", "utf-8"), | |
--> 120 version_locations=version_locations | |
121 ) | |
122 | |
/mnt/globus_deploy/apps/nexus/versions/sandbox-GRAPH-1510-3-2015-03-17_22-01-47/graph/lib/python2.7/site-packages/alembic/script.pyc in __init__(self, dir, file_template, truncate_slug_length, version_locations, sourceless, output_encoding) | |
55 raise util.CommandError("Path doesn't exist: %r. Please use " | |
56 "the 'init' command to create a new " | |
---> 57 "scripts folder." % dir) | |
58 | |
59 @property | |
CommandError: Path doesn't exist: 'alembic'. Please use the 'init' command to create a new scripts folder. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment