{"action":"opened","issue":{"url":"https://api.github.com/repos/biolab/orange/issues/38","labels_url":"https://api.github.com/repos/biolab/orange/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/biolab/orange/issues/38/comments","events_url":"https://api.github.com/repos/biolab/orange/issues/38/events","html_url":"https://github.com/biolab/orange/issues/38","id":117098129,"number":38,"title":"Mosaic plot produces a 'KeyError' unable to set <Orange.widgets.gui.OrangeComboBox object at 0x04E6E6C0> to value 'Feature 9'.","user":{"login":"ypanagis","id":2759302,"avatar_url":"https://avatars.githubusercontent.com/u/2759302?v=3","gravatar_id":"","url":"https://api.github.com/users/ypanagis","html_url":"https://github.com/ypanagis","followers_url":"https://api.github.com/users/ypanagis/followers","following_url":"https://api.github.com/users/ypanagis/following{/other_user}","gists_url":"https://api.github.com/users/ypanagis/gists{/gist_id}","starred_url":"https://api.github.com/users/ypanagis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ypanagis/subscriptions","organizations_url":"https://api.github.com/users/ypanagis/orgs","repos_url":"https://api.github.com/users/ypanagis/repos","events_url":"https://api.github.com/users/ypanagis/events{/privacy}","received_events_url":"https://api.github.com/users/ypanagis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-16T10:54:36Z","updated_at":"2015-11-16T10:54:36Z","closed_at":null,"body":"I am trying to load the titanic dataset from the example datasets given with Orange and build a mosaic plot with it. After I select all the data from the DataTable the Output window pops-up and I get the following error:\r\n\r\n```python\r\nunable to set <Orange.widgets.gui.OrangeComboBox object at 0x04E6E6C0> to value 'Feature 9'. Possible values are status, age, sex, survived.\r\n--------------------------------------------------------------------------------\r\nKeyError                                      Traceback (most recent call last):\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\canvas\\scheme\\widgetsscheme.py\", line 690, in process_signals_for_widget\r\n    widget.handleNewSignals()\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\widgets\\visualize\\owmosaic.py\", line 396, in handleNewSignals\r\n    self.updateGraphAndPermList()\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\widgets\\visualize\\owmosaic.py\", line 447, in updateGraphAndPermList\r\n    self.updateGraph(**args)\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\widgets\\visualize\\owmosaic.py\", line 483, in updateGraph\r\n    data = data[:, attrList + [data.domain.class_var]]\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\data\\table.py\", line 637, in __getitem__\r\n    attributes, col_indices = self.domain._compute_col_indices(col_idx)\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\data\\domain.py\", line 391, in _compute_col_indices\r\n    attributes = [self[col] for col in col_idx]\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\data\\domain.py\", line 391, in <listcomp>\r\n    attributes = [self[col] for col in col_idx]\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\data\\domain.py\", line 213, in __getitem__\r\n    idx = self._indices[idx]\r\nKeyError: 'Feature 9'\r\n--- Logging error ---\r\nTraceback (most recent call last):\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\canvas\\scheme\\widgetsscheme.py\", line 690, in process_signals_for_widget\r\n    widget.handleNewSignals()\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\widgets\\visualize\\owmosaic.py\", line 396, in handleNewSignals\r\n    self.updateGraphAndPermList()\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\widgets\\visualize\\owmosaic.py\", line 447, in updateGraphAndPermList\r\n    self.updateGraph(**args)\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\widgets\\visualize\\owmosaic.py\", line 483, in updateGraph\r\n    data = data[:, attrList + [data.domain.class_var]]\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\data\\table.py\", line 637, in __getitem__\r\n    attributes, col_indices = self.domain._compute_col_indices(col_idx)\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\data\\domain.py\", line 391, in _compute_col_indices\r\n    attributes = [self[col] for col in col_idx]\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\data\\domain.py\", line 391, in <listcomp>\r\n    attributes = [self[col] for col in col_idx]\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\data\\domain.py\", line 213, in __getitem__\r\n    idx = self._indices[idx]\r\nKeyError: 'Feature 9'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"C:\\Python34\\lib\\logging\\__init__.py\", line 980, in emit\r\n    stream.write(msg)\r\nAttributeError: 'NoneType' object has no attribute 'write'\r\nCall stack:\r\n  File \"C:\\Python34\\lib\\runpy.py\", line 170, in _run_module_as_main\r\n    \"__main__\", mod_spec)\r\n  File \"C:\\Python34\\lib\\runpy.py\", line 85, in _run_code\r\n    exec(code, run_globals)\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\canvas\\__main__.py\", line 403, in <module>\r\n    sys.exit(main())\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\canvas\\__main__.py\", line 386, in main\r\n    status = app.exec_()\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\canvas\\scheme\\widgetsscheme.py\", line 714, in event\r\n    return SignalManager.event(self, event)\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\canvas\\scheme\\signalmanager.py\", line 452, in event\r\n    self.process_queued(max_nodes=1)\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\canvas\\scheme\\signalmanager.py\", line 316, in process_queued\r\n    self.process_node(node)\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\canvas\\scheme\\signalmanager.py\", line 335, in process_node\r\n    self.send_to_node(node, signals_in)\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\canvas\\scheme\\widgetsscheme.py\", line 632, in send_to_node\r\n    self.process_signals_for_widget(node, widget, signals)\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\canvas\\scheme\\widgetsscheme.py\", line 694, in process_signals_for_widget\r\n    node.title)\r\nMessage: \"Error calling 'handleNewSignals()' of '%s'\"\r\nArguments: ('Mosaic Display',)\r\n--------------------------------------------------------------------------------\r\nKeyError                                      Traceback (most recent call last):\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\widgets\\visualize\\owmosaic.py\", line 321, in resizeEvent\r\n    self.updateGraph()\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\widgets\\visualize\\owmosaic.py\", line 483, in updateGraph\r\n    data = data[:, attrList + [data.domain.class_var]]\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\data\\table.py\", line 637, in __getitem__\r\n    attributes, col_indices = self.domain._compute_col_indices(col_idx)\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\data\\domain.py\", line 391, in _compute_col_indices\r\n    attributes = [self[col] for col in col_idx]\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\data\\domain.py\", line 391, in <listcomp>\r\n    attributes = [self[col] for col in col_idx]\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\data\\domain.py\", line 213, in __getitem__\r\n    idx = self._indices[idx]\r\nKeyError: 'Feature 9'\r\n--------------------------------------------------------------------------------\r\nKeyError                                      Traceback (most recent call last):\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\widgets\\visualize\\owmosaic.py\", line 325, in showEvent\r\n    self.updateGraph()\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\widgets\\visualize\\owmosaic.py\", line 483, in updateGraph\r\n    data = data[:, attrList + [data.domain.class_var]]\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\data\\table.py\", line 637, in __getitem__\r\n    attributes, col_indices = self.domain._compute_col_indices(col_idx)\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\data\\domain.py\", line 391, in _compute_col_indices\r\n    attributes = [self[col] for col in col_idx]\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\data\\domain.py\", line 391, in <listcomp>\r\n    attributes = [self[col] for col in col_idx]\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\data\\domain.py\", line 213, in __getitem__\r\n    idx = self._indices[idx]\r\nKeyError: 'Feature 9'\r\n--------------------------------------------------------------------------------\r\nKeyError                                      Traceback (most recent call last):\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\widgets\\gui.py\", line 2550, in __call__\r\n    self.f(**kwds)\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\widgets\\visualize\\owmosaic.py\", line 447, in updateGraphAndPermList\r\n    self.updateGraph(**args)\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\widgets\\visualize\\owmosaic.py\", line 483, in updateGraph\r\n    data = data[:, attrList + [data.domain.class_var]]\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\data\\table.py\", line 637, in __getitem__\r\n    attributes, col_indices = self.domain._compute_col_indices(col_idx)\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\data\\domain.py\", line 391, in _compute_col_indices\r\n    attributes = [self[col] for col in col_idx]\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\data\\domain.py\", line 391, in <listcomp>\r\n    attributes = [self[col] for col in col_idx]\r\n  File \"C:\\Python34\\lib\\site-packages\\Orange\\data\\domain.py\", line 213, in __getitem__\r\n    idx = self._indices[idx]\r\nKeyError: 'Feature 9'\r\n```"}}