Skip to content

Instantly share code, notes, and snippets.

@singingwolfboy
Created May 19, 2015 15:15
Show Gist options
  • Save singingwolfboy/b45459514c9e6d978cf0 to your computer and use it in GitHub Desktop.
Save singingwolfboy/b45459514c9e6d978cf0 to your computer and use it in GitHub Desktop.
% paver update_db -s dev ✹
Warning: could not find environment JSON file at '/Users/db/lms.env.json'
---> pavelib.servers.update_db
---> pavelib.prereqs.install_prereqs
---> pavelib.prereqs.install_ruby_prereqs
Ruby prereqs unchanged, skipping...
---> pavelib.prereqs.install_node_prereqs
Node prereqs unchanged, skipping...
---> pavelib.prereqs.install_python_prereqs
pip install -q --exists-action w -r requirements/edx/pre.txt
You are using pip version 6.0.8, however version 6.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
pip install -q --exists-action w -r requirements/edx/github.txt
You are using pip version 6.0.8, however version 6.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
remote: Counting objects: 5450, done.
remote: Compressing objects: 100% (1339/1339), done.
remote: Total 5450 (delta 3993), reused 5450 (delta 3993), pack-reused 0
Receiving objects: 100% (5450/5450), 1.28 MiB | 0 bytes/s, done.
Resolving deltas: 100% (3993/3993), done.
Could not find a tag or branch '96e1922348bfe6d99201b9512a9ed946c87b7e0b', assuming commit.
remote: Counting objects: 223, done.
remote: Total 223 (delta 0), reused 0 (delta 0), pack-reused 223
Receiving objects: 100% (223/223), 36.73 KiB | 0 bytes/s, done.
Resolving deltas: 100% (102/102), done.
Could not find a tag or branch 'b0686a76f1ce3532088c4aee6e76b9abe61cc808', assuming commit.
Could not find a tag or branch 'd89aae2a82f2b', assuming commit.
Could not find a tag or branch '88ec8a011e481918fdc9d2682d4017c835acd8be', assuming commit.
Could not find a tag or branch 'cd0b2b31997afccde519fe5b3365e61a9edb143f', assuming commit.
Could not find a tag or branch '25b99097615bda06bd7cdfe5669ed80dc2a7fed0', assuming commit.
Could not find a tag or branch '776973740bdaad83a3b029f96e415a7d1e8bec2f', assuming commit.
Could not find a tag or branch 'd53fe0e81b623f084e91776bcf6369f8b7b63879', assuming commit.
Could not find a tag or branch '42cb1bb1dc680a60c6452e8bb2b843c2a0382c90', assuming commit.
Could not find a tag or branch '95e69341cebf5a6a9fbf7c4f5439d458898bdc3b', assuming commit.
Could not find a tag or branch 'c5bfa5d361d6685d8c643838fc0055c25f8b7999', assuming commit.
Could not find a tag or branch 'd175715e0fe3367ec0f1ee429c242d603f6e8b10', assuming commit.
Could not find a tag or branch '7949b9f754d1445eff8e8f20d0e967b9a6420639', assuming commit.
Could not find a tag or branch '1934a2978cdd3e2414486c74b76e3040ff1fb138', assuming commit.
Could not find a tag or branch '6b17c33a89bef0ac510926b1d7fea2748b73aadd', assuming commit.
Could not find a tag or branch '7579d052afcf474ece1239153cffe1c89935bc4f', assuming commit.
Could not find a tag or branch 'e46f9cda8a03e121a00c7e347084d142d22ebfb7', assuming commit.
Could not find a tag or branch 'e2361932b9bce061a018a31bb3929e9cade80f49', assuming commit.
Could not find a tag or branch 'df0dd602869e498e512659bb4bd243309e30e19a', assuming commit.
Could not find a tag or branch 'b67d2928a26fe497826b6ea359b9a3d0371548a7', assuming commit.
Could not find a tag or branch '7b89d5e01c1a7cc5d69d813bd8c6b706a8f75119', assuming commit.
Could not find a tag or branch 'b1e11c9af3233bc06a17acbb33179f46d43c3b87', assuming commit.
Could not find a tag or branch 'e1697b648bc347a65fc24265501355375ff739a2', assuming commit.
Could not find a tag or branch '547f2250ee49e73ce8d7ff4e78ecf1b049892510', assuming commit.
Could not find a tag or branch 'ae459ead41962c656ce794619f58cdae46eb7896', assuming commit.
Could not find a tag or branch '581ed636c862b286002bb9a3724cc883570eb54c', assuming commit.
Could not find a tag or branch '138e6fa0bf3a2013e904a085b9fed77dab7f3f21', assuming commit.
Could not find a tag or branch '2ff0d21f6614874067168bd244e68d8215041f3b', assuming commit.
Could not find a tag or branch '172a90fd2738f8142c10478356b2d9ed3e55334a', assuming commit.
pip install -q --exists-action w -r requirements/edx/local.txt
You are using pip version 6.0.8, however version 6.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
pip install -q --exists-action w -r requirements/edx/base.txt
You are using pip version 6.0.8, however version 6.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
meliae is potentially insecure and unverifiable.
Requested meliae==0.4.0 (from -r requirements/edx/base.txt (line 52)), but installing version 0.4.0.final.0
pip install -q --exists-action w -r requirements/edx/post.txt
You are using pip version 6.0.8, however version 6.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
python manage.py lms --settings=dev syncdb --migrate --traceback --pythonpath=.
Syncing...
DEBUG:django.db.backends:(0.030)
SELECT name FROM sqlite_master
WHERE type='table' AND NOT name='sqlite_sequence'
ORDER BY name; args=()
Creating tables ...
DEBUG:django.db.backends:(0.001) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."model" = permission AND "django_content_type"."app_label" = auth ); args=('permission', 'auth')
DEBUG:django.db.backends:(0.000) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."model" = group AND "django_content_type"."app_label" = auth ); args=('group', 'auth')
DEBUG:django.db.backends:(0.000) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."model" = user AND "django_content_type"."app_label" = auth ); args=('user', 'auth')
DEBUG:django.db.backends:(0.001) SELECT "auth_permission"."content_type_id", "auth_permission"."codename" FROM "auth_permission" INNER JOIN "django_content_type" ON ("auth_permission"."content_type_id" = "django_content_type"."id") WHERE "auth_permission"."content_type_id" IN (1, 2, 3) ORDER BY "django_content_type"."app_label" ASC, "django_content_type"."model" ASC, "auth_permission"."codename" ASC; args=(1, 2, 3)
DEBUG:django.db.backends:(0.000) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE "django_content_type"."app_label" = auth ORDER BY "django_content_type"."name" ASC; args=('auth',)
DEBUG:django.db.backends:(0.000) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."model" = contenttype AND "django_content_type"."app_label" = contenttypes ); args=('contenttype', 'contenttypes')
DEBUG:django.db.backends:(0.000) SELECT "auth_permission"."content_type_id", "auth_permission"."codename" FROM "auth_permission" INNER JOIN "django_content_type" ON ("auth_permission"."content_type_id" = "django_content_type"."id") WHERE "auth_permission"."content_type_id" IN (4) ORDER BY "django_content_type"."app_label" ASC, "django_content_type"."model" ASC, "auth_permission"."codename" ASC; args=(4,)
DEBUG:django.db.backends:(0.000) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE "django_content_type"."app_label" = contenttypes ORDER BY "django_content_type"."name" ASC; args=('contenttypes',)
DEBUG:django.db.backends:(0.000) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."model" = session AND "django_content_type"."app_label" = sessions ); args=('session', 'sessions')
DEBUG:django.db.backends:(0.000) SELECT "auth_permission"."content_type_id", "auth_permission"."codename" FROM "auth_permission" INNER JOIN "django_content_type" ON ("auth_permission"."content_type_id" = "django_content_type"."id") WHERE "auth_permission"."content_type_id" IN (5) ORDER BY "django_content_type"."app_label" ASC, "django_content_type"."model" ASC, "auth_permission"."codename" ASC; args=(5,)
DEBUG:django.db.backends:(0.000) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE "django_content_type"."app_label" = sessions ORDER BY "django_content_type"."name" ASC; args=('sessions',)
DEBUG:django.db.backends:(0.000) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."model" = site AND "django_content_type"."app_label" = sites ); args=('site', 'sites')
DEBUG:django.db.backends:(0.000) SELECT "auth_permission"."content_type_id", "auth_permission"."codename" FROM "auth_permission" INNER JOIN "django_content_type" ON ("auth_permission"."content_type_id" = "django_content_type"."id") WHERE "auth_permission"."content_type_id" IN (6) ORDER BY "django_content_type"."app_label" ASC, "django_content_type"."model" ASC, "auth_permission"."codename" ASC; args=(6,)
DEBUG:django.db.backends:(0.000) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE "django_content_type"."app_label" = sites ORDER BY "django_content_type"."name" ASC; args=('sites',)
DEBUG:django.db.backends:(0.000) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."model" = migrationhistory AND "django_content_type"."app_label" = south ); args=('migrationhistory', 'south')
DEBUG:django.db.backends:(0.000) SELECT "auth_permission"."content_type_id", "auth_permission"."codename" FROM "auth_permission" INNER JOIN "django_content_type" ON ("auth_permission"."content_type_id" = "django_content_type"."id") WHERE "auth_permission"."content_type_id" IN (7) ORDER BY "django_content_type"."app_label" ASC, "django_content_type"."model" ASC, "auth_permission"."codename" ASC; args=(7,)
DEBUG:django.db.backends:(0.000) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE "django_content_type"."app_label" = south ORDER BY "django_content_type"."name" ASC; args=('south',)
DEBUG:django.db.backends:(0.000) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."model" = servercircuit AND "django_content_type"."app_label" = circuit ); args=('servercircuit', 'circuit')
DEBUG:django.db.backends:(0.000) SELECT "auth_permission"."content_type_id", "auth_permission"."codename" FROM "auth_permission" INNER JOIN "django_content_type" ON ("auth_permission"."content_type_id" = "django_content_type"."id") WHERE "auth_permission"."content_type_id" IN (8) ORDER BY "django_content_type"."app_label" ASC, "django_content_type"."model" ASC, "auth_permission"."codename" ASC; args=(8,)
DEBUG:django.db.backends:(0.000) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE "django_content_type"."app_label" = circuit ORDER BY "django_content_type"."name" ASC; args=('circuit',)
DEBUG:django.db.backends:(0.000) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."model" = psychometricdata AND "django_content_type"."app_label" = psychometrics ); args=('psychometricdata', 'psychometrics')
DEBUG:django.db.backends:(0.000) SELECT "auth_permission"."content_type_id", "auth_permission"."codename" FROM "auth_permission" INNER JOIN "django_content_type" ON ("auth_permission"."content_type_id" = "django_content_type"."id") WHERE "auth_permission"."content_type_id" IN (9) ORDER BY "django_content_type"."app_label" ASC, "django_content_type"."model" ASC, "auth_permission"."codename" ASC; args=(9,)
DEBUG:django.db.backends:(0.000) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE "django_content_type"."app_label" = psychometrics ORDER BY "django_content_type"."name" ASC; args=('psychometrics',)
DEBUG:django.db.backends:(0.000) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."model" = nonce AND "django_content_type"."app_label" = django_openid_auth ); args=('nonce', 'django_openid_auth')
DEBUG:django.db.backends:(0.000) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."model" = association AND "django_content_type"."app_label" = django_openid_auth ); args=('association', 'django_openid_auth')
DEBUG:django.db.backends:(0.000) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."model" = useropenid AND "django_content_type"."app_label" = django_openid_auth ); args=('useropenid', 'django_openid_auth')
DEBUG:django.db.backends:(0.000) SELECT "auth_permission"."content_type_id", "auth_permission"."codename" FROM "auth_permission" INNER JOIN "django_content_type" ON ("auth_permission"."content_type_id" = "django_content_type"."id") WHERE "auth_permission"."content_type_id" IN (10, 11, 12) ORDER BY "django_content_type"."app_label" ASC, "django_content_type"."model" ASC, "auth_permission"."codename" ASC; args=(10, 11, 12)
DEBUG:django.db.backends:(0.000) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE "django_content_type"."app_label" = django_openid_auth ORDER BY "django_content_type"."name" ASC; args=('django_openid_auth',)
DEBUG:django.db.backends:(0.000) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."model" = logentry AND "django_content_type"."app_label" = admin ); args=('logentry', 'admin')
DEBUG:django.db.backends:(0.000) SELECT "auth_permission"."content_type_id", "auth_permission"."codename" FROM "auth_permission" INNER JOIN "django_content_type" ON ("auth_permission"."content_type_id" = "django_content_type"."id") WHERE "auth_permission"."content_type_id" IN (13) ORDER BY "django_content_type"."app_label" ASC, "django_content_type"."model" ASC, "auth_permission"."codename" ASC; args=(13,)
DEBUG:django.db.backends:(0.000) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE "django_content_type"."app_label" = admin ORDER BY "django_content_type"."name" ASC; args=('admin',)
DEBUG:django.db.backends:(0.000) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."model" = corsmodel AND "django_content_type"."app_label" = corsheaders ); args=('corsmodel', 'corsheaders')
DEBUG:django.db.backends:(0.000) SELECT "auth_permission"."content_type_id", "auth_permission"."codename" FROM "auth_permission" INNER JOIN "django_content_type" ON ("auth_permission"."content_type_id" = "django_content_type"."id") WHERE "auth_permission"."content_type_id" IN (14) ORDER BY "django_content_type"."app_label" ASC, "django_content_type"."model" ASC, "auth_permission"."codename" ASC; args=(14,)
DEBUG:django.db.backends:(0.000) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE "django_content_type"."app_label" = corsheaders ORDER BY "django_content_type"."name" ASC; args=('corsheaders',)
DEBUG:django.db.backends:(0.000) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."model" = fsexpirations AND "django_content_type"."app_label" = djpyfs ); args=('fsexpirations', 'djpyfs')
DEBUG:django.db.backends:(0.000) SELECT "auth_permission"."content_type_id", "auth_permission"."codename" FROM "auth_permission" INNER JOIN "django_content_type" ON ("auth_permission"."content_type_id" = "django_content_type"."id") WHERE "auth_permission"."content_type_id" IN (15) ORDER BY "django_content_type"."app_label" ASC, "django_content_type"."model" ASC, "auth_permission"."codename" ASC; args=(15,)
DEBUG:django.db.backends:(0.000) SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE "django_content_type"."app_label" = djpyfs ORDER BY "django_content_type"."name" ASC; args=('djpyfs',)
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
Migrating...
DEBUG:django.db.backends:(0.007) SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC; args=()
Running migrations for djcelery:
- Nothing to migrate.
- Loading initial data for djcelery.
Installed 0 object(s) from 0 fixture(s)
DEBUG:django.db.backends:(0.004) SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC; args=()
Running migrations for courseware:
- Nothing to migrate.
- Loading initial data for courseware.
Installed 0 object(s) from 0 fixture(s)
DEBUG:django.db.backends:(0.004) SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC; args=()
Running migrations for student:
- Nothing to migrate.
- Loading initial data for student.
Installed 0 object(s) from 0 fixture(s)
DEBUG:django.db.backends:(0.003) SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC; args=()
Running migrations for track:
- Nothing to migrate.
- Loading initial data for track.
Installed 0 object(s) from 0 fixture(s)
DEBUG:django.db.backends:(0.003) SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC; args=()
Running migrations for util:
- Nothing to migrate.
- Loading initial data for util.
Installed 0 object(s) from 0 fixture(s)
DEBUG:django.db.backends:(0.003) SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC; args=()
Running migrations for certificates:
- Nothing to migrate.
- Loading initial data for certificates.
Installed 0 object(s) from 0 fixture(s)
DEBUG:django.db.backends:(0.003) SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC; args=()
Running migrations for instructor_task:
- Nothing to migrate.
- Loading initial data for instructor_task.
Installed 0 object(s) from 0 fixture(s)
DEBUG:django.db.backends:(0.004) SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC; args=()
Running migrations for licenses:
- Nothing to migrate.
- Loading initial data for licenses.
Installed 0 object(s) from 0 fixture(s)
DEBUG:django.db.backends:(0.004) SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC; args=()
Running migrations for course_groups:
- Nothing to migrate.
- Loading initial data for course_groups.
Installed 0 object(s) from 0 fixture(s)
DEBUG:django.db.backends:(0.003) SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC; args=()
Running migrations for bulk_email:
- Nothing to migrate.
- Loading initial data for bulk_email.
Installed 0 object(s) from 0 fixture(s)
DEBUG:django.db.backends:(0.004) SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC; args=()
Running migrations for branding:
- Nothing to migrate.
- Loading initial data for branding.
Installed 0 object(s) from 0 fixture(s)
DEBUG:django.db.backends:(0.004) SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC; args=()
Running migrations for external_auth:
- Nothing to migrate.
- Loading initial data for external_auth.
Installed 0 object(s) from 0 fixture(s)
DEBUG:django.db.backends:(0.003) SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC; args=()
Running migrations for oauth2:
- Nothing to migrate.
- Loading initial data for oauth2.
Installed 0 object(s) from 0 fixture(s)
DEBUG:django.db.backends:(0.003) SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC; args=()
Running migrations for oauth2_provider:
- Nothing to migrate.
- Loading initial data for oauth2_provider.
Installed 0 object(s) from 0 fixture(s)
DEBUG:django.db.backends:(0.003) SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC; args=()
Running migrations for wiki:
- Nothing to migrate.
- Loading initial data for wiki.
Installed 0 object(s) from 0 fixture(s)
DEBUG:django.db.backends:(0.003) SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC; args=()
Running migrations for django_notify:
- Nothing to migrate.
- Loading initial data for django_notify.
Installed 0 object(s) from 0 fixture(s)
DEBUG:django.db.backends:(0.003) SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC; args=()
Running migrations for notifications:
- Nothing to migrate.
- Loading initial data for notifications.
Installed 0 object(s) from 0 fixture(s)
DEBUG:django.db.backends:(0.003) SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC; args=()
Running migrations for foldit:
- Nothing to migrate.
- Loading initial data for foldit.
Installed 0 object(s) from 0 fixture(s)
DEBUG:django.db.backends:(0.004) SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC; args=()
Running migrations for django_comment_client:
- Nothing to migrate.
- Loading initial data for django_comment_client.
Installed 0 object(s) from 0 fixture(s)
DEBUG:django.db.backends:(0.004) SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC; args=()
Running migrations for django_comment_common:
- Nothing to migrate.
- Loading initial data for django_comment_common.
Installed 0 object(s) from 0 fixture(s)
DEBUG:django.db.backends:(0.003) SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC; args=()
Running migrations for notes:
- Nothing to migrate.
- Loading initial data for notes.
Installed 0 object(s) from 0 fixture(s)
DEBUG:django.db.backends:(0.004) SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC; args=()
Running migrations for splash:
- Nothing to migrate.
- Loading initial data for splash.
Installed 0 object(s) from 0 fixture(s)
DEBUG:django.db.backends:(0.003) SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC; args=()
Running migrations for user_api:
- Nothing to migrate.
- Loading initial data for user_api.
Installed 0 object(s) from 0 fixture(s)
DEBUG:django.db.backends:(0.005) SELECT "south_migrationhistory"."id", "south_migrationhistory"."app_name", "south_migrationhistory"."migration", "south_migrationhistory"."applied" FROM "south_migrationhistory" WHERE "south_migrationhistory"."applied" IS NOT NULL ORDER BY "south_migrationhistory"."applied" ASC; args=()
Running migrations for shoppingcart:
- Migrating forwards to 0027_add_invoice_history.
> shoppingcart:0012_auto__del_field_courseregistrationcode_transaction_group_name__del_fie
DEBUG:django.db.backends:(0.002) CREATE TABLE ROLLBACK_TEST (X INT); args=()
DEBUG:django.db.backends:(0.000) INSERT INTO ROLLBACK_TEST (X) VALUES (8); args=()
DEBUG:django.db.backends:(0.000) SELECT COUNT(X) FROM ROLLBACK_TEST; args=()
DEBUG:django.db.backends:(0.001) DROP TABLE ROLLBACK_TEST; args=()
DEBUG:django.db.backends:(0.001) CREATE TABLE STDDEV_TEST (X INT); args=()
DEBUG:django.db.backends:(0.000) SELECT STDDEV(*) FROM STDDEV_TEST; args=()
DEBUG:django.db.backends:(0.001) DROP TABLE STDDEV_TEST; args=()
DEBUG:django.db.backends:(0.001) CREATE TABLE DDL_TRANSACTION_TEST (X INT); args=()
DEBUG:django.db.backends:(0.000) CREATE TABLE DDL_TRANSACTION_TEST (X INT); args=()
DEBUG:django.db.backends:(0.001) DROP TABLE DDL_TRANSACTION_TEST; args=()
Traceback (most recent call last):
File "manage.py", line 116, in <module>
execute_from_command_line([sys.argv[0]] + django_args)
File "/Users/db/.virtualenvs/edx-platform/lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
utility.execute()
File "/Users/db/.virtualenvs/edx-platform/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/db/.virtualenvs/edx-platform/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv
self.execute(*args, **options.__dict__)
File "/Users/db/.virtualenvs/edx-platform/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute
output = self.handle(*args, **options)
File "/Users/db/.virtualenvs/edx-platform/lib/python2.7/site-packages/django/core/management/base.py", line 371, in handle
return self.handle_noargs(**options)
File "/Users/db/.virtualenvs/edx-platform/lib/python2.7/site-packages/south/management/commands/syncdb.py", line 103, in handle_noargs
management.call_command('migrate', **options)
File "/Users/db/.virtualenvs/edx-platform/lib/python2.7/site-packages/django/core/management/__init__.py", line 150, in call_command
return klass.execute(*args, **defaults)
File "/Users/db/.virtualenvs/edx-platform/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute
output = self.handle(*args, **options)
File "/Users/db/.virtualenvs/edx-platform/lib/python2.7/site-packages/south/management/commands/migrate.py", line 111, in handle
ignore_ghosts = ignore_ghosts,
File "/Users/db/.virtualenvs/edx-platform/lib/python2.7/site-packages/south/migration/__init__.py", line 220, in migrate_app
success = migrator.migrate_many(target, workplan, database)
File "/Users/db/.virtualenvs/edx-platform/lib/python2.7/site-packages/south/migration/migrators.py", line 256, in migrate_many
result = migrator.__class__.migrate_many(migrator, target, migrations, database)
File "/Users/db/.virtualenvs/edx-platform/lib/python2.7/site-packages/south/migration/migrators.py", line 331, in migrate_many
result = self.migrate(migration, database)
File "/Users/db/.virtualenvs/edx-platform/lib/python2.7/site-packages/south/migration/migrators.py", line 133, in migrate
result = self.run(migration, database)
File "/Users/db/.virtualenvs/edx-platform/lib/python2.7/site-packages/south/migration/migrators.py", line 113, in run
dry_run.run_migration(migration, database)
File "/Users/db/.virtualenvs/edx-platform/lib/python2.7/site-packages/south/migration/migrators.py", line 192, in run_migration
self._run_migration(migration)
File "/Users/db/.virtualenvs/edx-platform/lib/python2.7/site-packages/south/migration/migrators.py", line 178, in _run_migration
raise exceptions.FailedDryRun(migration, sys.exc_info())
south.exceptions.FailedDryRun: ! Error found during dry run of '0012_auto__del_field_courseregistrationcode_transaction_group_name__del_fie'! Aborting.
Traceback (most recent call last):
File "/Users/db/.virtualenvs/edx-platform/lib/python2.7/site-packages/south/migration/migrators.py", line 175, in _run_migration
migration_function()
File "/Users/db/.virtualenvs/edx-platform/lib/python2.7/site-packages/south/migration/migrators.py", line 60, in <lambda>
return (lambda: direction(orm))
File "/Users/db/dev/edx-platform/lms/djangoapps/shoppingcart/migrations/0012_auto__del_field_courseregistrationcode_transaction_group_name__del_fie.py", line 34, in forwards
keep_default=False)
File "/Users/db/.virtualenvs/edx-platform/lib/python2.7/site-packages/south/db/sqlite3.py", line 35, in add_column
field_default = "'%s'" % field.get_db_prep_save(default, connection=self._get_connection())
File "/Users/db/.virtualenvs/edx-platform/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 292, in get_db_prep_save
prepared=False)
File "/Users/db/.virtualenvs/edx-platform/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 284, in get_db_prep_value
value = self.get_prep_value(value)
File "/Users/db/dev/edx-platform/common/djangoapps/xmodule_django/models.py", line 125, in get_prep_value
assert isinstance(value, self.KEY_CLASS), "%s is not an instance of %s" % (value, self.KEY_CLASS)
AssertionError: is not an instance of <class 'opaque_keys.edx.keys.CourseKey'>
Captured Task Output:
---------------------
---> pavelib.servers.update_db
---> pavelib.prereqs.install_prereqs
---> pavelib.prereqs.install_ruby_prereqs
---> pavelib.prereqs.install_node_prereqs
---> pavelib.prereqs.install_python_prereqs
pip install -q --exists-action w -r requirements/edx/pre.txt
pip install -q --exists-action w -r requirements/edx/github.txt
pip install -q --exists-action w -r requirements/edx/local.txt
pip install -q --exists-action w -r requirements/edx/base.txt
pip install -q --exists-action w -r requirements/edx/post.txt
python manage.py lms --settings=dev syncdb --migrate --traceback --pythonpath=.
Build failed running pavelib.servers.update_db: Subprocess return code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment