{"action":"created","issue":{"url":"https://api.github.com/repos/nim-lang/nimble/issues/172","labels_url":"https://api.github.com/repos/nim-lang/nimble/issues/172/labels{/name}","comments_url":"https://api.github.com/repos/nim-lang/nimble/issues/172/comments","events_url":"https://api.github.com/repos/nim-lang/nimble/issues/172/events","html_url":"https://github.com/nim-lang/nimble/issues/172","id":123745851,"number":172,"title":"NimScript eval aborts Nimble when given a module with an invalid name","user":{"login":"dom96","id":246651,"avatar_url":"https://avatars.githubusercontent.com/u/246651?v=3","gravatar_id":"","url":"https://api.github.com/users/dom96","html_url":"https://github.com/dom96","followers_url":"https://api.github.com/users/dom96/followers","following_url":"https://api.github.com/users/dom96/following{/other_user}","gists_url":"https://api.github.com/users/dom96/gists{/gist_id}","starred_url":"https://api.github.com/users/dom96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dom96/subscriptions","organizations_url":"https://api.github.com/users/dom96/orgs","repos_url":"https://api.github.com/users/dom96/repos","events_url":"https://api.github.com/users/dom96/events{/privacy}","received_events_url":"https://api.github.com/users/dom96/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nim-lang/nimble/labels/Bug","name":"Bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-24T01:56:30Z","updated_at":"2015-12-26T19:20:01Z","closed_at":null,"body":"Possibly somewhat related to #171.\r\n\r\n``readPackageInfoFromNims`` on a ``foo-bar.nimble`` file will cause the NimScript eval code to abort Nimble (As far as I can tell)"},"comment":{"url":"https://api.github.com/repos/nim-lang/nimble/issues/comments/167355464","html_url":"https://github.com/nim-lang/nimble/issues/172#issuecomment-167355464","issue_url":"https://api.github.com/repos/nim-lang/nimble/issues/172","id":167355464,"user":{"login":"dom96","id":246651,"avatar_url":"https://avatars.githubusercontent.com/u/246651?v=3","gravatar_id":"","url":"https://api.github.com/users/dom96","html_url":"https://github.com/dom96","followers_url":"https://api.github.com/users/dom96/followers","following_url":"https://api.github.com/users/dom96/following{/other_user}","gists_url":"https://api.github.com/users/dom96/gists{/gist_id}","starred_url":"https://api.github.com/users/dom96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dom96/subscriptions","organizations_url":"https://api.github.com/users/dom96/orgs","repos_url":"https://api.github.com/users/dom96/repos","events_url":"https://api.github.com/users/dom96/events{/privacy}","received_events_url":"https://api.github.com/users/dom96/received_events","type":"User","site_admin":false},"created_at":"2015-12-26T19:20:00Z","updated_at":"2015-12-26T19:20:00Z","body":"This will not cause problems now because Nimble validates the Nimble file name ahead of time. But it may cause problems in other instances. The general problem is that compiler code can ``quit()`` Nimble instead of reporting an error (which allows Nimble to produce a more meaningful error message)."}}