{"action":"created","issue":{"url":"https://api.github.com/repos/phaethon/scapy/issues/21","labels_url":"https://api.github.com/repos/phaethon/scapy/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/phaethon/scapy/issues/21/comments","events_url":"https://api.github.com/repos/phaethon/scapy/issues/21/events","html_url":"https://github.com/phaethon/scapy/issues/21","id":107788023,"number":21,"title":"Error using PcapReader as an iterator","user":{"login":"lawli3t","id":728952,"avatar_url":"https://avatars.githubusercontent.com/u/728952?v=3","gravatar_id":"","url":"https://api.github.com/users/lawli3t","html_url":"https://github.com/lawli3t","followers_url":"https://api.github.com/users/lawli3t/followers","following_url":"https://api.github.com/users/lawli3t/following{/other_user}","gists_url":"https://api.github.com/users/lawli3t/gists{/gist_id}","starred_url":"https://api.github.com/users/lawli3t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lawli3t/subscriptions","organizations_url":"https://api.github.com/users/lawli3t/orgs","repos_url":"https://api.github.com/users/lawli3t/repos","events_url":"https://api.github.com/users/lawli3t/events{/privacy}","received_events_url":"https://api.github.com/users/lawli3t/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-22T19:49:57Z","updated_at":"2015-09-29T22:28:26Z","closed_at":"2015-09-29T22:28:26Z","body":"When trying the example from the README i encounter the following error. I have installed scapy-python3 via pip3.\r\n\r\nTraceback (most recent call last):\r\n  File \"parse.py\", line 8, in <module>\r\n    for pkt in pcap_reader:\r\nTypeError: iter() returned non-iterator of type 'PcapReader'\r\n"},"comment":{"url":"https://api.github.com/repos/phaethon/scapy/issues/comments/144208904","html_url":"https://github.com/phaethon/scapy/issues/21#issuecomment-144208904","issue_url":"https://api.github.com/repos/phaethon/scapy/issues/21","id":144208904,"user":{"login":"lawli3t","id":728952,"avatar_url":"https://avatars.githubusercontent.com/u/728952?v=3","gravatar_id":"","url":"https://api.github.com/users/lawli3t","html_url":"https://github.com/lawli3t","followers_url":"https://api.github.com/users/lawli3t/followers","following_url":"https://api.github.com/users/lawli3t/following{/other_user}","gists_url":"https://api.github.com/users/lawli3t/gists{/gist_id}","starred_url":"https://api.github.com/users/lawli3t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lawli3t/subscriptions","organizations_url":"https://api.github.com/users/lawli3t/orgs","repos_url":"https://api.github.com/users/lawli3t/repos","events_url":"https://api.github.com/users/lawli3t/events{/privacy}","received_events_url":"https://api.github.com/users/lawli3t/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T22:28:26Z","updated_at":"2015-09-29T22:28:26Z","body":"Alright i finally had the time to concern myself with this again. I simply uninstalled the pip version and afterwards cloned the repo and installed it. Has worked fine! Thank you for your effort, i appreciate it!"}}