{"action":"created","issue":{"url":"https://api.github.com/repos/ray-project/ray/issues/1778","repository_url":"https://api.github.com/repos/ray-project/ray","labels_url":"https://api.github.com/repos/ray-project/ray/issues/1778/labels{/name}","comments_url":"https://api.github.com/repos/ray-project/ray/issues/1778/comments","events_url":"https://api.github.com/repos/ray-project/ray/issues/1778/events","html_url":"https://github.com/ray-project/ray/issues/1778","id":308424977,"number":1778,"title":"ray AttributeError","user":{"login":"zhangkefeng","id":3657371,"avatar_url":"https://avatars2.githubusercontent.com/u/3657371?v=4","gravatar_id":"","url":"https://api.github.com/users/zhangkefeng","html_url":"https://github.com/zhangkefeng","followers_url":"https://api.github.com/users/zhangkefeng/followers","following_url":"https://api.github.com/users/zhangkefeng/following{/other_user}","gists_url":"https://api.github.com/users/zhangkefeng/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangkefeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangkefeng/subscriptions","organizations_url":"https://api.github.com/users/zhangkefeng/orgs","repos_url":"https://api.github.com/users/zhangkefeng/repos","events_url":"https://api.github.com/users/zhangkefeng/events{/privacy}","received_events_url":"https://api.github.com/users/zhangkefeng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-26T03:49:38Z","updated_at":"2018-03-26T06:41:13Z","closed_at":null,"author_association":"NONE","body":"sync_parameter_server.py  cluster ray failed：\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/disk0/fuchang01/python27-14/lib/python2.7/site-packages/ray/worker.py\", line 770, in _process_task\r\n    *arguments)\r\n  File \"/home/disk0/fuchang01/python27-14/lib/python2.7/site-packages/ray/actor.py\", line 162, in actor_method_executor\r\n    return method(actor, *args)\r\n  File \"sync_parameter_server.py\", line 24, in __init__\r\nAttributeError: 'module' object has no attribute 'SimpleCNN'\r\n\r\n  You can inspect errors by running\r\n\r\n      ray.error_info()\r\n\r\n  If this driver is hanging, start a new one with\r\n\r\n      ray.init(redis_address=\"10.255.90.19:8777\")\r\n\r\nRemote function get_weights failed with:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/disk0/fuchang01/python27-14/lib/python2.7/site-packages/ray/worker.py\", line 770, in _process_task\r\n    *arguments)\r\n  File \"/home/disk0/fuchang01/python27-14/lib/python2.7/site-packages/ray/actor.py\", line 162, in actor_method_executor\r\n    return method(actor, *args)\r\n  File \"sync_parameter_server.py\", line 31, in get_weights\r\nAttributeError: 'ParameterServer' object has no attribute 'net'\r\n\r\nI have to put import file into sync_parameter_server.py.\r\n\r\n<!--\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)**:\r\n- **Ray installed from (source or binary)**:\r\n- **Ray version**:\r\n- **Python version**:\r\n- **Exact command to reproduce**:\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\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"},"comment":{"url":"https://api.github.com/repos/ray-project/ray/issues/comments/376061832","html_url":"https://github.com/ray-project/ray/issues/1778#issuecomment-376061832","issue_url":"https://api.github.com/repos/ray-project/ray/issues/1778","id":376061832,"user":{"login":"robertnishihara","id":249517,"avatar_url":"https://avatars3.githubusercontent.com/u/249517?v=4","gravatar_id":"","url":"https://api.github.com/users/robertnishihara","html_url":"https://github.com/robertnishihara","followers_url":"https://api.github.com/users/robertnishihara/followers","following_url":"https://api.github.com/users/robertnishihara/following{/other_user}","gists_url":"https://api.github.com/users/robertnishihara/gists{/gist_id}","starred_url":"https://api.github.com/users/robertnishihara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertnishihara/subscriptions","organizations_url":"https://api.github.com/users/robertnishihara/orgs","repos_url":"https://api.github.com/users/robertnishihara/repos","events_url":"https://api.github.com/users/robertnishihara/events{/privacy}","received_events_url":"https://api.github.com/users/robertnishihara/received_events","type":"User","site_admin":false},"created_at":"2018-03-26T06:41:13Z","updated_at":"2018-03-26T06:41:13Z","author_association":"CONTRIBUTOR","body":"What is the exact command that you're running to cause this error? In particular, are you attaching to an existing Ray cluster or starting it locally?\r\n\r\nRunning\r\n\r\n```\r\ncd examples/parameter_server\r\npython sync_parameter_server.py\r\n```\r\n\r\nseems to work for me.\r\n\r\nYou said \"I have to put import file into sync_parameter_server.py\". Can you clarify what you mean by that? What import statement did you have to add, and where did you add it?"}}
{"actor":{"display_login":"robertnishihara"}}