Skip to content

Instantly share code, notes, and snippets.

@BrunoGrandePhD
Created October 25, 2014 02:38
Show Gist options
  • Save BrunoGrandePhD/4277625d8be45e6a4840 to your computer and use it in GitHub Desktop.
Save BrunoGrandePhD/4277625d8be45e6a4840 to your computer and use it in GitHub Desktop.
Bootstrap Command and Output
$ sh galaxy_dist/run_tool_shed.sh -bootstrap_from_tool_shed http://toolshed.g2.bx.psu.edu
Bootstrapping from tool shed at http://toolshed.g2.bx.psu.edu.
Creating database... done.
Creating user 'bgrande' with email address '[email protected]'...Traceback (most recent call last):
File "lib/tool_shed/scripts/bootstrap_tool_shed/create_user_with_api_key.py", line 152, in <module>
app = BootstrapApplication( config )
File "lib/tool_shed/scripts/bootstrap_tool_shed/create_user_with_api_key.py", line 46, in __init__
create_tables=False )
File "/home/galaxy/galaxy_dist/lib/galaxy/webapps/tool_shed/model/mapping.py", line 330, in init
result.shed_counter = shed_statistics.ShedCounter( result )
File "/home/galaxy/galaxy_dist/lib/galaxy/webapps/tool_shed/util/shed_statistics.py", line 20, in __init__
self.generate_statistics()
File "/home/galaxy/galaxy_dist/lib/galaxy/webapps/tool_shed/util/shed_statistics.py", line 39, in generate_statistics
for repository in self.sa_session.query( self.model.Repository ):
File "/home/galaxy/galaxy_dist/eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/orm/query.py", line 2227, in __iter__
File "/home/galaxy/galaxy_dist/eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/orm/query.py", line 2242, in _execute_and_instances
File "/home/galaxy/galaxy_dist/eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/engine/base.py", line 1449, in execute
File "/home/galaxy/galaxy_dist/eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/engine/base.py", line 1584, in _execute_clauseelement
File "/home/galaxy/galaxy_dist/eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/engine/base.py", line 1698, in _execute_context
File "/home/galaxy/galaxy_dist/eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/engine/base.py", line 1691, in _execute_context
File "/home/galaxy/galaxy_dist/eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/engine/default.py", line 331, in do_execute
sqlalchemy.exc.OperationalError: (OperationalError) no such table: repository u'SELECT repository.id AS repository_id, repository.create_time AS repository_create_time, repository.update_time AS repository_update_time, repository.name AS repository_name, repository.type AS repository_type, repository.description AS repository_description, repository.long_description AS repository_long_description, repository.user_id AS repository_user_id, repository.private AS repository_private, repository.deleted AS repository_deleted, repository.email_alerts AS repository_email_alerts, repository.times_downloaded AS repository_times_downloaded, repository.deprecated AS repository_deprecated \nFROM repository' ()
done.
Starting tool shed in order to populate users and categories... done.
Retrieving admin user's API key from http://127.0.0.1:9009... done.
Creating users... done.
Creating categories... done.
Bootstrap complete, shutting down temporary tool shed process. A log has been saved to tool_shed_bootstrap.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment