{"action":"created","issue":{"url":"https://api.github.com/repos/docker/compose/issues/2228","labels_url":"https://api.github.com/repos/docker/compose/issues/2228/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/2228/comments","events_url":"https://api.github.com/repos/docker/compose/issues/2228/events","html_url":"https://github.com/docker/compose/issues/2228","id":112294280,"number":2228,"title":"Space in link brakes yml","user":{"login":"iBobik","id":614232,"avatar_url":"https://avatars.githubusercontent.com/u/614232?v=3","gravatar_id":"","url":"https://api.github.com/users/iBobik","html_url":"https://github.com/iBobik","followers_url":"https://api.github.com/users/iBobik/followers","following_url":"https://api.github.com/users/iBobik/following{/other_user}","gists_url":"https://api.github.com/users/iBobik/gists{/gist_id}","starred_url":"https://api.github.com/users/iBobik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iBobik/subscriptions","organizations_url":"https://api.github.com/users/iBobik/orgs","repos_url":"https://api.github.com/users/iBobik/repos","events_url":"https://api.github.com/users/iBobik/events{/privacy}","received_events_url":"https://api.github.com/users/iBobik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-20T06:08:58Z","updated_at":"2015-10-20T06:09:55Z","closed_at":null,"body":"I my docker-compose.yml is:\r\n```yml\r\n  links:\r\n   - db: database\r\n```\r\nIt throws:\r\n```\r\n$ docker-compose up\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 3, in <module>\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.cli.main\", line 39, in main\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.cli.docopt_command\", line 21, in sys_dispatch\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.cli.command\", line 27, in dispatch\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.cli.docopt_command\", line 24, in dispatch\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.cli.command\", line 57, in perform_command\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.cli.command\", line 79, in get_project\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.project\", line 82, in from_dicts\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.project\", line 56, in sort_service_dicts\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.project\", line 49, in visit\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.project\", line 34, in get_service_dependents\r\n  File \"/code/build/docker-compose/out00-PYZ.pyz/compose.project\", line 28, in get_service_names\r\nAttributeError: 'dict' object has no attribute 'split'\r\n```\r\n\r\nWhen I remove space in `db: database` to `db:database` it works."},"comment":{"url":"https://api.github.com/repos/docker/compose/issues/comments/149443803","html_url":"https://github.com/docker/compose/issues/2228#issuecomment-149443803","issue_url":"https://api.github.com/repos/docker/compose/issues/2228","id":149443803,"user":{"login":"iBobik","id":614232,"avatar_url":"https://avatars.githubusercontent.com/u/614232?v=3","gravatar_id":"","url":"https://api.github.com/users/iBobik","html_url":"https://github.com/iBobik","followers_url":"https://api.github.com/users/iBobik/followers","following_url":"https://api.github.com/users/iBobik/following{/other_user}","gists_url":"https://api.github.com/users/iBobik/gists{/gist_id}","starred_url":"https://api.github.com/users/iBobik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iBobik/subscriptions","organizations_url":"https://api.github.com/users/iBobik/orgs","repos_url":"https://api.github.com/users/iBobik/repos","events_url":"https://api.github.com/users/iBobik/events{/privacy}","received_events_url":"https://api.github.com/users/iBobik/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T06:09:55Z","updated_at":"2015-10-20T06:09:55Z","body":"It generally will be nice if Docker Compose prints more intuitive errors for broken .yml"}}