{"action":"created","issue":{"url":"https://api.github.com/repos/taxigps/xbmc-addons-chinese/issues/24","labels_url":"https://api.github.com/repos/taxigps/xbmc-addons-chinese/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/taxigps/xbmc-addons-chinese/issues/24/comments","events_url":"https://api.github.com/repos/taxigps/xbmc-addons-chinese/issues/24/events","html_url":"https://github.com/taxigps/xbmc-addons-chinese/issues/24","id":53720911,"number":24,"title":"kodi14 crash by chinese keyboard","user":{"login":"osfans","id":7677088,"avatar_url":"https://avatars.githubusercontent.com/u/7677088?v=3","gravatar_id":"","url":"https://api.github.com/users/osfans","html_url":"https://github.com/osfans","followers_url":"https://api.github.com/users/osfans/followers","following_url":"https://api.github.com/users/osfans/following{/other_user}","gists_url":"https://api.github.com/users/osfans/gists{/gist_id}","starred_url":"https://api.github.com/users/osfans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osfans/subscriptions","organizations_url":"https://api.github.com/users/osfans/orgs","repos_url":"https://api.github.com/users/osfans/repos","events_url":"https://api.github.com/users/osfans/events{/privacy}","received_events_url":"https://api.github.com/users/osfans/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-01-08T06:59:07Z","updated_at":"2015-01-15T09:01:55Z","closed_at":null,"body":"archlinux上kodi 14.0，使用ChineseKeyboard.Keyboard可以打字，但点击完成，开始搜索时出现段错误：\r\n\r\n> 12:38:37 T:139652450125568 ERROR: EXCEPTION: Non-Existent Control 310\r\n> 12:38:37 T:139652450125568 ERROR: EXCEPTION: Non-Existent Control 48\r\n\r\n使用xbmc.Keyboard就没有问题。\r\n\r\n导致letv等都无法搜索。1ting我设置成了可选依赖，才可以搜索。\r\n"},"comment":{"url":"https://api.github.com/repos/taxigps/xbmc-addons-chinese/issues/comments/70056999","html_url":"https://github.com/taxigps/xbmc-addons-chinese/issues/24#issuecomment-70056999","issue_url":"https://api.github.com/repos/taxigps/xbmc-addons-chinese/issues/24","id":70056999,"user":{"login":"osfans","id":7677088,"avatar_url":"https://avatars.githubusercontent.com/u/7677088?v=3","gravatar_id":"","url":"https://api.github.com/users/osfans","html_url":"https://github.com/osfans","followers_url":"https://api.github.com/users/osfans/followers","following_url":"https://api.github.com/users/osfans/following{/other_user}","gists_url":"https://api.github.com/users/osfans/gists{/gist_id}","starred_url":"https://api.github.com/users/osfans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osfans/subscriptions","organizations_url":"https://api.github.com/users/osfans/orgs","repos_url":"https://api.github.com/users/osfans/repos","events_url":"https://api.github.com/users/osfans/events{/privacy}","received_events_url":"https://api.github.com/users/osfans/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T09:01:55Z","updated_at":"2015-01-15T09:01:55Z","body":"看来是kodi本身的问题了。\r\nonInit直接return就不挂，调用了一句getControl就会挂。\r\n\r\n```python\r\n    def onInit(self):\r\n        self.getControl(self.CTL_LABEL_EDIT).setText(self.strEdit)\r\n        return\r\n        #self.getControl(self.CTL_LABEL_EDIT).setEnabled(False)\r\n        self.getControl(CTL_BUTTON_LAYOUT).setLabel(\"\")\r\n        self.initControl()\r\n        self.getControl(CTL_LABEL_HEADING).setLabel(self.strHeading)\r\n        self.getControl(CTL_BUTTON_CHINESE).setLabel('Chinese')\r\n        self.UpdateButtons()\r\n```"}}