{"action":"closed","issue":{"url":"https://api.github.com/repos/jjkester/django-auditlog/issues/69","repository_url":"https://api.github.com/repos/jjkester/django-auditlog","labels_url":"https://api.github.com/repos/jjkester/django-auditlog/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/jjkester/django-auditlog/issues/69/comments","events_url":"https://api.github.com/repos/jjkester/django-auditlog/issues/69/events","html_url":"https://github.com/jjkester/django-auditlog/issues/69","id":173071069,"number":69,"title":"Migration fails with unknown migration directory","user":{"login":"robguttman","id":338935,"avatar_url":"https://avatars.githubusercontent.com/u/338935?v=3","gravatar_id":"","url":"https://api.github.com/users/robguttman","html_url":"https://github.com/robguttman","followers_url":"https://api.github.com/users/robguttman/followers","following_url":"https://api.github.com/users/robguttman/following{/other_user}","gists_url":"https://api.github.com/users/robguttman/gists{/gist_id}","starred_url":"https://api.github.com/users/robguttman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robguttman/subscriptions","organizations_url":"https://api.github.com/users/robguttman/orgs","repos_url":"https://api.github.com/users/robguttman/repos","events_url":"https://api.github.com/users/robguttman/events{/privacy}","received_events_url":"https://api.github.com/users/robguttman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-24T22:16:14Z","updated_at":"2016-10-13T11:49:16Z","closed_at":"2016-10-13T11:49:16Z","body":"On a new database the migrate fails as follows:\r\n```\r\n# python manage.py migrate \r\nTraceback (most recent call last):\r\n  File \"manage.py\", line 8, in <module>\r\n    execute_from_command_line(sys.argv)\r\n  File \"/usr/local/lib/python2.7/dist-packages/Django-1.8.7-py2.7.egg/django/core/management/__init__.py\", line 354, in execute_from_command_line\r\n    utility.execute()\r\n  File \"/usr/local/lib/python2.7/dist-packages/Django-1.8.7-py2.7.egg/django/core/management/__init__.py\", line 346, in execute\r\n    self.fetch_command(subcommand).run_from_argv(self.argv)\r\n  File \"/usr/local/lib/python2.7/dist-packages/Django-1.8.7-py2.7.egg/django/core/management/base.py\", line 394, in run_from_argv\r\n    self.execute(*args, **cmd_options)\r\n  File \"/usr/local/lib/python2.7/dist-packages/Django-1.8.7-py2.7.egg/django/core/management/base.py\", line 445, in execute\r\n    output = self.handle(*args, **options)\r\n  File \"/usr/local/lib/python2.7/dist-packages/Django-1.8.7-py2.7.egg/django/core/management/commands/migrate.py\", line 93, in handle\r\n    executor = MigrationExecutor(connection, self.migration_progress_callback)\r\n  File \"/usr/local/lib/python2.7/dist-packages/Django-1.8.7-py2.7.egg/django/db/migrations/executor.py\", line 19, in __init__\r\n    self.loader = MigrationLoader(self.connection)\r\n  File \"/usr/local/lib/python2.7/dist-packages/Django-1.8.7-py2.7.egg/django/db/migrations/loader.py\", line 47, in __init__\r\n    self.build_graph()\r\n  File \"/usr/local/lib/python2.7/dist-packages/Django-1.8.7-py2.7.egg/django/db/migrations/loader.py\", line 185, in build_graph\r\n    self.load_disk()\r\n  File \"/usr/local/lib/python2.7/dist-packages/Django-1.8.7-py2.7.egg/django/db/migrations/loader.py\", line 93, in load_disk\r\n    for name in os.listdir(directory):\r\nOSError: [Errno 20] Not a directory: '/usr/local/lib/python2.7/dist-packages/django_auditlog-0.3.3-py2.7.egg/auditlog/migrations'\r\n```\r\n\r\nMy workaround was to add `zip_safe=False` to setup.py and re-install.\r\n"}}
{"actor":{"display_login":"jjkester"}}