{"action":"created","issue":{"url":"https://api.github.com/repos/shivasiddharth/GassistPi/issues/687","repository_url":"https://api.github.com/repos/shivasiddharth/GassistPi","labels_url":"https://api.github.com/repos/shivasiddharth/GassistPi/issues/687/labels{/name}","comments_url":"https://api.github.com/repos/shivasiddharth/GassistPi/issues/687/comments","events_url":"https://api.github.com/repos/shivasiddharth/GassistPi/issues/687/events","html_url":"https://github.com/shivasiddharth/GassistPi/issues/687","id":389896680,"node_id":"MDU6SXNzdWUzODk4OTY2ODA=","number":687,"title":"Youtube playback problem","user":{"login":"V1JCM","id":45793421,"node_id":"MDQ6VXNlcjQ1NzkzNDIx","avatar_url":"https://avatars0.githubusercontent.com/u/45793421?v=4","gravatar_id":"","url":"https://api.github.com/users/V1JCM","html_url":"https://github.com/V1JCM","followers_url":"https://api.github.com/users/V1JCM/followers","following_url":"https://api.github.com/users/V1JCM/following{/other_user}","gists_url":"https://api.github.com/users/V1JCM/gists{/gist_id}","starred_url":"https://api.github.com/users/V1JCM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/V1JCM/subscriptions","organizations_url":"https://api.github.com/users/V1JCM/orgs","repos_url":"https://api.github.com/users/V1JCM/repos","events_url":"https://api.github.com/users/V1JCM/events{/privacy}","received_events_url":"https://api.github.com/users/V1JCM/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-12-11T18:31:29Z","updated_at":"2018-12-14T04:41:17Z","closed_at":null,"author_association":"NONE","body":"**IMPORTANT NOTICE  \r\nIf you do not complete the template below it is likely that your issue will not be addressed. When providing information about your issue please be as extensive as possible so that it can be solved by as little as possible responses.**  \r\n\r\n**FAILURE TO COMPLETE THE REQUESTED INFORMATION WILL RESULT IN YOUR ISSUE BEING CLOSED**    \r\n\r\n### Board and OS details:    \r\nOpen a terminal and run   \r\n```\r\ncat /proc/cpuinfo  \r\ncat /etc/os-release  \r\n```\r\nprocessor       : 0\r\nmodel name      : ARMv7 Processor rev 4 (v7l)\r\nBogoMIPS        : 38.40\r\nFeatures        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32\r\nCPU implementer : 0x41\r\nCPU architecture: 7\r\nCPU variant     : 0x0\r\nCPU part        : 0xd03\r\nCPU revision    : 4\r\n\r\nprocessor       : 1\r\nmodel name      : ARMv7 Processor rev 4 (v7l)\r\nBogoMIPS        : 38.40\r\nFeatures        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32\r\nCPU implementer : 0x41\r\nCPU architecture: 7\r\nCPU variant     : 0x0\r\nCPU part        : 0xd03\r\nCPU revision    : 4\r\n\r\nprocessor       : 2\r\nmodel name      : ARMv7 Processor rev 4 (v7l)\r\nBogoMIPS        : 38.40\r\nFeatures        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32\r\nCPU implementer : 0x41\r\nCPU architecture: 7\r\nCPU variant     : 0x0\r\nCPU part        : 0xd03\r\nCPU revision    : 4\r\n\r\nprocessor       : 3\r\nmodel name      : ARMv7 Processor rev 4 (v7l)\r\nBogoMIPS        : 38.40\r\nFeatures        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32\r\nCPU implementer : 0x41\r\nCPU architecture: 7\r\nCPU variant     : 0x0\r\nCPU part        : 0xd03\r\nCPU revision    : 4\r\n\r\nHardware        : BCM2835\r\nRevision        : a02082\r\nSerial          : 000000001e7d2e18\r\n\r\n\r\n```\r\nPaste your Board and OS details here.   \r\n``\r\nPRETTY_NAME=\"Raspbian GNU/Linux 9 (stretch)\"\r\nNAME=\"Raspbian GNU/Linux\"\r\nVERSION_ID=\"9\"\r\nVERSION=\"9 (stretch)\"\r\nID=raspbian\r\nID_LIKE=debian\r\nHOME_URL=\"http://www.raspbian.org/\"\r\nSUPPORT_URL=\"http://www.raspbian.org/RaspbianForums\"\r\nBUG_REPORT_URL=\"http://www.raspbian.org/RaspbianBugs\"\r\n`\r\n\r\n### Describe the bug:\r\n```\r\nGassistPI works otherwise fine, but could not get Youtube playback to work. I have inserted the Google_cloud_api_key in the config.yaml. When trying to ge the youtube playback to happen, google says initiating the playback, then says the song can't be found. When run from the prompt, I get errors like \r\nImportError: No module named 'google.appengine'\r\n\r\nI have no /pi/mediavolume.json file, other hidden files I do have\r\nI did: \r\n source env/bin/activate\r\n pip install -U youtube-dl\r\n sudo pip install -U youtube-dl\r\nDid not help...\r\n\r\n\r\n\r\n```\r\n\r\n### Did you go through or search the issues section to check if your issue was already discussed (either currently open issues or closed issues).\r\nYes\r\n\r\n### 2. Is the issue related to assistant installation ?\r\nNo\r\n\r\n### If answer to question 2 is Yes, then paste the contents of the terminal below.\r\n\r\n```\r\n\r\n```\r\n\r\n### If answer to question 2 is No, then proceed further.\r\n### 3. Does the assistant service start normally?\r\nYes\r\n\r\n### 4. Is the assistant service restarting automatically?\r\nNo\r\n\r\n### If answer to question 4 is Yes, then paste the contents of the terminal below.\r\n\r\n```\r\n\r\n```\r\n\r\n### If answer to question 4 is No, then proceed further.\r\n### Manually start the assistant. For guidelines to start the assistant manually refer [this](https://github.com/shivasiddharth/GassistPi#manually-start-the-assistant)\r\n\r\n### Paste the command below, that crashed the assistant\r\n```\r\n\r\n```\r\n\r\n### Paste the contents of the terminal below\r\n```\r\nON_END_OF_UTTERANCE\r\nON_RECOGNIZING_SPEECH_FINISHED:\r\n  {\"text\": \"play I got you from YouTube\"}\r\nON_RECOGNIZING_SPEECH_FINISHED:\r\n  {\"text\": \"play I got you from YouTube\"}\r\nstopping vlc\r\nGetting youtube link\r\nWARNING:gtts.tts:Unable to get language list: 'NoneType' object is not subscriptable\r\nHigh Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3\r\n        version 1.23.8; written and copyright by Michael Hipp and others\r\n        free software (LGPL) without any warranty but with best wishes\r\n\r\nDirectory: /tmp/\r\n\r\nTerminal control enabled, press 'h' for listing of keys and functions.\r\n\r\nPlaying MPEG stream 1 of 1: say.mp3 ...\r\n\r\nMPEG 2.0 L III cbr32 24000 mono\r\n\r\n[0:01] Decoding of say.mp3 finished.\r\ni got you\r\nWARNING:googleapiclient.discovery_cache:file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth\r\nTraceback (most recent call last):\r\n  File \"/home/pi/env/lib/python3.5/site-packages/googleapiclient/discovery_cache/__init__.py\", line 36, in autodetect\r\n    from google.appengine.api import memcache\r\nImportError: No module named 'google.appengine'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/pi/env/lib/python3.5/site-packages/googleapiclient/discovery_cache/file_cache.py\", line 33, in <module>\r\n    from oauth2client.contrib.locked_file import LockedFile\r\nImportError: No module named 'oauth2client.contrib.locked_file'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/pi/env/lib/python3.5/site-packages/googleapiclient/discovery_cache/file_cache.py\", line 37, in <module>\r\n    from oauth2client.locked_file import LockedFile\r\nImportError: No module named 'oauth2client.locked_file'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/pi/env/lib/python3.5/site-packages/googleapiclient/discovery_cache/__init__.py\", line 41, in autodetect\r\n    from . import file_cache\r\n  File \"/home/pi/env/lib/python3.5/site-packages/googleapiclient/discovery_cache/file_cache.py\", line 41, in <module>\r\n    'file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth')\r\nImportError: file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth\r\nIt is no longer available in youtube\r\nWARNING:gtts.tts:Unable to get language list: 'NoneType' object is not subscriptable\r\nHigh Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3\r\n        version 1.23.8; written and copyright by Michael Hipp and others\r\n        free software (LGPL) without any warranty but with best wishes\r\n\r\nDirectory: /tmp/\r\n\r\nTerminal control enabled, press 'h' for listing of keys and functions.\r\n\r\nPlaying MPEG stream 1 of 1: say.mp3 ...\r\n\r\nMPEG 2.0 L III cbr32 24000 mono\r\n\r\n[0:03] Decoding of say.mp3 finished.\r\nON_CONVERSATION_TURN_FINISHED:\r\n  {\"with_follow_on_turn\": false}\r\nON_CONVERSATION_TURN_FINISHED:\r\n  {\"with_follow_on_turn\": false}\r\n\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/shivasiddharth/GassistPi/issues/comments/447211249","html_url":"https://github.com/shivasiddharth/GassistPi/issues/687#issuecomment-447211249","issue_url":"https://api.github.com/repos/shivasiddharth/GassistPi/issues/687","id":447211249,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzIxMTI0OQ==","user":{"login":"V1JCM","id":45793421,"node_id":"MDQ6VXNlcjQ1NzkzNDIx","avatar_url":"https://avatars0.githubusercontent.com/u/45793421?v=4","gravatar_id":"","url":"https://api.github.com/users/V1JCM","html_url":"https://github.com/V1JCM","followers_url":"https://api.github.com/users/V1JCM/followers","following_url":"https://api.github.com/users/V1JCM/following{/other_user}","gists_url":"https://api.github.com/users/V1JCM/gists{/gist_id}","starred_url":"https://api.github.com/users/V1JCM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/V1JCM/subscriptions","organizations_url":"https://api.github.com/users/V1JCM/orgs","repos_url":"https://api.github.com/users/V1JCM/repos","events_url":"https://api.github.com/users/V1JCM/events{/privacy}","received_events_url":"https://api.github.com/users/V1JCM/received_events","type":"User","site_admin":false},"created_at":"2018-12-14T04:41:17Z","updated_at":"2018-12-14T04:41:17Z","author_association":"NONE","body":"Will do tonight! Thank you!"}}
{"actor":{"display_login":"V1JCM"}}