{"action":"closed","issue":{"url":"https://api.github.com/repos/muccg/rdrf/issues/282","repository_url":"https://api.github.com/repos/muccg/rdrf","labels_url":"https://api.github.com/repos/muccg/rdrf/issues/282/labels{/name}","comments_url":"https://api.github.com/repos/muccg/rdrf/issues/282/comments","events_url":"https://api.github.com/repos/muccg/rdrf/issues/282/events","html_url":"https://github.com/muccg/rdrf/issues/282","id":183327591,"number":282,"title":"reexport_test_zips fails with error","user":{"login":"id2359","id":1163895,"avatar_url":"https://avatars.githubusercontent.com/u/1163895?v=3","gravatar_id":"","url":"https://api.github.com/users/id2359","html_url":"https://github.com/id2359","followers_url":"https://api.github.com/users/id2359/followers","following_url":"https://api.github.com/users/id2359/following{/other_user}","gists_url":"https://api.github.com/users/id2359/gists{/gist_id}","starred_url":"https://api.github.com/users/id2359/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/id2359/subscriptions","organizations_url":"https://api.github.com/users/id2359/orgs","repos_url":"https://api.github.com/users/id2359/repos","events_url":"https://api.github.com/users/id2359/events{/privacy}","received_events_url":"https://api.github.com/users/id2359/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/muccg/rdrf/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"sztamas","id":973139,"avatar_url":"https://avatars.githubusercontent.com/u/973139?v=3","gravatar_id":"","url":"https://api.github.com/users/sztamas","html_url":"https://github.com/sztamas","followers_url":"https://api.github.com/users/sztamas/followers","following_url":"https://api.github.com/users/sztamas/following{/other_user}","gists_url":"https://api.github.com/users/sztamas/gists{/gist_id}","starred_url":"https://api.github.com/users/sztamas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sztamas/subscriptions","organizations_url":"https://api.github.com/users/sztamas/orgs","repos_url":"https://api.github.com/users/sztamas/repos","events_url":"https://api.github.com/users/sztamas/events{/privacy}","received_events_url":"https://api.github.com/users/sztamas/received_events","type":"User","site_admin":false},"assignees":[{"login":"sztamas","id":973139,"avatar_url":"https://avatars.githubusercontent.com/u/973139?v=3","gravatar_id":"","url":"https://api.github.com/users/sztamas","html_url":"https://github.com/sztamas","followers_url":"https://api.github.com/users/sztamas/followers","following_url":"https://api.github.com/users/sztamas/following{/other_user}","gists_url":"https://api.github.com/users/sztamas/gists{/gist_id}","starred_url":"https://api.github.com/users/sztamas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sztamas/subscriptions","organizations_url":"https://api.github.com/users/sztamas/orgs","repos_url":"https://api.github.com/users/sztamas/repos","events_url":"https://api.github.com/users/sztamas/events{/privacy}","received_events_url":"https://api.github.com/users/sztamas/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/muccg/rdrf/milestones/16","html_url":"https://github.com/muccg/rdrf/milestones/1.7.0","labels_url":"https://api.github.com/repos/muccg/rdrf/milestones/16/labels","id":2064238,"number":16,"title":"1.7.0","description":"","creator":{"login":"id2359","id":1163895,"avatar_url":"https://avatars.githubusercontent.com/u/1163895?v=3","gravatar_id":"","url":"https://api.github.com/users/id2359","html_url":"https://github.com/id2359","followers_url":"https://api.github.com/users/id2359/followers","following_url":"https://api.github.com/users/id2359/following{/other_user}","gists_url":"https://api.github.com/users/id2359/gists{/gist_id}","starred_url":"https://api.github.com/users/id2359/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/id2359/subscriptions","organizations_url":"https://api.github.com/users/id2359/orgs","repos_url":"https://api.github.com/users/id2359/repos","events_url":"https://api.github.com/users/id2359/events{/privacy}","received_events_url":"https://api.github.com/users/id2359/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":7,"state":"open","created_at":"2016-10-12T07:26:42Z","updated_at":"2016-10-17T06:10:48Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-10-17T05:21:36Z","updated_at":"2016-10-17T06:10:48Z","closed_at":"2016-10-17T06:10:48Z","body":" Import type: Registry Definition and Data (registry)\r\n  Zipfile type: Registry Definition and Data (registry)\r\n  (also includes import types: 'Common Data Elements' (cdes), 'Reference Data' (refdata), 'Registry Definition' (registry_def))\r\n  WARNING: Schema difference detected between your registry and the export file.App(s): patients, rdrf, explorer, groups, genetic\r\n  Registry: Demyelinating Diseases Registry (dd v0.1.8)\r\n            Demyelinating Diseases \r\n  Exported at: 2016-10-06 19:24:19.851061\r\nFORCED THROUGH, despite WARNING: Schema difference detected between your registry and the export file. App(s) with different schema: patients, rdrf, explorer, groups, genetic\r\nImporting 4 datagroups\r\n    Importing data group 'Reference Data'\r\n        Importing model 'genetic.Gene'\r\nTraceback (most recent call last):\r\n  File \"/env/lib/python3.5/site-packages/django/db/backends/utils.py\", line 64, in execute\r\n    return self.cursor.execute(sql, params)\r\npsycopg2.ProgrammingError: relation \"genetic_gene\" does not exist\r\nLINE 1: SELECT COUNT(*) AS \"__count\" FROM \"genetic_gene\"\r\n                                          ^\r\n\r\n\r\nThe above exception was the direct cause of the following exception:\r\n\r\nTraceback (most recent call last):\r\n  File \"/env/bin/django-admin.py\", line 5, in <module>\r\n    management.execute_from_command_line()\r\n  File \"/env/lib/python3.5/site-packages/django/core/management/__init__.py\", line 367, in execute_from_command_line\r\n    utility.execute()\r\n  File \"/env/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 \"/env/lib/python3.5/site-packages/django/core/management/base.py\", line 294, in run_from_argv\r\n    self.execute(*args, **cmd_options)\r\n  File \"/env/lib/python3.5/site-packages/django/core/management/base.py\", line 345, in execute\r\n    output = self.handle(*args, **options)\r\n  File \"/app/rdrf/rdrf/management/commands/import.py\", line 33, in handle\r\n    import_zipfile(zipfile, import_type=import_type, verbose=verbose, simulate=simulate, force=force)\r\n  File \"/app/rdrf/rdrf/export_import/__init__.py\", line 41, in import_zipfile\r\n    indented_logs=indented_logs, simulate=simulate, force=force)\r\n  File \"/app/rdrf/rdrf/export_import/main_importers.py\", line 102, in do_import\r\n    importer.do_import()\r\n  File \"/app/rdrf/rdrf/export_import/main_importers.py\", line 226, in do_import\r\n    self.import_datagroups(get_meta_value(self.meta, 'data_groups'))\r\n  File \"/app/rdrf/rdrf/export_import/main_importers.py\", line 177, in import_datagroups\r\n    importer.do_import(data_group_meta, self.workdir, **options)\r\n  File \"/app/rdrf/rdrf/export_import/importers.py\", line 73, in do_import\r\n    self.import_models(datagroup_meta.get('models', []), workdir, **options)\r\n  File \"/app/rdrf/rdrf/export_import/importers.py\", line 47, in import_models\r\n    importer.do_import(model_meta, workdir, **options)\r\n  File \"/app/rdrf/rdrf/export_import/importers.py\", line 111, in do_import\r\n    self.check_no_data_in_table(model_name)\r\n  File \"/app/rdrf/rdrf/export_import/importers.py\", line 21, in wrapper\r\n    return checkfn(self, *args, **kwargs)\r\n  File \"/app/rdrf/rdrf/export_import/importers.py\", line 95, in check_no_data_in_table\r\n    if model.objects.count() > 0:\r\n  File \"/env/lib/python3.5/site-packages/django/db/models/manager.py\", line 85, in manager_method\r\n    return getattr(self.get_queryset(), name)(*args, **kwargs)\r\n  File \"/env/lib/python3.5/site-packages/django/db/models/query.py\", line 369, in count\r\n    return self.query.get_count(using=self.db)\r\n  File \"/env/lib/python3.5/site-packages/django/db/models/sql/query.py\", line 476, in get_count\r\n    number = obj.get_aggregation(using, ['__count'])['__count']\r\n  File \"/env/lib/python3.5/site-packages/django/db/models/sql/query.py\", line 457, in get_aggregation\r\n    result = compiler.execute_sql(SINGLE)\r\n  File \"/env/lib/python3.5/site-packages/django/db/models/sql/compiler.py\", line 835, in execute_sql\r\n    cursor.execute(sql, params)\r\n  File \"/env/lib/python3.5/site-packages/django/db/backends/utils.py\", line 79, in execute\r\n    return super(CursorDebugWrapper, self).execute(sql, params)\r\n  File \"/env/lib/python3.5/site-packages/django/db/backends/utils.py\", line 64, in execute\r\n    return self.cursor.execute(sql, params)\r\n  File \"/env/lib/python3.5/site-packages/django/db/utils.py\", line 94, in __exit__\r\n    six.reraise(dj_exc_type, dj_exc_value, traceback)\r\n  File \"/env/lib/python3.5/site-packages/django/utils/six.py\", line 685, in reraise\r\n    raise value.with_traceback(tb)\r\n  File \"/env/lib/python3.5/site-packages/django/db/backends/utils.py\", line 64, in execute\r\n    return self.cursor.execute(sql, params)\r\ndjango.db.utils.ProgrammingError: relation \"genetic_gene\" does not exist\r\nLINE 1: SELECT COUNT(*) AS \"__count\" FROM \"genetic_gene\"\r\n"}}
{"actor":{"display_login":"sztamas"}}