{"action":"created","issue":{"url":"https://api.github.com/repos/ros-drivers/audio_common/issues/108","repository_url":"https://api.github.com/repos/ros-drivers/audio_common","labels_url":"https://api.github.com/repos/ros-drivers/audio_common/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/ros-drivers/audio_common/issues/108/comments","events_url":"https://api.github.com/repos/ros-drivers/audio_common/issues/108/events","html_url":"https://github.com/ros-drivers/audio_common/issues/108","id":323557946,"node_id":"MDU6SXNzdWUzMjM1NTc5NDY=","number":108,"title":"Soundplay_node.py not working. Error ","user":{"login":"spyderroque","id":33004842,"node_id":"MDQ6VXNlcjMzMDA0ODQy","avatar_url":"https://avatars2.githubusercontent.com/u/33004842?v=4","gravatar_id":"","url":"https://api.github.com/users/spyderroque","html_url":"https://github.com/spyderroque","followers_url":"https://api.github.com/users/spyderroque/followers","following_url":"https://api.github.com/users/spyderroque/following{/other_user}","gists_url":"https://api.github.com/users/spyderroque/gists{/gist_id}","starred_url":"https://api.github.com/users/spyderroque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyderroque/subscriptions","organizations_url":"https://api.github.com/users/spyderroque/orgs","repos_url":"https://api.github.com/users/spyderroque/repos","events_url":"https://api.github.com/users/spyderroque/events{/privacy}","received_events_url":"https://api.github.com/users/spyderroque/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-05-16T10:17:19Z","updated_at":"2018-06-13T17:15:43Z","closed_at":"2018-05-22T18:11:06Z","author_association":"NONE","body":"Hello, I am new to ROS and to Sound_play.\r\n\r\nWhen I try to execute anything related to sound_play like \r\n`$rosrun sound_play say.py 'hello'`\r\nI receive an error message in the terminal running soundplay_node.py\r\nMessage is:\r\n`command: 1\r\nvolume: 1.0\r\narg: \"hello\"\r\narg2: \"voice_kal_diphone\"\r\n[ERROR] [1526462894.456404]: Exception in callback: global name 'gst' is not defined\r\n[INFO] [1526462894.457356]: Traceback (most recent call last):\r\n  File \"/home/dave/catkin_ws/src/audio_common/sound_play/scripts/soundplay_node.py\", line 286, in callback\r\n    sound = self.select_sound(data)\r\n  File \"/home/dave/catkin_ws/src/audio_common/sound_play/scripts/soundplay_node.py\", line 248, in select_sound\r\n    self.voicesounds[data.arg] = soundtype(wavfilename, self.device, data.volume)\r\n  File \"/home/dave/catkin_ws/src/audio_common/sound_play/scripts/soundplay_node.py\", line 80, in __init__\r\n    self.sound = gst.element_factory_make(\"playbin2\",None)\r\nNameError: global name 'gst' is not defined`\r\n\r\nIs this an error in the file or am I doing something wrong?\r\n"},"comment":{"url":"https://api.github.com/repos/ros-drivers/audio_common/issues/comments/397016380","html_url":"https://github.com/ros-drivers/audio_common/issues/108#issuecomment-397016380","issue_url":"https://api.github.com/repos/ros-drivers/audio_common/issues/108","id":397016380,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzAxNjM4MA==","user":{"login":"trainman419","id":103991,"node_id":"MDQ6VXNlcjEwMzk5MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/103991?v=4","gravatar_id":"","url":"https://api.github.com/users/trainman419","html_url":"https://github.com/trainman419","followers_url":"https://api.github.com/users/trainman419/followers","following_url":"https://api.github.com/users/trainman419/following{/other_user}","gists_url":"https://api.github.com/users/trainman419/gists{/gist_id}","starred_url":"https://api.github.com/users/trainman419/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trainman419/subscriptions","organizations_url":"https://api.github.com/users/trainman419/orgs","repos_url":"https://api.github.com/users/trainman419/repos","events_url":"https://api.github.com/users/trainman419/events{/privacy}","received_events_url":"https://api.github.com/users/trainman419/received_events","type":"User","site_admin":false},"created_at":"2018-06-13T17:15:43Z","updated_at":"2018-06-13T17:15:43Z","author_association":"CONTRIBUTOR","body":"@JanhviK  I've confirmed that this fix has been synced to all of the public deb repositories, so you should be able to fix this by upgrading the audio-common package through apt-get. If you need specific commands to run, please list your Ubuntu and ROS versions."}}
{"actor":{"display_login":"trainman419"}}