{"action":"created","issue":{"url":"https://api.github.com/repos/log2timeline/plaso/issues/116","labels_url":"https://api.github.com/repos/log2timeline/plaso/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/log2timeline/plaso/issues/116/comments","events_url":"https://api.github.com/repos/log2timeline/plaso/issues/116/events","html_url":"https://github.com/log2timeline/plaso/issues/116","id":57743295,"number":116,"title":"Processing of USB winreg failure","user":{"login":"chrisprickaerts","id":11004391,"avatar_url":"https://avatars.githubusercontent.com/u/11004391?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisprickaerts","html_url":"https://github.com/chrisprickaerts","followers_url":"https://api.github.com/users/chrisprickaerts/followers","following_url":"https://api.github.com/users/chrisprickaerts/following{/other_user}","gists_url":"https://api.github.com/users/chrisprickaerts/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisprickaerts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisprickaerts/subscriptions","organizations_url":"https://api.github.com/users/chrisprickaerts/orgs","repos_url":"https://api.github.com/users/chrisprickaerts/repos","events_url":"https://api.github.com/users/chrisprickaerts/events{/privacy}","received_events_url":"https://api.github.com/users/chrisprickaerts/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/log2timeline/plaso/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"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},"milestone":null,"comments":5,"created_at":"2015-02-15T19:54:46Z","updated_at":"2015-02-17T06:47:59Z","closed_at":null,"body":"While processing a Windows 8.1 system I get an error on USB processing:\r\n\r\n```\r\n2015-02-15 20:50:31,310 [WARNING] (Worker_1  ) PID:3764 <usbstor> Unable to split string: Disk&Ven_Kingston&Prod_DT_Rubber_3.0 with error: need more than 3 values to unpack\r\n2015-02-15 20:50:31,313 [WARNING] (Worker_1  ) PID:3764 <worker> [winreg] Unable to process file: type: OS, location: /cases/svo1/HD/20140823_SVO1_HD.E01\r\ntype: EWF\r\ntype: TSK_PARTITION, location: /p2, part index: 3, start offset: 0x06500000\r\ntype: VSHADOW, store index: 0\r\ntype: TSK, inode: 44703, location: /temp/system\r\n with error: local variable 'device_type' referenced before assignment.\r\n2015-02-15 20:50:31,313 [ERROR] (Worker_1  ) PID:3764 <worker> local variable 'device_type' referenced before assignment\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/dist-packages/plaso/engine/worker.py\", line 123, in _ParseFileEntryWithParser\r\n    parser_object.Parse(self._parser_context, file_entry)\r\n  File \"/usr/lib/python2.7/dist-packages/plaso/parsers/winreg.py\", line 331, in Parse\r\n    codepage=parser_context.codepage, parser_chain=parser_chain)\r\n  File \"/usr/lib/python2.7/dist-packages/plaso/parsers/winreg_plugins/interface.py\", line 206, in Process\r\n    parser_chain=parser_chain, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/plaso/parsers/winreg_plugins/usbstor.py\", line 75, in GetEntries\r\n    text_dict['device_type'] = device_type\r\nUnboundLocalError: local variable 'device_type' referenced before assignment\r\n```\r\n\r\nTried 2 times, process stops at same spot. I can provide image/test data, since this is test/training dataset."},"comment":{"url":"https://api.github.com/repos/log2timeline/plaso/issues/comments/74624491","html_url":"https://github.com/log2timeline/plaso/issues/116#issuecomment-74624491","issue_url":"https://api.github.com/repos/log2timeline/plaso/issues/116","id":74624491,"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":"2015-02-17T06:47:59Z","updated_at":"2015-02-17T06:47:59Z","body":"A fix is in but a sample would still be useful.\r\nCan you also confirm if this fixes the issue you were encountering."}}