{"action":"created","issue":{"url":"https://api.github.com/repos/log2timeline/plaso/issues/1015","repository_url":"https://api.github.com/repos/log2timeline/plaso","labels_url":"https://api.github.com/repos/log2timeline/plaso/issues/1015/labels{/name}","comments_url":"https://api.github.com/repos/log2timeline/plaso/issues/1015/comments","events_url":"https://api.github.com/repos/log2timeline/plaso/issues/1015/events","html_url":"https://github.com/log2timeline/plaso/issues/1015","id":180571846,"number":1015,"title":"Python Virtualenv Install Fails","user":{"login":"cshanahan","id":4239381,"avatar_url":"https://avatars.githubusercontent.com/u/4239381?v=3","gravatar_id":"","url":"https://api.github.com/users/cshanahan","html_url":"https://github.com/cshanahan","followers_url":"https://api.github.com/users/cshanahan/followers","following_url":"https://api.github.com/users/cshanahan/following{/other_user}","gists_url":"https://api.github.com/users/cshanahan/gists{/gist_id}","starred_url":"https://api.github.com/users/cshanahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cshanahan/subscriptions","organizations_url":"https://api.github.com/users/cshanahan/orgs","repos_url":"https://api.github.com/users/cshanahan/repos","events_url":"https://api.github.com/users/cshanahan/events{/privacy}","received_events_url":"https://api.github.com/users/cshanahan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/log2timeline/plaso/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"Onager","id":1298404,"avatar_url":"https://avatars.githubusercontent.com/u/1298404?v=3","gravatar_id":"","url":"https://api.github.com/users/Onager","html_url":"https://github.com/Onager","followers_url":"https://api.github.com/users/Onager/followers","following_url":"https://api.github.com/users/Onager/following{/other_user}","gists_url":"https://api.github.com/users/Onager/gists{/gist_id}","starred_url":"https://api.github.com/users/Onager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Onager/subscriptions","organizations_url":"https://api.github.com/users/Onager/orgs","repos_url":"https://api.github.com/users/Onager/repos","events_url":"https://api.github.com/users/Onager/events{/privacy}","received_events_url":"https://api.github.com/users/Onager/received_events","type":"User","site_admin":false},"assignees":[{"login":"Onager","id":1298404,"avatar_url":"https://avatars.githubusercontent.com/u/1298404?v=3","gravatar_id":"","url":"https://api.github.com/users/Onager","html_url":"https://github.com/Onager","followers_url":"https://api.github.com/users/Onager/followers","following_url":"https://api.github.com/users/Onager/following{/other_user}","gists_url":"https://api.github.com/users/Onager/gists{/gist_id}","starred_url":"https://api.github.com/users/Onager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Onager/subscriptions","organizations_url":"https://api.github.com/users/Onager/orgs","repos_url":"https://api.github.com/users/Onager/repos","events_url":"https://api.github.com/users/Onager/events{/privacy}","received_events_url":"https://api.github.com/users/Onager/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2016-10-03T06:35:14Z","updated_at":"2016-10-04T04:31:37Z","closed_at":null,"body":"**Plaso version:**\r\n1.5.0 Release\r\n\r\n**Operating system Plaso is running on:**\r\nUbuntu 16.04.1 64-bit\r\n\r\n**Installation method:**\r\nInstalled Plaso from source using python virtualenv, described here: https://github.com/log2timeline/plaso/wiki/running-plaso-in-virtualenv\r\n\r\n**Description of problem:**\r\nI created a new virtual machine running Ubuntu 16.04.1 to test the installation routine for Plaso 1.5 using python virtualenv. I followed the usual directions and installed all dependencies without error, including libyaml-dev. Then I installed Plaso from source. Also no errors. Running any subsequent Plaso command (e.g., log2timeline.py --help) generates the following error:\r\n\r\n`\r\nTraceback (most recent call last):\r\n  File \"/home/uvm/bin/plasoenv/bin/log2timeline.py\", line 4, in <module>\r\n    __import__('pkg_resources').run_script('plaso==1.5.0', 'log2timeline.py')\r\n  File \"/home/uvm/bin/plasoenv/local/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 719, in run_script\r\n    self.require(requires)[0].run_script(script_name, ns)\r\n  File \"/home/uvm/bin/plasoenv/local/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 1504, in run_script\r\n    exec(code, namespace, namespace)\r\n  File \"/home/uvm/bin/plasoenv/lib/python2.7/site-packages/plaso-1.5.0-py2.7.egg/EGG-INFO/scripts/log2timeline.py\", line 21, in <module>\r\n    from plaso.cli import extraction_tool\r\n  File \"/home/uvm/bin/plasoenv/lib/python2.7/site-packages/plaso-1.5.0-py2.7.egg/plaso/cli/extraction_tool.py\", line 8, in <module>\r\n    from plaso.cli import storage_media_tool\r\n  File \"/home/uvm/bin/plasoenv/lib/python2.7/site-packages/plaso-1.5.0-py2.7.egg/plaso/cli/storage_media_tool.py\", line 9, in <module>\r\n    from dfvfs.analyzer import analyzer as dfvfs_analyzer\r\n  File \"/home/uvm/bin/plasoenv/local/lib/python2.7/site-packages/dfvfs/analyzer/__init__.py\", line 4, in <module>\r\n    from dfvfs.analyzer import bde_analyzer_helper\r\n  File \"/home/uvm/bin/plasoenv/local/lib/python2.7/site-packages/dfvfs/analyzer/bde_analyzer_helper.py\", line 4, in <module>\r\n    from dfvfs.analyzer import analyzer\r\n  File \"/home/uvm/bin/plasoenv/local/lib/python2.7/site-packages/dfvfs/analyzer/analyzer.py\", line 9, in <module>\r\n    from dfvfs.resolver import resolver\r\n  File \"/home/uvm/bin/plasoenv/local/lib/python2.7/site-packages/dfvfs/resolver/__init__.py\", line 10, in <module>\r\n    from dfvfs.resolver import cpio_resolver_helper\r\n  File \"/home/uvm/bin/plasoenv/local/lib/python2.7/site-packages/dfvfs/resolver/cpio_resolver_helper.py\", line 6, in <module>\r\n    import dfvfs.vfs.cpio_file_system\r\n  File \"/home/uvm/bin/plasoenv/local/lib/python2.7/site-packages/dfvfs/vfs/cpio_file_system.py\", line 7, in <module>\r\n    from dfvfs.lib import cpio\r\n  File \"/home/uvm/bin/plasoenv/local/lib/python2.7/site-packages/dfvfs/lib/cpio.py\", line 38, in <module>\r\n    class CPIOArchiveFile(object):\r\n  File \"/home/uvm/bin/plasoenv/local/lib/python2.7/site-packages/dfvfs/lib/cpio.py\", line 52, in CPIOArchiveFile\r\n    construct.UBInt16(u'signature'),\r\nAttributeError: 'module' object has no attribute 'UBInt16'\r\n`\r\n\r\nI also tried the same process on another system running openSUSE 42.1. No errors during installation yet I got the same error when running any Plaso command (log2timeline, psort, pinfo, etc.). I also made sure pip cache was clear before the installation.\r\n\r\nI should note, I run other applications using python virtualenv, including Rekall, without any problems.\r\n\r\nIf you'd like me to try anything else, let me know. I'd be happy to help.\r\n\r\n\r\n--\r\nChris"},"comment":{"url":"https://api.github.com/repos/log2timeline/plaso/issues/comments/251293391","html_url":"https://github.com/log2timeline/plaso/issues/1015#issuecomment-251293391","issue_url":"https://api.github.com/repos/log2timeline/plaso/issues/1015","id":251293391,"user":{"login":"joachimmetz","id":3888750,"avatar_url":"https://avatars.githubusercontent.com/u/3888750?v=3","gravatar_id":"","url":"https://api.github.com/users/joachimmetz","html_url":"https://github.com/joachimmetz","followers_url":"https://api.github.com/users/joachimmetz/followers","following_url":"https://api.github.com/users/joachimmetz/following{/other_user}","gists_url":"https://api.github.com/users/joachimmetz/gists{/gist_id}","starred_url":"https://api.github.com/users/joachimmetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joachimmetz/subscriptions","organizations_url":"https://api.github.com/users/joachimmetz/orgs","repos_url":"https://api.github.com/users/joachimmetz/repos","events_url":"https://api.github.com/users/joachimmetz/events{/privacy}","received_events_url":"https://api.github.com/users/joachimmetz/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T04:31:37Z","updated_at":"2016-10-04T04:31:37Z","body":"> Would it be better to just specify the exact version you know works as expected for Plaso 1.5?\r\n\r\n\"better\" is a value judgement.\r\n\r\npinning to specific versions is not best practice if a package comes with fixes you cannot update.\r\n\r\nHowever if the API changes things will break. It would be nice if most package manager actually would decouple package version from API version.\r\n\r\n"}}
{"actor":{"display_login":"joachimmetz"}}