{"action":"closed","issue":{"url":"https://api.github.com/repos/enthought/mayavi/issues/319","repository_url":"https://api.github.com/repos/enthought/mayavi","labels_url":"https://api.github.com/repos/enthought/mayavi/issues/319/labels{/name}","comments_url":"https://api.github.com/repos/enthought/mayavi/issues/319/comments","events_url":"https://api.github.com/repos/enthought/mayavi/issues/319/events","html_url":"https://github.com/enthought/mayavi/issues/319","id":142313701,"number":319,"title":"Exception at exit if mayavi is opened and then closed without additional operation","user":{"login":"stefanoborini","id":132967,"avatar_url":"https://avatars.githubusercontent.com/u/132967?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanoborini","html_url":"https://github.com/stefanoborini","followers_url":"https://api.github.com/users/stefanoborini/followers","following_url":"https://api.github.com/users/stefanoborini/following{/other_user}","gists_url":"https://api.github.com/users/stefanoborini/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanoborini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanoborini/subscriptions","organizations_url":"https://api.github.com/users/stefanoborini/orgs","repos_url":"https://api.github.com/users/stefanoborini/repos","events_url":"https://api.github.com/users/stefanoborini/events{/privacy}","received_events_url":"https://api.github.com/users/stefanoborini/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"stefanoborini","id":132967,"avatar_url":"https://avatars.githubusercontent.com/u/132967?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanoborini","html_url":"https://github.com/stefanoborini","followers_url":"https://api.github.com/users/stefanoborini/followers","following_url":"https://api.github.com/users/stefanoborini/following{/other_user}","gists_url":"https://api.github.com/users/stefanoborini/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanoborini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanoborini/subscriptions","organizations_url":"https://api.github.com/users/stefanoborini/orgs","repos_url":"https://api.github.com/users/stefanoborini/repos","events_url":"https://api.github.com/users/stefanoborini/events{/privacy}","received_events_url":"https://api.github.com/users/stefanoborini/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2016-03-21T10:54:52Z","updated_at":"2016-03-22T11:09:51Z","closed_at":"2016-03-22T11:09:51Z","body":"To reproduce: start mayavi2, then quit it immediately afterwards.\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/Users/sborini/.jaguar/envs/jaguar/lib/python2.7/site-packages/traitsui/qt4/list_str_model.py\", line 59, in rowCount\r\n    return editor.adapter.len(editor.object, editor.name)\r\n  File \"/Users/sborini/.jaguar/envs/jaguar/lib/python2.7/site-packages/traitsui/list_str_adapter.py\", line 204, in len\r\n    return len( getattr( object, trait ) )\r\nAttributeError: 'NoneType' object has no attribute '_pending_engine_sources'\r\nTraceback (most recent call last):\r\n  File \"/Users/sborini/.jaguar/envs/jaguar/lib/python2.7/site-packages/traitsui/qt4/list_str_model.py\", line 59, in rowCount\r\n    return editor.adapter.len(editor.object, editor.name)\r\n  File \"/Users/sborini/.jaguar/envs/jaguar/lib/python2.7/site-packages/traitsui/list_str_adapter.py\", line 204, in len\r\n    return len( getattr( object, trait ) )\r\nAttributeError: 'NoneType' object has no attribute '_pending_engine_sources'\r\nTraceback (most recent call last):\r\n  File \"/Users/sborini/.jaguar/envs/jaguar/lib/python2.7/site-packages/traitsui/qt4/list_str_model.py\", line 59, in rowCount\r\n    return editor.adapter.len(editor.object, editor.name)\r\n  File \"/Users/sborini/.jaguar/envs/jaguar/lib/python2.7/site-packages/traitsui/list_str_adapter.py\", line 204, in len\r\n    return len( getattr( object, trait ) )\r\nAttributeError: 'NoneType' object has no attribute '_pending_engine_sources'\r\nTraceback (most recent call last):\r\n  File \"/Users/sborini/.jaguar/envs/jaguar/lib/python2.7/site-packages/traitsui/qt4/list_str_model.py\", line 59, in rowCount\r\n    return editor.adapter.len(editor.object, editor.name)\r\n  File \"/Users/sborini/.jaguar/envs/jaguar/lib/python2.7/site-packages/traitsui/list_str_adapter.py\", line 204, in len\r\n    return len( getattr( object, trait ) )\r\nAttributeError: 'NoneType' object has no attribute '_pending_engine_sources'\r\n****\r\n```"}}