{"action":"closed","issue":{"url":"https://api.github.com/repos/crowdresearch/crowdsource-platform/issues/151","labels_url":"https://api.github.com/repos/crowdresearch/crowdsource-platform/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/crowdresearch/crowdsource-platform/issues/151/comments","events_url":"https://api.github.com/repos/crowdresearch/crowdsource-platform/issues/151/events","html_url":"https://github.com/crowdresearch/crowdsource-platform/issues/151","id":81529179,"number":151,"title":"Task search JSON fixtures are out of date","user":{"login":"mbernst","id":249285,"avatar_url":"https://avatars.githubusercontent.com/u/249285?v=3","gravatar_id":"","url":"https://api.github.com/users/mbernst","html_url":"https://github.com/mbernst","followers_url":"https://api.github.com/users/mbernst/followers","following_url":"https://api.github.com/users/mbernst/following{/other_user}","gists_url":"https://api.github.com/users/mbernst/gists{/gist_id}","starred_url":"https://api.github.com/users/mbernst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbernst/subscriptions","organizations_url":"https://api.github.com/users/mbernst/orgs","repos_url":"https://api.github.com/users/mbernst/repos","events_url":"https://api.github.com/users/mbernst/events{/privacy}","received_events_url":"https://api.github.com/users/mbernst/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-27T16:52:54Z","updated_at":"2015-06-04T14:18:07Z","closed_at":"2015-06-04T14:18:07Z","body":"This is in the readme: `python manage.py loaddata fixtures/neilTaskRankingData.json`\r\n\r\nBut results in:\r\nTraceback (most recent call last):\r\n\t  File \"manage.py\", line 10, in <module>\r\n\t    execute_from_command_line(sys.argv)\r\n\t  File \"/Library/Python/2.7/site-packages/django/core/management/__init__.py\", line 338, in execute_from_command_line\r\n\t    utility.execute()\r\n\t  File \"/Library/Python/2.7/site-packages/django/core/management/__init__.py\", line 330, in execute\r\n\t    self.fetch_command(subcommand).run_from_argv(self.argv)\r\n\t  File \"/Library/Python/2.7/site-packages/django/core/management/base.py\", line 390, in run_from_argv\r\n\t    self.execute(*args, **cmd_options)\r\n\t  File \"/Library/Python/2.7/site-packages/django/core/management/base.py\", line 441, in execute\r\n\t    output = self.handle(*args, **options)\r\n\t  File \"/Library/Python/2.7/site-packages/django/core/management/commands/loaddata.py\", line 60, in handle\r\n\t    self.loaddata(fixture_labels)\r\n\t  File \"/Library/Python/2.7/site-packages/django/core/management/commands/loaddata.py\", line 96, in loaddata\r\n\t    connection.check_constraints(table_names=table_names)\r\n\t  File \"/Library/Python/2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py\", line 221, in check_constraints\r\n\t    self.cursor().execute('SET CONSTRAINTS ALL IMMEDIATE')\r\n\t  File \"/Library/Python/2.7/site-packages/django/db/backends/utils.py\", line 79, in execute\r\n\t    return super(CursorDebugWrapper, self).execute(sql, params)\r\n\t  File \"/Library/Python/2.7/site-packages/django/db/backends/utils.py\", line 64, in execute\r\n\t    return self.cursor.execute(sql, params)\r\n\t  File \"/Library/Python/2.7/site-packages/django/db/utils.py\", line 97, in __exit__\r\n\t    six.reraise(dj_exc_type, dj_exc_value, traceback)\r\n\t  File \"/Library/Python/2.7/site-packages/django/db/backends/utils.py\", line 62, in execute\r\n\t    return self.cursor.execute(sql)\r\n\tdjango.db.utils.IntegrityError: Problem installing fixtures: insert or update on table \"crowdsourcing_userprofile\" violates foreign key constraint \"crowdsourcing_userprof_user_id_7592ae1f4a72d702_fk_auth_user_id\"\r\n\tDETAIL:  Key (user_id)=(2) is not present in table \"auth_user\".\r\n\r\nDid something change about the model?"}}