{"action":"created","issue":{"url":"https://api.github.com/repos/karas84/viberwrapper-indicator/issues/12","labels_url":"https://api.github.com/repos/karas84/viberwrapper-indicator/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/karas84/viberwrapper-indicator/issues/12/comments","events_url":"https://api.github.com/repos/karas84/viberwrapper-indicator/issues/12/events","html_url":"https://github.com/karas84/viberwrapper-indicator/issues/12","id":83442287,"number":12,"title":"Exception in thread Thread=2 on Ubuntu 14.04 ","user":{"login":"chris-asl","id":2846837,"avatar_url":"https://avatars.githubusercontent.com/u/2846837?v=3","gravatar_id":"","url":"https://api.github.com/users/chris-asl","html_url":"https://github.com/chris-asl","followers_url":"https://api.github.com/users/chris-asl/followers","following_url":"https://api.github.com/users/chris-asl/following{/other_user}","gists_url":"https://api.github.com/users/chris-asl/gists{/gist_id}","starred_url":"https://api.github.com/users/chris-asl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris-asl/subscriptions","organizations_url":"https://api.github.com/users/chris-asl/orgs","repos_url":"https://api.github.com/users/chris-asl/repos","events_url":"https://api.github.com/users/chris-asl/events{/privacy}","received_events_url":"https://api.github.com/users/chris-asl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-01T11:13:53Z","updated_at":"2015-06-01T13:16:32Z","closed_at":null,"body":"Hello, \r\n\r\nI was using viberwrapper-indicator just fine but from the last week, *it throws this exception and nothing else appears (it doesn't terminate unless I send SIGINT)*.  This is the output from the terminal:  \r\n\r\n````\r\n<class 'Xlib.protocol.request.QueryExtension'>\r\nUsing NEW detection method\r\nException in thread Thread-2:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/threading.py\", line 810, in __bootstrap_inner\r\n    self.run()\r\n  File \"/usr/lib/python2.7/threading.py\", line 763, in run\r\n    self.__target(*self.__args, **self.__kwargs)\r\n  File \"/usr/bin/viberwrapper-indicator\", line 462, in find_viber\r\n    self.viber_window = XTools.Instance().get_window_by_class_name('ViberPC')\r\n  File \"/usr/bin/viberwrapper-indicator\", line 265, in get_window_by_class_name\r\n    if win.get_wm_class() is not None:\r\n  File \"/usr/lib/python2.7/dist-packages/Xlib/xobject/drawable.py\", line 660, in get_wm_class\r\n    d = self.get_full_property(Xatom.WM_CLASS, Xatom.STRING)\r\n  File \"/usr/lib/python2.7/dist-packages/Xlib/xobject/drawable.py\", line 452, in get_full_property\r\n    prop = self.get_property(property, type, 0, sizehint)\r\n  File \"/usr/lib/python2.7/dist-packages/Xlib/xobject/drawable.py\", line 441, in get_property\r\n    long_length = length)\r\n  File \"/usr/lib/python2.7/dist-packages/Xlib/protocol/rq.py\", line 1478, in __init__\r\n    self.reply()\r\n  File \"/usr/lib/python2.7/dist-packages/Xlib/protocol/rq.py\", line 1498, in reply\r\n    raise self._error\r\nBadWindow: <class 'Xlib.error.BadWindow'>: code = 3, resource_id = Xlib.xobject.resource.Resource(0x06c00001), sequence_number = 37740, major_opcode = 20, minor_opcode = 0\r\n````"},"comment":{"url":"https://api.github.com/repos/karas84/viberwrapper-indicator/issues/comments/107453384","html_url":"https://github.com/karas84/viberwrapper-indicator/issues/12#issuecomment-107453384","issue_url":"https://api.github.com/repos/karas84/viberwrapper-indicator/issues/12","id":107453384,"user":{"login":"chris-asl","id":2846837,"avatar_url":"https://avatars.githubusercontent.com/u/2846837?v=3","gravatar_id":"","url":"https://api.github.com/users/chris-asl","html_url":"https://github.com/chris-asl","followers_url":"https://api.github.com/users/chris-asl/followers","following_url":"https://api.github.com/users/chris-asl/following{/other_user}","gists_url":"https://api.github.com/users/chris-asl/gists{/gist_id}","starred_url":"https://api.github.com/users/chris-asl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris-asl/subscriptions","organizations_url":"https://api.github.com/users/chris-asl/orgs","repos_url":"https://api.github.com/users/chris-asl/repos","events_url":"https://api.github.com/users/chris-asl/events{/privacy}","received_events_url":"https://api.github.com/users/chris-asl/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T13:16:32Z","updated_at":"2015-06-01T13:16:32Z","body":"The first time I run it I got this\r\n```\r\nUsing SYSTEM icons\r\nUsing NEW detection method\r\nError getting WM_CLASS of window 0x06800001\r\nError getting WM_CLASS of window 0x06800030\r\nError getting WM_CLASS of window 0x068001a8\r\n```\r\n And the 2nd, this:\r\n```\r\nUsing SYSTEM icons\r\nUsing NEW detection method\r\nError getting WM_CLASS of window 0x06200697\r\n```\r\n\r\nThe first two messages are printed right away, but the next are displayed after a while."}}