{"action":"created","issue":{"url":"https://api.github.com/repos/savoirfairelinux/sous-chef/issues/474","repository_url":"https://api.github.com/repos/savoirfairelinux/sous-chef","labels_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/issues/474/labels{/name}","comments_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/issues/474/comments","events_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/issues/474/events","html_url":"https://github.com/savoirfairelinux/sous-chef/issues/474","id":179331002,"number":474,"title":"Loading initial data for \"delivery\" doesn't work.","user":{"login":"madmath","id":499162,"avatar_url":"https://avatars.githubusercontent.com/u/499162?v=3","gravatar_id":"","url":"https://api.github.com/users/madmath","html_url":"https://github.com/madmath","followers_url":"https://api.github.com/users/madmath/followers","following_url":"https://api.github.com/users/madmath/following{/other_user}","gists_url":"https://api.github.com/users/madmath/gists{/gist_id}","starred_url":"https://api.github.com/users/madmath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madmath/subscriptions","organizations_url":"https://api.github.com/users/madmath/orgs","repos_url":"https://api.github.com/users/madmath/repos","events_url":"https://api.github.com/users/madmath/events{/privacy}","received_events_url":"https://api.github.com/users/madmath/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-26T20:37:36Z","updated_at":"2016-10-12T20:05:32Z","closed_at":null,"body":"### Expected Behaviour\r\n\r\nLoading the data works\r\n\r\n### Actual Behaviour\r\n\r\n```\r\nroot@16f5fa7f0056:/code/src# python3 manage.py loaddata delivery_initial_data\r\nTraceback (most recent call last):\r\n  File \"manage.py\", line 10, in <module>\r\n    execute_from_command_line(sys.argv)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/core/management/__init__.py\", line 367, in execute_from_command_line\r\n    utility.execute()\r\n  File \"/usr/local/lib/python3.5/site-packages/django/core/management/__init__.py\", line 359, in execute\r\n    self.fetch_command(subcommand).run_from_argv(self.argv)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/core/management/base.py\", line 305, in run_from_argv\r\n    self.execute(*args, **cmd_options)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/core/management/base.py\", line 356, in execute\r\n    output = self.handle(*args, **options)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/core/management/commands/loaddata.py\", line 64, in handle\r\n    self.loaddata(fixture_labels)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/core/management/commands/loaddata.py\", line 110, in loaddata\r\n    connection.check_constraints(table_names=table_names)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/backends/mysql/base.py\", line 355, in check_constraints\r\n    bad_row[1], referenced_table_name, referenced_column_name,\r\ndjango.db.utils.IntegrityError: Problem installing fixtures: The row in table 'auth_permission' with primary key '94' has an invalid foreign key: auth_permission.content_type_id contains a value '32' that does not have a corresponding value in django_content_type.id.\r\n```\r\n\r\n### Steps to reproduce\r\n\r\n* Start from scratch\r\n* do all migrations, create super user, etc.\r\n* ` python3 manage.py loaddata delivery_initial_data` fails as shown above.\r\n\r\n@manumilou \r\n"},"comment":{"url":"https://api.github.com/repos/savoirfairelinux/sous-chef/issues/comments/253322959","html_url":"https://github.com/savoirfairelinux/sous-chef/issues/474#issuecomment-253322959","issue_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/issues/474","id":253322959,"user":{"login":"philippemouchel","id":3852750,"avatar_url":"https://avatars.githubusercontent.com/u/3852750?v=3","gravatar_id":"","url":"https://api.github.com/users/philippemouchel","html_url":"https://github.com/philippemouchel","followers_url":"https://api.github.com/users/philippemouchel/followers","following_url":"https://api.github.com/users/philippemouchel/following{/other_user}","gists_url":"https://api.github.com/users/philippemouchel/gists{/gist_id}","starred_url":"https://api.github.com/users/philippemouchel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philippemouchel/subscriptions","organizations_url":"https://api.github.com/users/philippemouchel/orgs","repos_url":"https://api.github.com/users/philippemouchel/repos","events_url":"https://api.github.com/users/philippemouchel/events{/privacy}","received_events_url":"https://api.github.com/users/philippemouchel/received_events","type":"User","site_admin":false},"created_at":"2016-10-12T20:05:32Z","updated_at":"2016-10-12T20:05:32Z","body":"Just to confirm you're not alone. Same error this morning when re-installing project."}}
{"actor":{"display_login":"philippemouchel"}}