{"action":"created","issue":{"url":"https://api.github.com/repos/graik/rotmic/issues/23","labels_url":"https://api.github.com/repos/graik/rotmic/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/graik/rotmic/issues/23/comments","events_url":"https://api.github.com/repos/graik/rotmic/issues/23/events","html_url":"https://github.com/graik/rotmic/issues/23","id":109646132,"number":23,"title":"loading example test_users.json fails on new dev server","user":{"login":"graik","id":1862877,"avatar_url":"https://avatars.githubusercontent.com/u/1862877?v=3","gravatar_id":"","url":"https://api.github.com/users/graik","html_url":"https://github.com/graik","followers_url":"https://api.github.com/users/graik/followers","following_url":"https://api.github.com/users/graik/following{/other_user}","gists_url":"https://api.github.com/users/graik/gists{/gist_id}","starred_url":"https://api.github.com/users/graik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graik/subscriptions","organizations_url":"https://api.github.com/users/graik/orgs","repos_url":"https://api.github.com/users/graik/repos","events_url":"https://api.github.com/users/graik/events{/privacy}","received_events_url":"https://api.github.com/users/graik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/graik/rotmic/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-03T21:11:12Z","updated_at":"2015-10-03T22:01:46Z","closed_at":null,"body":"following dev server setup instructions on pythonanywhere fails here:\r\n    ./manage.py loaddata rotmic/fixtures/test_users.json\r\n\r\n    django.db.utils.IntegrityError: Problem installing fixture '/home/raik/rotmicdjango/rotmic/fixtures/test_users.json': Could not load auth.Permission(pk=16): UNIQUE constraint failed: auth_permission.content_type_id, auth_permission.codename"},"comment":{"url":"https://api.github.com/repos/graik/rotmic/issues/comments/145293706","html_url":"https://github.com/graik/rotmic/issues/23#issuecomment-145293706","issue_url":"https://api.github.com/repos/graik/rotmic/issues/23","id":145293706,"user":{"login":"graik","id":1862877,"avatar_url":"https://avatars.githubusercontent.com/u/1862877?v=3","gravatar_id":"","url":"https://api.github.com/users/graik","html_url":"https://github.com/graik","followers_url":"https://api.github.com/users/graik/followers","following_url":"https://api.github.com/users/graik/following{/other_user}","gists_url":"https://api.github.com/users/graik/gists{/gist_id}","starred_url":"https://api.github.com/users/graik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graik/subscriptions","organizations_url":"https://api.github.com/users/graik/orgs","repos_url":"https://api.github.com/users/graik/repos","events_url":"https://api.github.com/users/graik/events{/privacy}","received_events_url":"https://api.github.com/users/graik/received_events","type":"User","site_admin":false},"created_at":"2015-10-03T22:01:46Z","updated_at":"2015-10-03T22:01:46Z","body":"This seems to be a pecularity of sqlite and this particular django version plus the local time zone setting. The following seems to fix it:\r\n\r\n1. in .bashrc: `export TZ=\"US/Eastern\"`\r\n2. in settings.py: `TIME_ZONE = 'US/Eastern'`\r\n\r\nWill be fixed in the PythonAnywhere branch."}}