{"action":"created","issue":{"url":"https://api.github.com/repos/sampsyo/beets/issues/1369","labels_url":"https://api.github.com/repos/sampsyo/beets/issues/1369/labels{/name}","comments_url":"https://api.github.com/repos/sampsyo/beets/issues/1369/comments","events_url":"https://api.github.com/repos/sampsyo/beets/issues/1369/events","html_url":"https://github.com/sampsyo/beets/issues/1369","id":63615222,"number":1369,"title":"Simple YAML problems should be fixed (or at least reported)","user":{"login":"alphapapa","id":601365,"avatar_url":"https://avatars.githubusercontent.com/u/601365?v=3","gravatar_id":"","url":"https://api.github.com/users/alphapapa","html_url":"https://github.com/alphapapa","followers_url":"https://api.github.com/users/alphapapa/followers","following_url":"https://api.github.com/users/alphapapa/following{/other_user}","gists_url":"https://api.github.com/users/alphapapa/gists{/gist_id}","starred_url":"https://api.github.com/users/alphapapa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphapapa/subscriptions","organizations_url":"https://api.github.com/users/alphapapa/orgs","repos_url":"https://api.github.com/users/alphapapa/repos","events_url":"https://api.github.com/users/alphapapa/events{/privacy}","received_events_url":"https://api.github.com/users/alphapapa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"tomjaspers","id":1549375,"avatar_url":"https://avatars.githubusercontent.com/u/1549375?v=3","gravatar_id":"","url":"https://api.github.com/users/tomjaspers","html_url":"https://github.com/tomjaspers","followers_url":"https://api.github.com/users/tomjaspers/followers","following_url":"https://api.github.com/users/tomjaspers/following{/other_user}","gists_url":"https://api.github.com/users/tomjaspers/gists{/gist_id}","starred_url":"https://api.github.com/users/tomjaspers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomjaspers/subscriptions","organizations_url":"https://api.github.com/users/tomjaspers/orgs","repos_url":"https://api.github.com/users/tomjaspers/repos","events_url":"https://api.github.com/users/tomjaspers/events{/privacy}","received_events_url":"https://api.github.com/users/tomjaspers/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-03-23T03:39:19Z","updated_at":"2015-03-27T03:24:30Z","closed_at":null,"body":"I just ran into https://github.com/sampsyo/beets/issues/1125.  I was following the \"Getting Started\" guide, and I opened the config file in Emacs, and I used the tab key to indent the `import:` section, and it caused that unintuitive error.\r\n\r\nI tried unindenting that section completely, but that caused another unhelpful error:\r\n\r\n`configuration error: import must be a collection, not NoneType`\r\n\r\nSo I tried spaces, and then it worked.  Then I came here and looked up that bug report.  If I didn't know anything about Python, I don't know if I would have figured it out so quickly.\r\n\r\nBeets sounds awesome, but it's sad that its introductory experience is marred by this silly problem.\r\n\r\n1.  When `beet config` is run, it should report simple problems like sections indented with tabs instead of spaces.  Or even better, just fix them outright.  A simple regexp could replace leading tabs with spaces.\r\n2.  This should be documented in the \"Getting Started\" guide in a prominent font.  (https://github.com/sampsyo/beets/pull/1370)"},"comment":{"url":"https://api.github.com/repos/sampsyo/beets/issues/comments/86806413","html_url":"https://github.com/sampsyo/beets/issues/1369#issuecomment-86806413","issue_url":"https://api.github.com/repos/sampsyo/beets/issues/1369","id":86806413,"user":{"login":"sampsyo","id":188033,"avatar_url":"https://avatars.githubusercontent.com/u/188033?v=3","gravatar_id":"","url":"https://api.github.com/users/sampsyo","html_url":"https://github.com/sampsyo","followers_url":"https://api.github.com/users/sampsyo/followers","following_url":"https://api.github.com/users/sampsyo/following{/other_user}","gists_url":"https://api.github.com/users/sampsyo/gists{/gist_id}","starred_url":"https://api.github.com/users/sampsyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampsyo/subscriptions","organizations_url":"https://api.github.com/users/sampsyo/orgs","repos_url":"https://api.github.com/users/sampsyo/repos","events_url":"https://api.github.com/users/sampsyo/events{/privacy}","received_events_url":"https://api.github.com/users/sampsyo/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T03:24:30Z","updated_at":"2015-03-27T03:24:30Z","body":"Thanks for suggesting the expanded documentation!\r\n\r\nI don't think we're going to automatically replace tabs with spaces to create a kind of pseudo-YAML syntax. That seems like a troublesome tarpit of incompatible heuristics."}}