{"action":"closed","issue":{"url":"https://api.github.com/repos/tango-cs/pytango/issues/38","repository_url":"https://api.github.com/repos/tango-cs/pytango","labels_url":"https://api.github.com/repos/tango-cs/pytango/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/tango-cs/pytango/issues/38/comments","events_url":"https://api.github.com/repos/tango-cs/pytango/issues/38/events","html_url":"https://github.com/tango-cs/pytango/issues/38","id":170599101,"number":38,"title":"when using gevent event callback is never triggered","user":{"login":"meguiraun","id":12758327,"avatar_url":"https://avatars.githubusercontent.com/u/12758327?v=3","gravatar_id":"","url":"https://api.github.com/users/meguiraun","html_url":"https://github.com/meguiraun","followers_url":"https://api.github.com/users/meguiraun/followers","following_url":"https://api.github.com/users/meguiraun/following{/other_user}","gists_url":"https://api.github.com/users/meguiraun/gists{/gist_id}","starred_url":"https://api.github.com/users/meguiraun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meguiraun/subscriptions","organizations_url":"https://api.github.com/users/meguiraun/orgs","repos_url":"https://api.github.com/users/meguiraun/repos","events_url":"https://api.github.com/users/meguiraun/events{/privacy}","received_events_url":"https://api.github.com/users/meguiraun/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-11T08:59:44Z","updated_at":"2016-08-11T11:03:55Z","closed_at":"2016-08-11T11:03:55Z","body":"hi,\r\nIn the following code the event callback function is never triggered when using DeviceProxy through gevent.\r\n```\r\nimport PyTango\r\nfrom PyTango.gevent import DeviceProxy\r\ndev = DeviceProxy('sys/tg_test/1')\r\ndef f(ev):\r\n    print ev.attr_value.value\r\ndev.subscribe_event('ampli', PyTango.EventType.CHANGE_EVENT, f, [], True)\r\n```\r\n\r\nChanging to ```from PyTango import DeviceProxy``` works.\r\nThis behaviour appears in 8.1.8 and 9.2.0, it does not appear in 8.1.6. \r\nLet me know if you need any more info, and thanks in advance.\r\n\r\n"}}
{"actor":{"display_login":"meguiraun"}}