{"action":"created","issue":{"url":"https://api.github.com/repos/oduwsdl/ipwb/issues/380","repository_url":"https://api.github.com/repos/oduwsdl/ipwb","labels_url":"https://api.github.com/repos/oduwsdl/ipwb/issues/380/labels{/name}","comments_url":"https://api.github.com/repos/oduwsdl/ipwb/issues/380/comments","events_url":"https://api.github.com/repos/oduwsdl/ipwb/issues/380/events","html_url":"https://github.com/oduwsdl/ipwb/issues/380","id":293885385,"number":380,"title":"Change in pywb WARC API has broken warc iterator","user":{"login":"machawk1","id":2514780,"avatar_url":"https://avatars0.githubusercontent.com/u/2514780?v=4","gravatar_id":"","url":"https://api.github.com/users/machawk1","html_url":"https://github.com/machawk1","followers_url":"https://api.github.com/users/machawk1/followers","following_url":"https://api.github.com/users/machawk1/following{/other_user}","gists_url":"https://api.github.com/users/machawk1/gists{/gist_id}","starred_url":"https://api.github.com/users/machawk1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/machawk1/subscriptions","organizations_url":"https://api.github.com/users/machawk1/orgs","repos_url":"https://api.github.com/users/machawk1/repos","events_url":"https://api.github.com/users/machawk1/events{/privacy}","received_events_url":"https://api.github.com/users/machawk1/received_events","type":"User","site_admin":false},"labels":[{"id":497856280,"url":"https://api.github.com/repos/oduwsdl/ipwb/labels/MAJOR","name":"MAJOR","color":"b60205","default":false},{"id":336240016,"url":"https://api.github.com/repos/oduwsdl/ipwb/labels/bug","name":"bug","color":"fc2929","default":true},{"id":540309503,"url":"https://api.github.com/repos/oduwsdl/ipwb/labels/ipwb%20indexer","name":"ipwb indexer","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/oduwsdl/ipwb/milestones/1","html_url":"https://github.com/oduwsdl/ipwb/milestone/1","labels_url":"https://api.github.com/repos/oduwsdl/ipwb/milestones/1/labels","id":1736670,"number":1,"title":"1.0 (Fundamental Features)","description":"","creator":{"login":"machawk1","id":2514780,"avatar_url":"https://avatars0.githubusercontent.com/u/2514780?v=4","gravatar_id":"","url":"https://api.github.com/users/machawk1","html_url":"https://github.com/machawk1","followers_url":"https://api.github.com/users/machawk1/followers","following_url":"https://api.github.com/users/machawk1/following{/other_user}","gists_url":"https://api.github.com/users/machawk1/gists{/gist_id}","starred_url":"https://api.github.com/users/machawk1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/machawk1/subscriptions","organizations_url":"https://api.github.com/users/machawk1/orgs","repos_url":"https://api.github.com/users/machawk1/repos","events_url":"https://api.github.com/users/machawk1/events{/privacy}","received_events_url":"https://api.github.com/users/machawk1/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":35,"state":"open","created_at":"2016-04-28T14:53:11Z","updated_at":"2018-02-02T13:18:00Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-02-02T13:17:59Z","updated_at":"2018-02-02T13:27:41Z","closed_at":null,"author_association":"OWNER","body":"```\r\n$ ipwb index ipwb/samples/warcs/froggie.warc.gz\r\nTraceback (most recent call last):\r\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/bin/ipwb\", line 11, in <module>\r\n    load_entry_point('ipwb==0.2018.1.31.210', 'console_scripts', 'ipwb')()\r\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 572, in load_entry_point\r\n    return get_distribution(dist).load_entry_point(group, name)\r\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 2755, in load_entry_point\r\n    return ep.load()\r\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 2408, in load\r\n    return self.resolve()\r\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 2414, in resolve\r\n    module = __import__(self.module_name, fromlist=['__name__'], level=0)\r\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ipwb/__main__.py\", line 10, in <module>\r\n    import indexer\r\n  File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ipwb/indexer.py\", line 24, in <module>\r\n    from pywb.warc.archiveiterator import DefaultRecordParser\r\nImportError: No module named warc.archiveiterator\r\n```\r\nThis likely has to do with the pywb release and its use of warcio.\r\n\r\nMitigation plan: explicitly specify previous version of pywb to be pulled as a dependency from pip.\r\nMigration plan: move to pywb 2.0's WARC record iteration scheme or, even better, decouple from pywb and use warcio alone. There may be other couplings to pywb preventing this.\r\n\r\n/cc @ikreymer"},"comment":{"url":"https://api.github.com/repos/oduwsdl/ipwb/issues/comments/362586006","html_url":"https://github.com/oduwsdl/ipwb/issues/380#issuecomment-362586006","issue_url":"https://api.github.com/repos/oduwsdl/ipwb/issues/380","id":362586006,"user":{"login":"machawk1","id":2514780,"avatar_url":"https://avatars0.githubusercontent.com/u/2514780?v=4","gravatar_id":"","url":"https://api.github.com/users/machawk1","html_url":"https://github.com/machawk1","followers_url":"https://api.github.com/users/machawk1/followers","following_url":"https://api.github.com/users/machawk1/following{/other_user}","gists_url":"https://api.github.com/users/machawk1/gists{/gist_id}","starred_url":"https://api.github.com/users/machawk1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/machawk1/subscriptions","organizations_url":"https://api.github.com/users/machawk1/orgs","repos_url":"https://api.github.com/users/machawk1/repos","events_url":"https://api.github.com/users/machawk1/events{/privacy}","received_events_url":"https://api.github.com/users/machawk1/received_events","type":"User","site_admin":false},"created_at":"2018-02-02T13:27:41Z","updated_at":"2018-02-02T13:27:41Z","author_association":"OWNER","body":"Mitigated in e828335a3ca2ac4cafd1376f8d1cad4a5227af00."}}
{"actor":{"display_login":"machawk1"}}