{"action":"closed","issue":{"url":"https://api.github.com/repos/ray-project/ray/issues/3482","repository_url":"https://api.github.com/repos/ray-project/ray","labels_url":"https://api.github.com/repos/ray-project/ray/issues/3482/labels{/name}","comments_url":"https://api.github.com/repos/ray-project/ray/issues/3482/comments","events_url":"https://api.github.com/repos/ray-project/ray/issues/3482/events","html_url":"https://github.com/ray-project/ray/issues/3482","id":388098155,"node_id":"MDU6SXNzdWUzODgwOTgxNTU=","number":3482,"title":"Report \"No handlers could be found for logger 'ray.worker' when importing ray","user":{"login":"xutianming","id":4970790,"node_id":"MDQ6VXNlcjQ5NzA3OTA=","avatar_url":"https://avatars0.githubusercontent.com/u/4970790?v=4","gravatar_id":"","url":"https://api.github.com/users/xutianming","html_url":"https://github.com/xutianming","followers_url":"https://api.github.com/users/xutianming/followers","following_url":"https://api.github.com/users/xutianming/following{/other_user}","gists_url":"https://api.github.com/users/xutianming/gists{/gist_id}","starred_url":"https://api.github.com/users/xutianming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xutianming/subscriptions","organizations_url":"https://api.github.com/users/xutianming/orgs","repos_url":"https://api.github.com/users/xutianming/repos","events_url":"https://api.github.com/users/xutianming/events{/privacy}","received_events_url":"https://api.github.com/users/xutianming/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-06T08:05:06Z","updated_at":"2018-12-07T05:08:47Z","closed_at":"2018-12-07T05:08:47Z","author_association":"CONTRIBUTOR","body":"<!--\r\nGeneral questions should be asked on the mailing list ray-dev@googlegroups.com.\r\n\r\nBefore submitting an issue, please fill out the following form.\r\n-->\r\n\r\n### System information\r\n- **OS Platform and Distribution (e.g., Linux Ubuntu 16.04)**: Linux CentOS 7\r\n- **Ray installed from (source or binary)**: source, latest master\r\n- **Ray version**:0.6.0\r\n- **Python version**: Anaconda Python 2.7.15\r\n- **Exact command to reproduce**: import ray\r\n\r\n<!--\r\nYou can obtain the Ray version with\r\n\r\npython -c \"import ray; print(ray.__version__)\"\r\n-->\r\n\r\n### Describe the problem\r\n<!-- Describe the problem clearly here. -->\r\nRay reports \"No handlers could be found for logger 'ray.worker' \" when importing ray.\r\n![image](https://user-images.githubusercontent.com/4970790/49569693-9c135980-f96f-11e8-8d7c-f1dff842456b.png)\r\n\r\nMore error messages are printed when calling \"ray.init(use_raylet=True)\"\r\n![image](https://user-images.githubusercontent.com/4970790/49569764-cd8c2500-f96f-11e8-8c0e-5cdfc823155e.png)\r\n\r\n\r\n### Source code / logs\r\n<!-- Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem. -->\r\n\r\nAn recent pull request [#3415](https://github.com/ray-project/ray/pull/3415) moved setproctitle to ray[debug] and setproctitle is not installed by default.\r\n\r\nWithout setproctitle installed, the warning message on [#L79](https://github.com/ray-project/ray/blob/master/python/ray/worker.py#L79) should be printed. But logger has not been correctly configured using logging.basicConfig. "}}
{"actor":{"display_login":"xutianming"}}