{"action":"created","issue":{"url":"https://api.github.com/repos/percolate/ec2-security-groups-dumper/issues/2","labels_url":"https://api.github.com/repos/percolate/ec2-security-groups-dumper/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/percolate/ec2-security-groups-dumper/issues/2/comments","events_url":"https://api.github.com/repos/percolate/ec2-security-groups-dumper/issues/2/events","html_url":"https://github.com/percolate/ec2-security-groups-dumper/issues/2","id":94951674,"number":2,"title":"Error on --csv","user":{"login":"mugzy","id":3887497,"avatar_url":"https://avatars.githubusercontent.com/u/3887497?v=3","gravatar_id":"","url":"https://api.github.com/users/mugzy","html_url":"https://github.com/mugzy","followers_url":"https://api.github.com/users/mugzy/followers","following_url":"https://api.github.com/users/mugzy/following{/other_user}","gists_url":"https://api.github.com/users/mugzy/gists{/gist_id}","starred_url":"https://api.github.com/users/mugzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mugzy/subscriptions","organizations_url":"https://api.github.com/users/mugzy/orgs","repos_url":"https://api.github.com/users/mugzy/repos","events_url":"https://api.github.com/users/mugzy/events{/privacy}","received_events_url":"https://api.github.com/users/mugzy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-14T14:00:52Z","updated_at":"2015-07-17T14:00:43Z","closed_at":null,"body":"Exporting to JSON works fine, but when I try CSV, I get the error below.\r\n\r\n# ec2-security-groups-dumper --csv\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/ec2-security-groups-dumper\", line 9, in <module>\r\n    load_entry_point('ec2-security-groups-dumper==1.0', 'console_scripts', 'ec2-security-groups-dumper')()\r\n  File \"/usr/local/lib/python2.7/dist-packages/ec2_security_groups_dumper/main.py\", line 280, in main\r\n    print firewall.csv\r\n  File \"/usr/local/lib/python2.7/dist-packages/ec2_security_groups_dumper/main.py\", line 213, in csv\r\n    for fr in self.rules:\r\n  File \"/usr/local/lib/python2.7/dist-packages/ec2_security_groups_dumper/main.py\", line 151, in rules\r\n    raise ValueError\r\nValueError\r\n\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/percolate/ec2-security-groups-dumper/issues/comments/122281609","html_url":"https://github.com/percolate/ec2-security-groups-dumper/issues/2#issuecomment-122281609","issue_url":"https://api.github.com/repos/percolate/ec2-security-groups-dumper/issues/2","id":122281609,"user":{"login":"mugzy","id":3887497,"avatar_url":"https://avatars.githubusercontent.com/u/3887497?v=3","gravatar_id":"","url":"https://api.github.com/users/mugzy","html_url":"https://github.com/mugzy","followers_url":"https://api.github.com/users/mugzy/followers","following_url":"https://api.github.com/users/mugzy/following{/other_user}","gists_url":"https://api.github.com/users/mugzy/gists{/gist_id}","starred_url":"https://api.github.com/users/mugzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mugzy/subscriptions","organizations_url":"https://api.github.com/users/mugzy/orgs","repos_url":"https://api.github.com/users/mugzy/repos","events_url":"https://api.github.com/users/mugzy/events{/privacy}","received_events_url":"https://api.github.com/users/mugzy/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T14:00:43Z","updated_at":"2015-07-17T14:00:43Z","body":"I am not super familiar with python, so if you could give be some debug code and tell me where to add it, I can then post the results."}}