{"action":"created","issue":{"url":"https://api.github.com/repos/dz0ny/mopidy-youtube/issues/29","labels_url":"https://api.github.com/repos/dz0ny/mopidy-youtube/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/dz0ny/mopidy-youtube/issues/29/comments","events_url":"https://api.github.com/repos/dz0ny/mopidy-youtube/issues/29/events","html_url":"https://github.com/dz0ny/mopidy-youtube/issues/29","id":86122429,"number":29,"title":"Problem with searching","user":{"login":"jezalb","id":2864367,"avatar_url":"https://avatars.githubusercontent.com/u/2864367?v=3","gravatar_id":"","url":"https://api.github.com/users/jezalb","html_url":"https://github.com/jezalb","followers_url":"https://api.github.com/users/jezalb/followers","following_url":"https://api.github.com/users/jezalb/following{/other_user}","gists_url":"https://api.github.com/users/jezalb/gists{/gist_id}","starred_url":"https://api.github.com/users/jezalb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jezalb/subscriptions","organizations_url":"https://api.github.com/users/jezalb/orgs","repos_url":"https://api.github.com/users/jezalb/repos","events_url":"https://api.github.com/users/jezalb/events{/privacy}","received_events_url":"https://api.github.com/users/jezalb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-08T10:36:18Z","updated_at":"2015-06-08T11:47:44Z","closed_at":null,"body":"Hi,\r\n\r\nI try to do search method on mopidy youtube extension, request looks like this:\r\n\r\n```\r\n{\r\n  \"method\": \"core.library.search\",\r\n  \"jsonrpc\": \"2.0\",\r\n  \"params\": {\r\n    \"query\": {\"any\":[\"machine\"]},\r\n    \"uris\": [\"yt:\"]\r\n  },\r\n  \"id\": 1\r\n}\r\n```\r\nbut I get this error:\r\n```\r\n{\r\n  \"jsonrpc\": \"2.0\",\r\n  \"id\": 1,\r\n  \"error\": {\r\n    \"message\": \"Application error\",\r\n    \"code\": 0,\r\n    \"data\": {\r\n      \"message\": \"'Thread' object has no attribute '_children'\",\r\n      \"traceback\": \"Traceback (most recent call last):\\n  File \\\"/usr/lib/python2.7/dist-packages/mopidy/utils/jsonrpc.py\\\", line 132, in _handle_single_request\\n    result = self._unwrap_result(result)\\n  File \\\"/usr/lib/python2.7/dist-packages/mopidy/utils/jsonrpc.py\\\", line 221, in _unwrap_result\\n    result = result.get()\\n  File \\\"/usr/lib/python2.7/dist-packages/pykka/future.py\\\", line 299, in get\\n    exec('raise exc_info[0], exc_info[1], exc_info[2]')\\n  File \\\"/usr/lib/python2.7/dist-packages/pykka/actor.py\\\", line 200, in _actor_loop\\n    response = self._handle_receive(message)\\n  File \\\"/usr/lib/python2.7/dist-packages/pykka/actor.py\\\", line 294, in _handle_receive\\n    return callee(*message['args'], **message['kwargs'])\\n  File \\\"/usr/lib/python2.7/dist-packages/mopidy/core/library.py\\\", line 253, in search\\n    results.append(future.get())\\n  File \\\"/usr/lib/python2.7/dist-packages/pykka/future.py\\\", line 299, in get\\n    exec('raise exc_info[0], exc_info[1], exc_info[2]')\\n  File \\\"/usr/lib/python2.7/dist-packages/pykka/actor.py\\\", line 200, in _actor_loop\\n    response = self._handle_receive(message)\\n  File \\\"/usr/lib/python2.7/dist-packages/pykka/actor.py\\\", line 294, in _handle_receive\\n    return callee(*message['args'], **message['kwargs'])\\n  File \\\"/usr/local/lib/python2.7/dist-packages/mopidy_youtube/backend.py\\\", line 181, in search\\n    tracks=search_youtube(search_query)\\n  File \\\"/usr/local/lib/python2.7/dist-packages/mopidy_youtube/backend.py\\\", line 90, in search_youtube\\n    resolve_pool = ThreadPool(processes=16)\\n  File \\\"/usr/lib/python2.7/multiprocessing/pool.py\\\", line 685, in __init__\\n    Pool.__init__(self, processes, initializer, initargs)\\n  File \\\"/usr/lib/python2.7/multiprocessing/pool.py\\\", line 136, in __init__\\n    self._repopulate_pool()\\n  File \\\"/usr/lib/python2.7/multiprocessing/pool.py\\\", line 199, in _repopulate_pool\\n    w.start()\\n  File \\\"/usr/lib/python2.7/multiprocessing/dummy/__init__.py\\\", line 73, in start\\n    self._parent._children[self] = None\\nAttributeError: 'Thread' object has no attribute '_children'\\n\",\r\n      \"type\": \"AttributeError\"\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nAm I doing something wrong or it's a extension bug? \r\n\r\nMopidy version: 1.0.5\r\nMopidy-Youtube version: 2.0.0"},"comment":{"url":"https://api.github.com/repos/dz0ny/mopidy-youtube/issues/comments/109960747","html_url":"https://github.com/dz0ny/mopidy-youtube/issues/29#issuecomment-109960747","issue_url":"https://api.github.com/repos/dz0ny/mopidy-youtube/issues/29","id":109960747,"user":{"login":"jezalb","id":2864367,"avatar_url":"https://avatars.githubusercontent.com/u/2864367?v=3","gravatar_id":"","url":"https://api.github.com/users/jezalb","html_url":"https://github.com/jezalb","followers_url":"https://api.github.com/users/jezalb/followers","following_url":"https://api.github.com/users/jezalb/following{/other_user}","gists_url":"https://api.github.com/users/jezalb/gists{/gist_id}","starred_url":"https://api.github.com/users/jezalb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jezalb/subscriptions","organizations_url":"https://api.github.com/users/jezalb/orgs","repos_url":"https://api.github.com/users/jezalb/repos","events_url":"https://api.github.com/users/jezalb/events{/privacy}","received_events_url":"https://api.github.com/users/jezalb/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T11:47:44Z","updated_at":"2015-06-08T11:47:44Z","body":"uname -a\r\n\r\nLinux blazej-HP-EliteBook-8460p 3.19.3-031903-generic #201503261036 SMP Thu Mar 26 14:37:55 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\r\n\r\nMy OS is ElementaryOS."}}