{"action":"created","issue":{"url":"https://api.github.com/repos/robotology/yarp/issues/441","labels_url":"https://api.github.com/repos/robotology/yarp/issues/441/labels{/name}","comments_url":"https://api.github.com/repos/robotology/yarp/issues/441/comments","events_url":"https://api.github.com/repos/robotology/yarp/issues/441/events","html_url":"https://github.com/robotology/yarp/issues/441","id":60821822,"number":441,"title":"yarpmotorgui-qt does not close ports on closure","user":{"login":"alecive","id":4378663,"avatar_url":"https://avatars.githubusercontent.com/u/4378663?v=3","gravatar_id":"","url":"https://api.github.com/users/alecive","html_url":"https://github.com/alecive","followers_url":"https://api.github.com/users/alecive/followers","following_url":"https://api.github.com/users/alecive/following{/other_user}","gists_url":"https://api.github.com/users/alecive/gists{/gist_id}","starred_url":"https://api.github.com/users/alecive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecive/subscriptions","organizations_url":"https://api.github.com/users/alecive/orgs","repos_url":"https://api.github.com/users/alecive/repos","events_url":"https://api.github.com/users/alecive/events{/privacy}","received_events_url":"https://api.github.com/users/alecive/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/robotology/yarp/labels/Component:%20yarpmotorgui-qt","name":"Component: yarpmotorgui-qt","color":"02d7e1"},{"url":"https://api.github.com/repos/robotology/yarp/labels/Type:%20Bug","name":"Type: Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"aitek4iit","id":6670003,"avatar_url":"https://avatars.githubusercontent.com/u/6670003?v=3","gravatar_id":"","url":"https://api.github.com/users/aitek4iit","html_url":"https://github.com/aitek4iit","followers_url":"https://api.github.com/users/aitek4iit/followers","following_url":"https://api.github.com/users/aitek4iit/following{/other_user}","gists_url":"https://api.github.com/users/aitek4iit/gists{/gist_id}","starred_url":"https://api.github.com/users/aitek4iit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aitek4iit/subscriptions","organizations_url":"https://api.github.com/users/aitek4iit/orgs","repos_url":"https://api.github.com/users/aitek4iit/repos","events_url":"https://api.github.com/users/aitek4iit/events{/privacy}","received_events_url":"https://api.github.com/users/aitek4iit/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-03-12T13:54:37Z","updated_at":"2015-03-16T16:11:28Z","closed_at":null,"body":"When closing the yarpmotorgui qt, the ports are not closed and are stil available from `yarp name list`.\r\n\r\n```\r\nalecive@malakim:~/Programmazione/iCub/icub-main/build (master)$ yarpmotorgui --robot icubSim\r\n||| configuring\r\n||| no policy found\r\n||| default config file specified as yarpmotorgui.ini\r\n||| checking [/home/alecive/Programmazione/iCub/icub-main/build/yarpmotorgui.ini] (pwd)\r\n||| checking [/home/alecive/.config/yarp/robots/default] (robot YARP_CONFIG_HOME)\r\n||| checking [/home/alecive/.local/share/yarp/robots/default] (robot YARP_DATA_HOME)\r\n||| found /home/alecive/.local/share/yarp/robots/default\r\n||| checking [/etc/xdg/xdg-ubuntu/yarp/robots/default] (robot YARP_CONFIG_DIRS)\r\n||| checking [/usr/share/upstart/xdg/yarp/robots/default] (robot YARP_CONFIG_DIRS)\r\n||| checking [/etc/xdg/yarp/robots/default] (robot YARP_CONFIG_DIRS)\r\n||| checking [/usr/share/ubuntu/yarp/robots/default] (robot YARP_DATA_DIRS)\r\n||| checking [/usr/share/gnome/yarp/robots/default] (robot YARP_DATA_DIRS)\r\n||| checking [/usr/local/share/yarp/robots/default] (robot YARP_DATA_DIRS)\r\n||| checking [/usr/share/yarp/robots/default] (robot YARP_DATA_DIRS)\r\n||| checking [/usr/share/ubuntu/yarp/config/path.d] (robot path.d YARP_DATA_DIRS)\r\n||| checking [/usr/share/gnome/yarp/config/path.d] (robot path.d YARP_DATA_DIRS)\r\n||| checking [/usr/local/share/yarp/config/path.d] (robot path.d YARP_DATA_DIRS)\r\n||| found /usr/local/share/yarp/config/path.d\r\n||| checking [/usr/local/share/ICUBcontrib/robots/default] (robot yarp.d)\r\n||| checking [/usr/local/share/iCub/robots/default] (robot yarp.d)\r\n||| checking [/home/alecive/.local/share/yarp/robots/default/yarpmotorgui.ini] (robot)\r\n||| checking [/home/alecive/.config/yarp/yarpmotorgui.ini] (YARP_CONFIG_HOME)\r\n||| checking [/home/alecive/.local/share/yarp/yarpmotorgui.ini] (YARP_DATA_HOME)\r\n||| checking [/etc/xdg/xdg-ubuntu/yarp/yarpmotorgui.ini] (YARP_CONFIG_DIRS)\r\n||| checking [/usr/share/upstart/xdg/yarp/yarpmotorgui.ini] (YARP_CONFIG_DIRS)\r\n||| checking [/etc/xdg/yarp/yarpmotorgui.ini] (YARP_CONFIG_DIRS)\r\n||| checking [/usr/share/ubuntu/yarp/yarpmotorgui.ini] (YARP_DATA_DIRS)\r\n||| checking [/usr/share/gnome/yarp/yarpmotorgui.ini] (YARP_DATA_DIRS)\r\n||| checking [/usr/local/share/yarp/yarpmotorgui.ini] (YARP_DATA_DIRS)\r\n||| checking [/usr/share/yarp/yarpmotorgui.ini] (YARP_DATA_DIRS)\r\n||| checking [/usr/local/share/ICUBcontrib/yarpmotorgui.ini] (yarp.d)\r\n||| checking [/usr/local/share/iCub/yarpmotorgui.ini] (yarp.d)\r\n||| did not find yarpmotorgui.ini\r\nyarp: cannot read from yarpmotorgui.ini\r\nicub\r\nSetting default parts.\r\nAPPENDING  \"head\" \r\nAPPENDING  \"torso\" \r\nAPPENDING  \"left_arm\" \r\nAPPENDING  \"right_arm\" \r\nAPPENDING  \"left_leg\" \r\nAPPENDING  \"right_leg\" \r\nChecking the existence of: /icubSim/yarpmotorgui0/head/rpc:o \r\nADDRESS is:  \r\nyarp: Port /icubSim/yarpmotorgui0/head/rpc:o active at tcp://10.255.10.167:10044\r\nyarp: Port /icubSim/yarpmotorgui0/head/command:o active at tcp://10.255.10.167:10045\r\nyarp: Port /icubSim/yarpmotorgui0/head/state:i active at tcp://10.255.10.167:10046\r\nyarp: Port /icubSim/yarpmotorgui0/head/stateExt:i active at tcp://10.255.10.167:10047\r\nyarp: Sending output from /icubSim/yarpmotorgui0/head/rpc:o to /icubSim/head/rpc:i using tcp\r\nyarp: Sending output from /icubSim/yarpmotorgui0/head/command:o to /icubSim/head/command:i using udp\r\nyarp: Receiving input from /icubSim/head/state:o to /icubSim/yarpmotorgui0/head/state:i using udp\r\nyarp: Receiving input from /icubSim/head/stateExt:o to /icubSim/yarpmotorgui0/head/stateExt:i using udp\r\n[INFO]created device <remote_controlboard>. See C++ class yarp::dev::RemoteControlBoard for documentation.\r\nSetting a valid finder \r\nyarp: Port /yarpmotorgui/head/sequence:o active at tcp://10.255.10.167:10048\r\nOpening interfaces...Allocating memory \r\nhead iencs->getEncoders() ok!\r\nChecking the existence of: /icubSim/yarpmotorgui0/torso/rpc:o \r\nADDRESS is:  \r\nyarp: Port /icubSim/yarpmotorgui0/torso/rpc:o active at tcp://10.255.10.167:10049\r\nyarp: Port /icubSim/yarpmotorgui0/torso/command:o active at tcp://10.255.10.167:10050\r\nyarp: Port /icubSim/yarpmotorgui0/torso/state:i active at tcp://10.255.10.167:10051\r\nyarp: Port /icubSim/yarpmotorgui0/torso/stateExt:i active at tcp://10.255.10.167:10052\r\nyarp: Sending output from /icubSim/yarpmotorgui0/torso/rpc:o to /icubSim/torso/rpc:i using tcp\r\nyarp: Sending output from /icubSim/yarpmotorgui0/torso/command:o to /icubSim/torso/command:i using udp\r\nyarp: Receiving input from /icubSim/torso/state:o to /icubSim/yarpmotorgui0/torso/state:i using udp\r\nyarp: Receiving input from /icubSim/torso/stateExt:o to /icubSim/yarpmotorgui0/torso/stateExt:i using udp\r\n[INFO]created device <remote_controlboard>. See C++ class yarp::dev::RemoteControlBoard for documentation.\r\nSetting a valid finder \r\nyarp: Port /yarpmotorgui/torso/sequence:o active at tcp://10.255.10.167:10053\r\nOpening interfaces...Allocating memory \r\ntorso iencs->getEncoders() ok!\r\nChecking the existence of: /icubSim/yarpmotorgui0/left_arm/rpc:o \r\nADDRESS is:  \r\nyarp: Port /icubSim/yarpmotorgui0/left_arm/rpc:o active at tcp://10.255.10.167:10054\r\nyarp: Port /icubSim/yarpmotorgui0/left_arm/command:o active at tcp://10.255.10.167:10055\r\nyarp: Port /icubSim/yarpmotorgui0/left_arm/state:i active at tcp://10.255.10.167:10056\r\nyarp: Port /icubSim/yarpmotorgui0/left_arm/stateExt:i active at tcp://10.255.10.167:10057\r\nyarp: Sending output from /icubSim/yarpmotorgui0/left_arm/rpc:o to /icubSim/left_arm/rpc:i using tcp\r\nyarp: Sending output from /icubSim/yarpmotorgui0/left_arm/command:o to /icubSim/left_arm/command:i using udp\r\nyarp: Receiving input from /icubSim/left_arm/state:o to /icubSim/yarpmotorgui0/left_arm/state:i using udp\r\nyarp: Receiving input from /icubSim/left_arm/stateExt:o to /icubSim/yarpmotorgui0/left_arm/stateExt:i using udp\r\n[INFO]created device <remote_controlboard>. See C++ class yarp::dev::RemoteControlBoard for documentation.\r\nSetting a valid finder \r\nyarp: Port /yarpmotorgui/left_arm/sequence:o active at tcp://10.255.10.167:10058\r\nOpening interfaces...Allocating memory \r\nleft_arm iencs->getEncoders() ok!\r\nChecking the existence of: /icubSim/yarpmotorgui0/right_arm/rpc:o \r\nADDRESS is:  \r\nyarp: Port /icubSim/yarpmotorgui0/right_arm/rpc:o active at tcp://10.255.10.167:10059\r\nyarp: Port /icubSim/yarpmotorgui0/right_arm/command:o active at tcp://10.255.10.167:10060\r\nyarp: Port /icubSim/yarpmotorgui0/right_arm/state:i active at tcp://10.255.10.167:10061\r\nyarp: Port /icubSim/yarpmotorgui0/right_arm/stateExt:i active at tcp://10.255.10.167:10062\r\nyarp: Sending output from /icubSim/yarpmotorgui0/right_arm/rpc:o to /icubSim/right_arm/rpc:i using tcp\r\nyarp: Sending output from /icubSim/yarpmotorgui0/right_arm/command:o to /icubSim/right_arm/command:i using udp\r\nyarp: Receiving input from /icubSim/right_arm/state:o to /icubSim/yarpmotorgui0/right_arm/state:i using udp\r\nyarp: Receiving input from /icubSim/right_arm/stateExt:o to /icubSim/yarpmotorgui0/right_arm/stateExt:i using udp\r\n[INFO]created device <remote_controlboard>. See C++ class yarp::dev::RemoteControlBoard for documentation.\r\nSetting a valid finder \r\nyarp: Port /yarpmotorgui/right_arm/sequence:o active at tcp://10.255.10.167:10063\r\nOpening interfaces...Allocating memory \r\nright_arm iencs->getEncoders() ok!\r\n```\r\n```\r\nalecive@malakim:~/Programmazione/iCub/icub-main/build (master)$ yarp name list\r\nregistration name /icub01 ip 10.255.10.167 port 10000 type tcp\r\nregistration name /icubSim/cam ip 10.255.10.167 port 10021 type tcp\r\nregistration name /icubSim/cam/left ip 10.255.10.167 port 10019 type tcp\r\nregistration name /icubSim/cam/left/fovea ip 10.255.10.167 port 10022 type tcp\r\nregistration name /icubSim/cam/left/logpolar ip 10.255.10.167 port 10024 type tcp\r\nregistration name /icubSim/cam/right ip 10.255.10.167 port 10020 type tcp\r\nregistration name /icubSim/cam/right/fovea ip 10.255.10.167 port 10023 type tcp\r\nregistration name /icubSim/cam/right/logpolar ip 10.255.10.167 port 10025 type tcp\r\nregistration name /icubSim/face/eyelids ip 10.255.10.167 port 10043 type tcp\r\nregistration name /icubSim/head/command:i ip 10.255.10.167 port 10035 type tcp\r\nregistration name /icubSim/head/rpc:i ip 10.255.10.167 port 10034 type tcp\r\nregistration name /icubSim/head/state:o ip 10.255.10.167 port 10036 type tcp\r\nregistration name /icubSim/head/stateExt:o ip 10.255.10.167 port 10037 type tcp\r\nregistration name /icubSim/inertial ip 10.255.10.167 port 10007 type tcp\r\nregistration name /icubSim/joint_vsens/left_arm:i ip 10.255.10.167 port 10012 type tcp\r\nregistration name /icubSim/joint_vsens/left_leg:i ip 10.255.10.167 port 10008 type tcp\r\nregistration name /icubSim/joint_vsens/right_arm:i ip 10.255.10.167 port 10011 type tcp\r\nregistration name /icubSim/joint_vsens/right_leg:i ip 10.255.10.167 port 10009 type tcp\r\nregistration name /icubSim/joint_vsens/torso:i ip 10.255.10.167 port 10010 type tcp\r\nregistration name /icubSim/left_arm/command:i ip 10.255.10.167 port 10027 type tcp\r\nregistration name /icubSim/left_arm/rpc:i ip 10.255.10.167 port 10026 type tcp\r\nregistration name /icubSim/left_arm/state:o ip 10.255.10.167 port 10028 type tcp\r\nregistration name /icubSim/left_arm/stateExt:o ip 10.255.10.167 port 10029 type tcp\r\nregistration name /icubSim/right_arm/command:i ip 10.255.10.167 port 10031 type tcp\r\nregistration name /icubSim/right_arm/rpc:i ip 10.255.10.167 port 10030 type tcp\r\nregistration name /icubSim/right_arm/state:o ip 10.255.10.167 port 10032 type tcp\r\nregistration name /icubSim/right_arm/stateExt:o ip 10.255.10.167 port 10033 type tcp\r\nregistration name /icubSim/skin/left_arm_comp ip 10.255.10.167 port 10014 type tcp\r\nregistration name /icubSim/skin/left_forearm_comp ip 10.255.10.167 port 10016 type tcp\r\nregistration name /icubSim/skin/left_hand_comp ip 10.255.10.167 port 10003 type tcp\r\nregistration name /icubSim/skin/left_hand_comp/rpc:i ip 10.255.10.167 port 10004 type tcp\r\nregistration name /icubSim/skin/right_arm_comp ip 10.255.10.167 port 10015 type tcp\r\nregistration name /icubSim/skin/right_forearm_comp ip 10.255.10.167 port 10017 type tcp\r\nregistration name /icubSim/skin/right_hand_comp ip 10.255.10.167 port 10005 type tcp\r\nregistration name /icubSim/skin/right_hand_comp/rpc:i ip 10.255.10.167 port 10006 type tcp\r\nregistration name /icubSim/skin/torso_comp ip 10.255.10.167 port 10018 type tcp\r\nregistration name /icubSim/skinManager/skin_events:o ip 10.255.10.167 port 10013 type tcp\r\nregistration name /icubSim/texture/face ip 10.255.10.167 port 10042 type tcp\r\nregistration name /icubSim/torso/command:i ip 10.255.10.167 port 10039 type tcp\r\nregistration name /icubSim/torso/rpc:i ip 10.255.10.167 port 10038 type tcp\r\nregistration name /icubSim/torso/state:o ip 10.255.10.167 port 10040 type tcp\r\nregistration name /icubSim/torso/stateExt:o ip 10.255.10.167 port 10041 type tcp\r\nregistration name /icubSim/world ip 10.255.10.167 port 10002 type tcp\r\nregistration name /icubSim/yarpmotorgui0/head/command:o ip 10.255.10.167 port 10045 type tcp\r\nregistration name /icubSim/yarpmotorgui0/head/rpc:o ip 10.255.10.167 port 10044 type tcp\r\nregistration name /icubSim/yarpmotorgui0/head/state:i ip 10.255.10.167 port 10046 type tcp\r\nregistration name /icubSim/yarpmotorgui0/head/stateExt:i ip 10.255.10.167 port 10047 type tcp\r\nregistration name /icubSim/yarpmotorgui0/left_arm/command:o ip 10.255.10.167 port 10055 type tcp\r\nregistration name /icubSim/yarpmotorgui0/left_arm/rpc:o ip 10.255.10.167 port 10054 type tcp\r\nregistration name /icubSim/yarpmotorgui0/left_arm/state:i ip 10.255.10.167 port 10056 type tcp\r\nregistration name /icubSim/yarpmotorgui0/left_arm/stateExt:i ip 10.255.10.167 port 10057 type tcp\r\nregistration name /icubSim/yarpmotorgui0/right_arm/command:o ip 10.255.10.167 port 10060 type tcp\r\nregistration name /icubSim/yarpmotorgui0/right_arm/rpc:o ip 10.255.10.167 port 10059 type tcp\r\nregistration name /icubSim/yarpmotorgui0/right_arm/state:i ip 10.255.10.167 port 10061 type tcp\r\nregistration name /icubSim/yarpmotorgui0/right_arm/stateExt:i ip 10.255.10.167 port 10062 type tcp\r\nregistration name /icubSim/yarpmotorgui0/torso/command:o ip 10.255.10.167 port 10050 type tcp\r\nregistration name /icubSim/yarpmotorgui0/torso/rpc:o ip 10.255.10.167 port 10049 type tcp\r\nregistration name /icubSim/yarpmotorgui0/torso/state:i ip 10.255.10.167 port 10051 type tcp\r\nregistration name /icubSim/yarpmotorgui0/torso/stateExt:i ip 10.255.10.167 port 10052 type tcp\r\n```"},"comment":{"url":"https://api.github.com/repos/robotology/yarp/issues/comments/81766505","html_url":"https://github.com/robotology/yarp/issues/441#issuecomment-81766505","issue_url":"https://api.github.com/repos/robotology/yarp/issues/441","id":81766505,"user":{"login":"aitek4iit","id":6670003,"avatar_url":"https://avatars.githubusercontent.com/u/6670003?v=3","gravatar_id":"","url":"https://api.github.com/users/aitek4iit","html_url":"https://github.com/aitek4iit","followers_url":"https://api.github.com/users/aitek4iit/followers","following_url":"https://api.github.com/users/aitek4iit/following{/other_user}","gists_url":"https://api.github.com/users/aitek4iit/gists{/gist_id}","starred_url":"https://api.github.com/users/aitek4iit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aitek4iit/subscriptions","organizations_url":"https://api.github.com/users/aitek4iit/orgs","repos_url":"https://api.github.com/users/aitek4iit/repos","events_url":"https://api.github.com/users/aitek4iit/events{/privacy}","received_events_url":"https://api.github.com/users/aitek4iit/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T16:11:28Z","updated_at":"2015-03-16T16:11:28Z","body":"I've committed a fix. Please try it"}}