{"action":"opened","issue":{"url":"https://api.github.com/repos/nijel/weblate/issues/752","labels_url":"https://api.github.com/repos/nijel/weblate/issues/752/labels{/name}","comments_url":"https://api.github.com/repos/nijel/weblate/issues/752/comments","events_url":"https://api.github.com/repos/nijel/weblate/issues/752/events","html_url":"https://github.com/nijel/weblate/issues/752","id":85898452,"number":752,"title":"Migration problem","user":{"login":"Mikanoshi","id":5113439,"avatar_url":"https://avatars.githubusercontent.com/u/5113439?v=3","gravatar_id":"","url":"https://api.github.com/users/Mikanoshi","html_url":"https://github.com/Mikanoshi","followers_url":"https://api.github.com/users/Mikanoshi/followers","following_url":"https://api.github.com/users/Mikanoshi/following{/other_user}","gists_url":"https://api.github.com/users/Mikanoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/Mikanoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mikanoshi/subscriptions","organizations_url":"https://api.github.com/users/Mikanoshi/orgs","repos_url":"https://api.github.com/users/Mikanoshi/repos","events_url":"https://api.github.com/users/Mikanoshi/events{/privacy}","received_events_url":"https://api.github.com/users/Mikanoshi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-07T12:30:59Z","updated_at":"2015-06-07T12:30:59Z","closed_at":null,"body":"```\r\n$ python manage.py makemigrations\r\nNo changes detected\r\n$ python manage.py migrate\r\nOperations to perform:\r\n  Synchronize unmigrated apps: staticfiles, admindocs, messages, sitemaps, weblate, crispy_forms\r\n  Apply all migrations: lang, sessions, admin, sites, auth, default, contenttypes, accounts, trans\r\nSynchronizing apps without migrations:\r\n  Creating tables...\r\n    Running deferred SQL...\r\n  Installing custom SQL...\r\nRunning migrations:\r\n  Rendering model states... DONE\r\n  Applying accounts.0009_auto_20150607_1424... OK\r\n  Applying lang.0002_auto_20150607_1424... OK\r\n  Applying trans.0031_auto_20150415_1339...Traceback (most recent call last):\r\n  File \"manage.py\", line 31, in <module>\r\n    execute_from_command_line(sys.argv)\r\n  File \"/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py\", line 338, in execute_from_command_line\r\n    utility.execute()\r\n  File \"/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py\", line 330, in execute\r\n    self.fetch_command(subcommand).run_from_argv(self.argv)\r\n  File \"/usr/local/lib/python2.7/site-packages/django/core/management/base.py\", line 390, in run_from_argv\r\n    self.execute(*args, **cmd_options)\r\n  File \"/usr/local/lib/python2.7/site-packages/django/core/management/base.py\", line 441, in execute\r\n    output = self.handle(*args, **options)\r\n  File \"/usr/local/lib/python2.7/site-packages/django/core/management/commands/migrate.py\", line 221, in handle\r\n    executor.migrate(targets, plan, fake=fake, fake_initial=fake_initial)\r\n  File \"/usr/local/lib/python2.7/site-packages/django/db/migrations/executor.py\", line 110, in migrate\r\n    self.apply_migration(states[migration], migration, fake=fake, fake_initial=fake_initial)\r\n  File \"/usr/local/lib/python2.7/site-packages/django/db/migrations/executor.py\", line 147, in apply_migration\r\n    state = migration.apply(state, schema_editor)\r\n  File \"/usr/local/lib/python2.7/site-packages/django/db/migrations/migration.py\", line 112, in apply\r\n    operation.database_forwards(self.app_label, schema_editor, old_state, project_state)\r\n  File \"/usr/local/lib/python2.7/site-packages/django/db/migrations/operations/special.py\", line 183, in database_forwards\r\n    self.code(from_state.apps, schema_editor)\r\n  File \"/home/toolbox/data/www/l10n.sensetoolbox.com/weblate/trans/migrations/0031_auto_20150415_1339.py\", line 19, in fill_in_subproject\r\n    elif change.translation:\r\n  File \"/usr/local/lib/python2.7/site-packages/django/db/models/fields/related.py\", line 602, in __get__\r\n    rel_obj = qs.get()\r\n  File \"/usr/local/lib/python2.7/site-packages/django/db/models/query.py\", line 334, in get\r\n    self.model._meta.object_name\r\n__fake__.DoesNotExist: Translation matching query does not exist.\r\n```"}}