{"action":"opened","issue":{"url":"https://api.github.com/repos/hseritt/django-creater/issues/3","repository_url":"https://api.github.com/repos/hseritt/django-creater","labels_url":"https://api.github.com/repos/hseritt/django-creater/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/hseritt/django-creater/issues/3/comments","events_url":"https://api.github.com/repos/hseritt/django-creater/issues/3/events","html_url":"https://github.com/hseritt/django-creater/issues/3","id":151999023,"number":3,"title":"Script not quitting after MySQL module install when MySQL server is not installed","user":{"login":"hseritt","id":1748798,"avatar_url":"https://avatars.githubusercontent.com/u/1748798?v=3","gravatar_id":"","url":"https://api.github.com/users/hseritt","html_url":"https://github.com/hseritt","followers_url":"https://api.github.com/users/hseritt/followers","following_url":"https://api.github.com/users/hseritt/following{/other_user}","gists_url":"https://api.github.com/users/hseritt/gists{/gist_id}","starred_url":"https://api.github.com/users/hseritt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hseritt/subscriptions","organizations_url":"https://api.github.com/users/hseritt/orgs","repos_url":"https://api.github.com/users/hseritt/repos","events_url":"https://api.github.com/users/hseritt/events{/privacy}","received_events_url":"https://api.github.com/users/hseritt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-30T01:41:54Z","updated_at":"2016-04-30T01:41:54Z","closed_at":null,"body":"Get an error when we run django-creater.sh project without first having MySQL server installed:\r\n\r\n```bash\r\n _mysql.c:2680: error: ‘_mysql_ConnectionObject’ has no member named ‘open’\r\n    error: command 'gcc' failed with exit status 1\r\n    \r\n    ----------------------------------------\r\nCommand \"/root/.pyenv/versions/3.5.1/envs/myproject/bin/python3.5 -u -c \"import setuptools, tokenize;__file__='/tmp/pip-build-py487m5b/mysqlclient/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-g8ykn8uu-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/.pyenv/versions/3.5.1/envs/myproject/include/site/python3.5/mysqlclient\" failed with error code 1 in /tmp/pip-build-py487m5b/mysqlclient/\r\n```\r\n\r\nAfter this, of course, you're prompted for database settings while this should actually quit.\r\n\r\nSteps:\r\n\r\n. Do not install MySQL server before doing these.\r\n. Run ./django-creater project\r\n. Choose options for MySQL server.\r\n\r\nObserved:\r\n\r\nSee stacktrace above\r\n\r\nExpected:\r\n\r\nScript should just quit when this occurs."}}