{"action":"opened","issue":{"url":"https://api.github.com/repos/theatlantic/django-south/issues/2","repository_url":"https://api.github.com/repos/theatlantic/django-south","labels_url":"https://api.github.com/repos/theatlantic/django-south/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/theatlantic/django-south/issues/2/comments","events_url":"https://api.github.com/repos/theatlantic/django-south/issues/2/events","html_url":"https://github.com/theatlantic/django-south/issues/2","id":184636466,"number":2,"title":"Cannot import name generic","user":{"login":"urjan","id":8711208,"avatar_url":"https://avatars.githubusercontent.com/u/8711208?v=3","gravatar_id":"","url":"https://api.github.com/users/urjan","html_url":"https://github.com/urjan","followers_url":"https://api.github.com/users/urjan/followers","following_url":"https://api.github.com/users/urjan/following{/other_user}","gists_url":"https://api.github.com/users/urjan/gists{/gist_id}","starred_url":"https://api.github.com/users/urjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urjan/subscriptions","organizations_url":"https://api.github.com/users/urjan/orgs","repos_url":"https://api.github.com/users/urjan/repos","events_url":"https://api.github.com/users/urjan/events{/privacy}","received_events_url":"https://api.github.com/users/urjan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-22T15:29:36Z","updated_at":"2016-10-22T15:29:36Z","closed_at":null,"body":"Hi,\r\nI'm trying to deploy a django app. MY django version is 1.9.10 and I'm getting an error beacuse one of the scripts in the south library uses 'generic'. I'm not sure how to procedd with it and below is my error log. Please help!\r\n\r\n> [Sat Oct 22 15:16:25.464782 2016] [wsgi:warn] [pid 4628:tid 140265021044608] mod_wsgi: Compiled for Python/2.7.11.\r\n> [Sat Oct 22 15:16:25.464841 2016] [wsgi:warn] [pid 4628:tid 140265021044608] mod_wsgi: Runtime using Python/2.7.12.\r\n> [Sat Oct 22 15:16:25.466405 2016] [mpm_event:notice] [pid 4628:tid 140265021044608] AH00489: Apache/2.4.18 (Ubuntu) mod_wsgi/4.3.0 Python/2.7.12 configured -- resuming normal operations\r\n> [Sat Oct 22 15:16:25.466495 2016] [core:notice] [pid 4628:tid 140265021044608] AH00094: Command line: '/usr/sbin/apache2'\r\n> [Sat Oct 22 11:16:30.667924 2016] [wsgi:error] [pid 8544:tid 140264748304128] [client 73.30.181.124:51381] mod_wsgi (pid=8544): Target WSGI script '/home/urja/arcana-apt/arcana/wsgi.py' cannot be loaded as Python module.\r\n> [Sat Oct 22 11:16:30.667996 2016] [wsgi:error] [pid 8544:tid 140264748304128] [client 73.30.181.124:51381] mod_wsgi (pid=8544): Exception occurred processing WSGI script '/home/urja/arcana-apt/arcana/wsgi.py'.\r\n> [Sat Oct 22 11:16:30.668037 2016] [wsgi:error] [pid 8544:tid 140264748304128] [client 73.30.181.124:51381] Traceback (most recent call last):\r\n> [Sat Oct 22 11:16:30.668077 2016] [wsgi:error] [pid 8544:tid 140264748304128] [client 73.30.181.124:51381]   File \"/home/urja/arcana-apt/arcana/wsgi.py\", line 59, in <module>\r\n> [Sat Oct 22 11:16:30.668205 2016] [wsgi:error] [pid 8544:tid 140264748304128] [client 73.30.181.124:51381]     application = get_wsgi_application()\r\n> [Sat Oct 22 11:16:30.668233 2016] [wsgi:error] [pid 8544:tid 140264748304128] [client 73.30.181.124:51381]   File \"/usr/local/lib/python2.7/dist-packages/django/core/wsgi.py\", line 13, in get_wsgi_application\r\n> [Sat Oct 22 11:16:30.668322 2016] [wsgi:error] [pid 8544:tid 140264748304128] [client 73.30.181.124:51381]     django.setup()\r\n> [Sat Oct 22 11:16:30.668350 2016] [wsgi:error] [pid 8544:tid 140264748304128] [client 73.30.181.124:51381]   File \"/usr/local/lib/python2.7/dist-packages/django/__init__.py\", line 18, in setup\r\n> [Sat Oct 22 11:16:30.668431 2016] [wsgi:error] [pid 8544:tid 140264748304128] [client 73.30.181.124:51381]     apps.populate(settings.INSTALLED_APPS)\r\n> [Sat Oct 22 11:16:30.668463 2016] [wsgi:error] [pid 8544:tid 140264748304128] [client 73.30.181.124:51381]   File \"/usr/local/lib/python2.7/dist-packages/django/apps/registry.py\", line 108, in populate\r\n> [Sat Oct 22 11:16:30.668714 2016] [wsgi:error] [pid 8544:tid 140264748304128] [client 73.30.181.124:51381]     app_config.import_models(all_models)\r\n> [Sat Oct 22 11:16:30.668742 2016] [wsgi:error] [pid 8544:tid 140264748304128] [client 73.30.181.124:51381]   File \"/usr/local/lib/python2.7/dist-packages/django/apps/config.py\", line 202, in import_models\r\n> [Sat Oct 22 11:16:30.668904 2016] [wsgi:error] [pid 8544:tid 140264748304128] [client 73.30.181.124:51381]     self.models_module = import_module(models_module_name)\r\n> [Sat Oct 22 11:16:30.668930 2016] [wsgi:error] [pid 8544:tid 140264748304128] [client 73.30.181.124:51381]   File \"/usr/lib/python2.7/importlib/__init__.py\", line 37, in import_module\r\n> [Sat Oct 22 11:16:30.669011 2016] [wsgi:error] [pid 8544:tid 140264748304128] [client 73.30.181.124:51381]     __import__(name)\r\n> [Sat Oct 22 11:16:30.669035 2016] [wsgi:error] [pid 8544:tid 140264748304128] [client 73.30.181.124:51381]   File \"/home/urja/arcana-apt/base/models.py\", line 4, in <module>\r\n> [Sat Oct 22 11:16:30.669953 2016] [wsgi:error] [pid 8544:tid 140264748304128] [client 73.30.181.124:51381]     from mptt.models import MPTTModel, TreeForeignKey\r\n> [Sat Oct 22 11:16:30.669982 2016] [wsgi:error] [pid 8544:tid 140264748304128] [client 73.30.181.124:51381]   File \"/usr/local/lib/python2.7/dist-packages/mptt/models.py\", line 14, in <module>\r\n> [Sat Oct 22 11:16:30.670481 2016] [wsgi:error] [pid 8544:tid 140264748304128] [client 73.30.181.124:51381]     from mptt.fields import TreeForeignKey, TreeOneToOneField, TreeManyToManyField\r\n> [Sat Oct 22 11:16:30.670512 2016] [wsgi:error] [pid 8544:tid 140264748304128] [client 73.30.181.124:51381]   File \"/usr/local/lib/python2.7/dist-packages/mptt/fields.py\", line 44, in <module>\r\n> [Sat Oct 22 11:16:30.670603 2016] [wsgi:error] [pid 8544:tid 140264748304128] [client 73.30.181.124:51381]     from south.modelsinspector import add_introspection_rules\r\n> [Sat Oct 22 11:16:30.670648 2016] [wsgi:error] [pid 8544:tid 140264748304128] [client 73.30.181.124:51381]   File \"/usr/local/lib/python2.7/dist-packages/south/modelsinspector.py\", line 20, in <module>\r\n> [Sat Oct 22 11:16:30.670878 2016] [wsgi:error] [pid 8544:tid 140264748304128] [client 73.30.181.124:51381]     from django.contrib.contenttypes import generic\r\n> [Sat Oct 22 11:16:30.670930 2016] [wsgi:error] [pid 8544:tid 140264748304128] [client 73.30.181.124:51381] ImportError: cannot import name generic"}}
{"actor":{"display_login":"urjan"}}