{"action":"created","issue":{"url":"https://api.github.com/repos/yokogawa-k/docker-ansible-lint/issues/38","repository_url":"https://api.github.com/repos/yokogawa-k/docker-ansible-lint","labels_url":"https://api.github.com/repos/yokogawa-k/docker-ansible-lint/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/yokogawa-k/docker-ansible-lint/issues/38/comments","events_url":"https://api.github.com/repos/yokogawa-k/docker-ansible-lint/issues/38/events","html_url":"https://github.com/yokogawa-k/docker-ansible-lint/issues/38","id":477294327,"node_id":"MDU6SXNzdWU0NzcyOTQzMjc=","number":38,"title":"AttributeError: module 'ruamel.yaml' has no attribute 'YAML'","user":{"login":"rgevaert","id":66934,"node_id":"MDQ6VXNlcjY2OTM0","avatar_url":"https://avatars2.githubusercontent.com/u/66934?v=4","gravatar_id":"","url":"https://api.github.com/users/rgevaert","html_url":"https://github.com/rgevaert","followers_url":"https://api.github.com/users/rgevaert/followers","following_url":"https://api.github.com/users/rgevaert/following{/other_user}","gists_url":"https://api.github.com/users/rgevaert/gists{/gist_id}","starred_url":"https://api.github.com/users/rgevaert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgevaert/subscriptions","organizations_url":"https://api.github.com/users/rgevaert/orgs","repos_url":"https://api.github.com/users/rgevaert/repos","events_url":"https://api.github.com/users/rgevaert/events{/privacy}","received_events_url":"https://api.github.com/users/rgevaert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-08-06T10:17:12Z","updated_at":"2019-08-06T13:35:26Z","closed_at":null,"author_association":"NONE","body":"Hi\r\n\r\nSince today we are getting these issues:\r\n\r\n```\r\n$ ansible-lint --force-color ./ansible/*\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/ansible-lint\", line 10, in <module>\r\n    sys.exit(main())\r\n  File \"/usr/local/lib/python3.7/site-packages/ansiblelint/__main__.py\", line 187, in main\r\n    matches.extend(runner.run())\r\n  File \"/usr/local/lib/python3.7/site-packages/ansiblelint/__init__.py\", line 285, in run\r\n    skip_list=self.skip_list))\r\n  File \"/usr/local/lib/python3.7/site-packages/ansiblelint/__init__.py\", line 178, in run\r\n    matches.extend(rule.matchyaml(playbookfile, text))\r\n  File \"/usr/local/lib/python3.7/site-packages/ansiblelint/__init__.py\", line 119, in matchyaml\r\n    yaml = ansiblelint.utils.append_skipped_rules(yaml, text, file['type'])\r\n  File \"/usr/local/lib/python3.7/site-packages/ansiblelint/utils.py\", line 617, in append_skipped_rules\r\n    yaml_skip = _append_skipped_rules(pyyaml_data, file_text, file_type)\r\n  File \"/usr/local/lib/python3.7/site-packages/ansiblelint/utils.py\", line 627, in _append_skipped_rules\r\n    yaml = ruamel.yaml.YAML()\r\nAttributeError: module 'ruamel.yaml' has no attribute 'YAML'\r\n```\r\n\r\nI'm stilling looking into a solution, but I wanted to already op this ticket to make you aware ;)"},"comment":{"url":"https://api.github.com/repos/yokogawa-k/docker-ansible-lint/issues/comments/518672013","html_url":"https://github.com/yokogawa-k/docker-ansible-lint/issues/38#issuecomment-518672013","issue_url":"https://api.github.com/repos/yokogawa-k/docker-ansible-lint/issues/38","id":518672013,"node_id":"MDEyOklzc3VlQ29tbWVudDUxODY3MjAxMw==","user":{"login":"yokogawa-k","id":1929343,"node_id":"MDQ6VXNlcjE5MjkzNDM=","avatar_url":"https://avatars3.githubusercontent.com/u/1929343?v=4","gravatar_id":"","url":"https://api.github.com/users/yokogawa-k","html_url":"https://github.com/yokogawa-k","followers_url":"https://api.github.com/users/yokogawa-k/followers","following_url":"https://api.github.com/users/yokogawa-k/following{/other_user}","gists_url":"https://api.github.com/users/yokogawa-k/gists{/gist_id}","starred_url":"https://api.github.com/users/yokogawa-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yokogawa-k/subscriptions","organizations_url":"https://api.github.com/users/yokogawa-k/orgs","repos_url":"https://api.github.com/users/yokogawa-k/repos","events_url":"https://api.github.com/users/yokogawa-k/events{/privacy}","received_events_url":"https://api.github.com/users/yokogawa-k/received_events","type":"User","site_admin":false},"created_at":"2019-08-06T13:35:26Z","updated_at":"2019-08-06T13:35:26Z","author_association":"OWNER","body":"@rgevaert @simschla \r\n\r\nI'm sorry, everyone.\r\nI made the alpha version of ansible-lint released yesterday as latest. \r\nI think that is probably the cause.\r\n\r\nThe current latest is set back to stable v 4.1.0, so please use it.\r\n\r\nI'll also add some tests to prevent this from happening.\r\n\r\nThank you for your report."}}
{"actor":{"display_login":"yokogawa-k"}}