{"action":"opened","issue":{"url":"https://api.github.com/repos/m-labs/artiq/issues/283","repository_url":"https://api.github.com/repos/m-labs/artiq","labels_url":"https://api.github.com/repos/m-labs/artiq/issues/283/labels{/name}","comments_url":"https://api.github.com/repos/m-labs/artiq/issues/283/comments","events_url":"https://api.github.com/repos/m-labs/artiq/issues/283/events","html_url":"https://github.com/m-labs/artiq/issues/283","id":135226121,"number":283,"title":"artiq_rpctool --target not working","user":{"login":"jordens","id":1338946,"avatar_url":"https://avatars.githubusercontent.com/u/1338946?v=3","gravatar_id":"","url":"https://api.github.com/users/jordens","html_url":"https://github.com/jordens","followers_url":"https://api.github.com/users/jordens/followers","following_url":"https://api.github.com/users/jordens/following{/other_user}","gists_url":"https://api.github.com/users/jordens/gists{/gist_id}","starred_url":"https://api.github.com/users/jordens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordens/subscriptions","organizations_url":"https://api.github.com/users/jordens/orgs","repos_url":"https://api.github.com/users/jordens/repos","events_url":"https://api.github.com/users/jordens/events{/privacy}","received_events_url":"https://api.github.com/users/jordens/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/m-labs/artiq/labels/prio:3-serious","name":"prio:3-serious","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"sbourdeauducq","id":720864,"avatar_url":"https://avatars.githubusercontent.com/u/720864?v=3","gravatar_id":"","url":"https://api.github.com/users/sbourdeauducq","html_url":"https://github.com/sbourdeauducq","followers_url":"https://api.github.com/users/sbourdeauducq/followers","following_url":"https://api.github.com/users/sbourdeauducq/following{/other_user}","gists_url":"https://api.github.com/users/sbourdeauducq/gists{/gist_id}","starred_url":"https://api.github.com/users/sbourdeauducq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbourdeauducq/subscriptions","organizations_url":"https://api.github.com/users/sbourdeauducq/orgs","repos_url":"https://api.github.com/users/sbourdeauducq/repos","events_url":"https://api.github.com/users/sbourdeauducq/events{/privacy}","received_events_url":"https://api.github.com/users/sbourdeauducq/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/m-labs/artiq/milestones/1","html_url":"https://github.com/m-labs/artiq/milestones/1.0","labels_url":"https://api.github.com/repos/m-labs/artiq/milestones/1/labels","id":1543322,"number":1,"title":"1.0","description":"","creator":{"login":"jordens","id":1338946,"avatar_url":"https://avatars.githubusercontent.com/u/1338946?v=3","gravatar_id":"","url":"https://api.github.com/users/jordens","html_url":"https://github.com/jordens","followers_url":"https://api.github.com/users/jordens/followers","following_url":"https://api.github.com/users/jordens/following{/other_user}","gists_url":"https://api.github.com/users/jordens/gists{/gist_id}","starred_url":"https://api.github.com/users/jordens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordens/subscriptions","organizations_url":"https://api.github.com/users/jordens/orgs","repos_url":"https://api.github.com/users/jordens/repos","events_url":"https://api.github.com/users/jordens/events{/privacy}","received_events_url":"https://api.github.com/users/jordens/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":15,"state":"open","created_at":"2016-01-26T04:36:52Z","updated_at":"2016-02-21T16:47:18Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-02-21T16:47:18Z","updated_at":"2016-02-21T16:47:18Z","closed_at":null,"body":"Seems to always choose `AutoTarget` and then complains. Or am I doing something wrong here:\r\n\r\n```\r\n(py35)rj@tito:~/work/nist/artiq/run (master)$ artiq_rpctool localhost 3251 list-targets\r\nTarget(s):   master_dataset_db, master_device_db, master_experiment_db, master_schedule\r\n(py35)rj@tito:~/work/nist/artiq/run (master)$ artiq_rpctool localhost 3251 list-methods -h\r\nusage: artiq_rpctool server port list-methods [-h] [-t TARGET]\r\n\r\noptional arguments:\r\n  -h, --help            show this help message and exit\r\n  -t TARGET, --target TARGET\r\n                        target name\r\n(py35)rj@tito:~/work/nist/artiq/run (master)$ artiq_rpctool localhost 3251 list-methods -t master_device_db\r\nTraceback (most recent call last):\r\n  File \"/home/rj/src/conda/envs/py35/bin/artiq_rpctool\", line 9, in <module>\r\n    load_entry_point('artiq', 'console_scripts', 'artiq_rpctool')()\r\n  File \"/home/rj/work/nist/artiq/artiq/frontend/artiq_rpctool.py\", line 90, in main\r\n    remote.select_rpc_target(AutoTarget)\r\n  File \"/home/rj/work/nist/artiq/artiq/protocols/pc_rpc.py\", line 120, in select_rpc_target\r\n    target_name = _validate_target_name(target_name, self.__target_names)\r\n  File \"/home/rj/work/nist/artiq/artiq/protocols/pc_rpc.py\", line 55, in _validate_target_name\r\n    \" \".join(sorted(target_names)))\r\nValueError: Server has multiple targets: master_dataset_db master_device_db master_experiment_db master_schedule\r\n(py35)rj@tito:~/work/nist/artiq/run (master)$\r\n```"}}