{"action":"opened","issue":{"url":"https://api.github.com/repos/munki/munki/issues/610","repository_url":"https://api.github.com/repos/munki/munki","labels_url":"https://api.github.com/repos/munki/munki/issues/610/labels{/name}","comments_url":"https://api.github.com/repos/munki/munki/issues/610/comments","events_url":"https://api.github.com/repos/munki/munki/issues/610/events","html_url":"https://github.com/munki/munki/issues/610","id":155949351,"number":610,"title":"Munki crashes if 'managed_uninstalls' has any items","user":{"login":"MiqViq","id":2473980,"avatar_url":"https://avatars.githubusercontent.com/u/2473980?v=3","gravatar_id":"","url":"https://api.github.com/users/MiqViq","html_url":"https://github.com/MiqViq","followers_url":"https://api.github.com/users/MiqViq/followers","following_url":"https://api.github.com/users/MiqViq/following{/other_user}","gists_url":"https://api.github.com/users/MiqViq/gists{/gist_id}","starred_url":"https://api.github.com/users/MiqViq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MiqViq/subscriptions","organizations_url":"https://api.github.com/users/MiqViq/orgs","repos_url":"https://api.github.com/users/MiqViq/repos","events_url":"https://api.github.com/users/MiqViq/events{/privacy}","received_events_url":"https://api.github.com/users/MiqViq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-20T12:11:12Z","updated_at":"2016-05-20T12:11:12Z","closed_at":null,"body":"Munki version: 2.7.0.2756\r\n\r\nWhile running from CLI this comes:\r\n\r\nERROR: Unexpected error in updatecheck:\r\nTraceback (most recent call last):\r\n  File \"/usr/local/munki/managedsoftwareupdate\", line 1049, in <module>\r\n    main()\r\n  File \"/usr/local/munki/managedsoftwareupdate\", line 743, in main\r\n    client_id=options.id.decode('UTF-8'))\r\n  File \"/usr/local/munki/munkilib/updatecheck.py\", line 3035, in check\r\n    installinfo)\r\n  File \"/usr/local/munki/munkilib/updatecheck.py\", line 2134, in processManifestForKey\r\n    installinfo, cataloglist)\r\n  File \"/usr/local/munki/munkilib/updatecheck.py\", line 2158, in processManifestForKey\r\n    installinfo, cataloglist)\r\n  File \"/usr/local/munki/munkilib/updatecheck.py\", line 2134, in processManifestForKey\r\n    installinfo, cataloglist)\r\n  File \"/usr/local/munki/munkilib/updatecheck.py\", line 2174, in processManifestForKey\r\n    item, cataloglist, installinfo)\r\n  File \"/usr/local/munki/munkilib/updatecheck.py\", line 2249, in processRemoval\r\n    if evidenceThisIsInstalled(item):\r\n  File \"/usr/local/munki/munkilib/updatecheck.py\", line 1426, in evidenceThisIsInstalled\r\n    if item_pl['name'] in pkgdata['installed_names']:\r\nTypeError: 'NoneType' object has no attribute '__getitem__'\r\n\r\nHappens if there are any removable items in 'managed_uninstalls'.\r\nProblem disappeared when managed_uninstalls was empied.\r\nAll pkginfos for removable items are fine."}}
{"actor":{"display_login":"MiqViq"}}