{"action":"created","issue":{"url":"https://api.github.com/repos/Dallinger/Dallinger/issues/1321","repository_url":"https://api.github.com/repos/Dallinger/Dallinger","labels_url":"https://api.github.com/repos/Dallinger/Dallinger/issues/1321/labels{/name}","comments_url":"https://api.github.com/repos/Dallinger/Dallinger/issues/1321/comments","events_url":"https://api.github.com/repos/Dallinger/Dallinger/issues/1321/events","html_url":"https://github.com/Dallinger/Dallinger/issues/1321","id":354137696,"node_id":"MDU6SXNzdWUzNTQxMzc2OTY=","number":1321,"title":"Error with deploying on Heroku:  KeyError: 'smtp_host is not a valid configuration key'","user":{"login":"mmosleh","id":22106123,"node_id":"MDQ6VXNlcjIyMTA2MTIz","avatar_url":"https://avatars0.githubusercontent.com/u/22106123?v=4","gravatar_id":"","url":"https://api.github.com/users/mmosleh","html_url":"https://github.com/mmosleh","followers_url":"https://api.github.com/users/mmosleh/followers","following_url":"https://api.github.com/users/mmosleh/following{/other_user}","gists_url":"https://api.github.com/users/mmosleh/gists{/gist_id}","starred_url":"https://api.github.com/users/mmosleh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmosleh/subscriptions","organizations_url":"https://api.github.com/users/mmosleh/orgs","repos_url":"https://api.github.com/users/mmosleh/repos","events_url":"https://api.github.com/users/mmosleh/events{/privacy}","received_events_url":"https://api.github.com/users/mmosleh/received_events","type":"User","site_admin":false},"labels":[{"id":437188428,"node_id":"MDU6TGFiZWw0MzcxODg0Mjg=","url":"https://api.github.com/repos/Dallinger/Dallinger/labels/bug","name":"bug","color":"E94E77","default":true}],"state":"open","locked":false,"assignee":{"login":"MatthewWilkes","id":98908,"node_id":"MDQ6VXNlcjk4OTA4","avatar_url":"https://avatars2.githubusercontent.com/u/98908?v=4","gravatar_id":"","url":"https://api.github.com/users/MatthewWilkes","html_url":"https://github.com/MatthewWilkes","followers_url":"https://api.github.com/users/MatthewWilkes/followers","following_url":"https://api.github.com/users/MatthewWilkes/following{/other_user}","gists_url":"https://api.github.com/users/MatthewWilkes/gists{/gist_id}","starred_url":"https://api.github.com/users/MatthewWilkes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatthewWilkes/subscriptions","organizations_url":"https://api.github.com/users/MatthewWilkes/orgs","repos_url":"https://api.github.com/users/MatthewWilkes/repos","events_url":"https://api.github.com/users/MatthewWilkes/events{/privacy}","received_events_url":"https://api.github.com/users/MatthewWilkes/received_events","type":"User","site_admin":false},"assignees":[{"login":"MatthewWilkes","id":98908,"node_id":"MDQ6VXNlcjk4OTA4","avatar_url":"https://avatars2.githubusercontent.com/u/98908?v=4","gravatar_id":"","url":"https://api.github.com/users/MatthewWilkes","html_url":"https://github.com/MatthewWilkes","followers_url":"https://api.github.com/users/MatthewWilkes/followers","following_url":"https://api.github.com/users/MatthewWilkes/following{/other_user}","gists_url":"https://api.github.com/users/MatthewWilkes/gists{/gist_id}","starred_url":"https://api.github.com/users/MatthewWilkes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatthewWilkes/subscriptions","organizations_url":"https://api.github.com/users/MatthewWilkes/orgs","repos_url":"https://api.github.com/users/MatthewWilkes/repos","events_url":"https://api.github.com/users/MatthewWilkes/events{/privacy}","received_events_url":"https://api.github.com/users/MatthewWilkes/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-08-26T23:14:58Z","updated_at":"2018-08-28T11:48:32Z","closed_at":null,"author_association":"NONE","body":"I am trying to run the experiment on sanbox using dallinger sandbox --verbose however the deployment crashes. Looking at logs on Heroku using heroku logs --app APP returns the following error:\r\n\r\n```\r\n2018-08-26T23:03:38.022386+00:00 app[web.1]: /app/.heroku/python/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use \"pip install psycopg2-binary\" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.\r\n2018-08-26T23:03:38.022410+00:00 app[web.1]: \"\"\")\r\n2018-08-26T23:03:38.896183+00:00 app[web.1]: Traceback (most recent call last):\r\n2018-08-26T23:03:38.896472+00:00 app[web.1]: File \"launch.py\", line 9, in <module>\r\n2018-08-26T23:03:38.896691+00:00 app[web.1]: launch()\r\n2018-08-26T23:03:38.896748+00:00 app[web.1]: File \"/app/.heroku/python/lib/python3.6/site-packages/dallinger/experiment_server/gunicorn.py\", line 85, in launch\r\n2018-08-26T23:03:38.896987+00:00 app[web.1]: config.load()\r\n2018-08-26T23:03:38.897018+00:00 app[web.1]: File \"/app/.heroku/python/lib/python3.6/site-packages/dallinger/config.py\", line 237, in load\r\n2018-08-26T23:03:38.897334+00:00 app[web.1]: self.load_from_file(localConfig)\r\n2018-08-26T23:03:38.897364+00:00 app[web.1]: File \"/app/.heroku/python/lib/python3.6/site-packages/dallinger/config.py\", line 198, in load_from_file\r\n2018-08-26T23:03:38.897654+00:00 app[web.1]: self.extend(data, cast_types=True, strict=True)\r\n2018-08-26T23:03:38.897907+00:00 app[web.1]: raise KeyError('{} is not a valid configuration key'.format(key))\r\n2018-08-26T23:03:38.897684+00:00 app[web.1]: File \"/app/.heroku/python/lib/python3.6/site-packages/dallinger/config.py\", line 111, in extend\r\n2018-08-26T23:03:38.897948+00:00 app[web.1]: KeyError: 'smtp_host is not a valid configuration key'\r\n2018-08-26T23:03:31.010214+00:00 app[api]: Scaled to console@0:Hobby web@1:Hobby worker@1:Hobby by user \r\n2018-08-26T23:03:39.129347+00:00 heroku[web.1]: State changed from starting to crashed\r\n```\r\n\r\n## Expected Behavior\r\n\r\n## Current Behavior\r\nReceived the error described above\r\n\r\n## Steps to Reproduce (for bugs)\r\n1. create the dallingerconfig using dallinger setup and filled out aws access keys ,... : \r\n```\r\n[AWS Access]\r\n\r\naws_access_key_id = xxxxxx\r\naws_secret_access_key = xxxxxx\r\naws_region = us-east-1\r\n\r\n[Email Access]\r\nsmtp_host = smtp.gmail.com:587\r\nsmtp_username = xxxxxx\r\nsmtp_password =xxxxxx\r\n```\r\n\r\n2. use dyno type=hobby and heroku team on the config.txt \r\n3. run dallinger sanbox --verbose for bartlett1932 demo\r\n4.\r\n\r\n## Context\r\n\r\n## Your Environment\r\n* Dallinger version used:\r\n4.0.0\r\n* Operating System and version (desktop or mobile):\r\ndesktop\r\n* Browser and version (e.g. Chrome 39, node.js 5.4):\r\nChrome\r\n* Link to your project:\r\n"},"comment":{"url":"https://api.github.com/repos/Dallinger/Dallinger/issues/comments/416555043","html_url":"https://github.com/Dallinger/Dallinger/issues/1321#issuecomment-416555043","issue_url":"https://api.github.com/repos/Dallinger/Dallinger/issues/1321","id":416555043,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjU1NTA0Mw==","user":{"login":"mmosleh","id":22106123,"node_id":"MDQ6VXNlcjIyMTA2MTIz","avatar_url":"https://avatars0.githubusercontent.com/u/22106123?v=4","gravatar_id":"","url":"https://api.github.com/users/mmosleh","html_url":"https://github.com/mmosleh","followers_url":"https://api.github.com/users/mmosleh/followers","following_url":"https://api.github.com/users/mmosleh/following{/other_user}","gists_url":"https://api.github.com/users/mmosleh/gists{/gist_id}","starred_url":"https://api.github.com/users/mmosleh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmosleh/subscriptions","organizations_url":"https://api.github.com/users/mmosleh/orgs","repos_url":"https://api.github.com/users/mmosleh/repos","events_url":"https://api.github.com/users/mmosleh/events{/privacy}","received_events_url":"https://api.github.com/users/mmosleh/received_events","type":"User","site_admin":false},"created_at":"2018-08-28T11:48:32Z","updated_at":"2018-08-28T11:48:32Z","author_association":"NONE","body":"@MatthewWilkes  Awesome! thank you for your reply. It solved the problem. "}}
{"actor":{"display_login":"mmosleh"}}