shivasiddharth / GassistPi

Google Assistant for Single Board Computers
Other
1.02k stars 304 forks source link

Respeaker 6mic and 8mic not working #1043

Open butteryak opened 3 years ago

butteryak commented 3 years ago

Which branch of GassistPi are you using ?

recent 8/29 master

Board and OS details:

Paste your Board and OS details here.

processor : 0 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 38.40 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4

processor : 1 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 38.40 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4

processor : 2 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 38.40 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4

processor : 3 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 38.40 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4

Hardware : BCM2835 Revision : a020d3 Serial : 000000008327e12b Model : Raspberry Pi 3 Model B Plus Rev 1.3

PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Describe the bug:

When initiating gassist to play a song on youtube, gassist crashes. It worked fine when I was previously using a USB sound card, but when I recently added a Respeaker 4-mic linear array, it now crashes when trying to play a song off youtube.

Did you go through or search the issues section to check if your issue was already discussed (either currently open issues or closed issues)?

Yes, I could not find an issue similiar to mine with the same errors.

2. Is the issue related to assistant installation ?

No

If answer to question 2 is Yes, then attach the contents of terminal as a file or paste it below.

If answer to question 2 is No, then proceed further.

3. Does the assistant service start normally?

Yes, everything seems to work as normal, starts fine.

4. Is the assistant service restarting automatically?

No

If answer to question 4 is Yes, then paste the contents of the terminal below.

If answer to question 4 is No, then proceed further.

Manually start the assistant. For guidelines to start the assistant manually refer this

Paste the command below, that crashed the assistant

Hey google, play Sade from youtube (this normally works fine)

Paste the contents of the terminal below

contents from manual start (I skipped all the depreciation warnings)

INFO:gmusicapi.Mobileclient1:!-- begin debug log --! INFO:gmusicapi.Mobileclient1:version: 13.0.0 INFO:gmusicapi.Mobileclient1:logging to: /home/pi/.cache/gmusicapi/log/gmusicapi.log INFO:gmusicapi.Mobileclient1:initialized INFO:gmusicapi.Mobileclient1:logged out INFO:gmusicapi.Mobileclient1:oauth successful INFO:gmusicapi.Mobileclient1:authenticated DEBUG:gmusicapi.Mobileclient1:Config(args=[], kwargs={'required_auth': [False, False, True, False]}) DEBUG:gmusicapi.Mobileclient1:{'kind': 'sj#configList', 'data': {'entries': [{'kind': 'sj#configEntry', 'key': 'canManageFP', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'shouldShowLocalSuggestions', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'purchaseAccess', 'value': '3'}, {'kind': 'sj#configEntry', 'key': 'wsVdtMillis', 'value': '30000'}, {'kind': 'sj#configEntry', 'key': 'sideloadedPlaybackLogging', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'isWarmWelcomeDisabledForWoodstock', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'canCancelSubscription', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'nashvillebg', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'isVsAvailable', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'canBrowseSt', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'appstoreRatingPrompt', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'upsellDrawerCtaMessage', 'value': 'SUBSCRIBE NOW'}, {'kind': 'sj#configEntry', 'key': 'upsellDrawerDownloadMessage', 'value': "Download and listen to any song, album, or station when you're not connected"}, {'kind': 'sj#configEntry', 'key': 'wsVatMillis', 'value': '5000'}, {'kind': 'sj#configEntry', 'key': 'nuqRequiredForWsSignup', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'upsellSkipLimitTwoLeftCtaMessage', 'value': 'GET MORE'}, {'kind': 'sj#configEntry', 'key': 'upsellNewReleasesCtaMessage', 'value': 'SUBSCRIBE'}, {'kind': 'sj#configEntry', 'key': 'upsellListenNowCtaMessage', 'value': 'SUBSCRIBE'}, {'kind': 'sj#configEntry', 'key': 'enableWsExtras', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'upsellSignedOutMessage', 'value': 'Subscribe to get millions of songs on-demand, offline, and ad-free'}, {'kind': 'sj#configEntry', 'key': 'topListMaxSize', 'value': '500'}, {'kind': 'sj#configEntry', 'key': 'upsellSkipLimitTwoLeftMessage', 'value': '2 skips left'}, {'kind': 'sj#configEntry', 'key': 'showLMark', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'conciergeListenNow', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'minimumAppStartCountForFreeUpsell', 'value': '6'}, {'kind': 'sj#configEntry', 'key': 'upsellPreviousCtaMessage', 'value': 'SUBSCRIBE'}, {'kind': 'sj#configEntry', 'key': 'upsellDownloadMessage', 'value': "Download and listen to any song, album, or station when you're not connected"}, {'kind': 'sj#configEntry', 'key': 'showYoutubeRedInfoCard', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'concListenNow', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'instantSearchDelay', 'value': '300'}, {'kind': 'sj#configEntry', 'key': 'upsellChartsMessage', 'value': 'Subscribe to play any song or album'}, {'kind': 'sj#configEntry', 'key': 'isPodcastSyncEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'upsellChartsCtaMessage', 'value': 'SUBSCRIBE'}, {'kind': 'sj#configEntry', 'key': 'showViOSL', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'topListUpdatePeriodSeconds', 'value': '604800'}, {'kind': 'sj#configEntry', 'key': 'isSuggestDeletionEnabled', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'shouldShowServerSuggestions', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'situationsResponseTTLMinutes', 'value': '30'}, {'kind': 'sj#configEntry', 'key': 'isFoplessNautilusUser', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'appStartCountForFreeUpsellRevisionNumber', 'value': '1459804296734'}, {'kind': 'sj#configEntry', 'key': 'mgRPBDesc', 'value': ''}, {'kind': 'sj#configEntry', 'key': 'partridgeManagement', 'value': '2'}, {'kind': 'sj#configEntry', 'key': 'showB', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'showA', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'shouldEnableThriller', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'isPodcastsEnabledZ', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'upsellThumbsUpMessage', 'value': 'Subscribe to play any song or album'}, {'kind': 'sj#configEntry', 'key': 'topListPageSize', 'value': '100'}, {'kind': 'sj#configEntry', 'key': 'isHallmarkEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'upsellThumbsUpCtaMessage', 'value': 'SUBSCRIBE'}, {'kind': 'sj#configEntry', 'key': 'uploadAccess', 'value': '3'}, {'kind': 'sj#configEntry', 'key': 'isNautilusAvailable', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'nautilusAccess', 'value': '2'}, {'kind': 'sj#configEntry', 'key': 'isQuizEnabledForWoodstockOnSignup', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'showO', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'disabledConnectivityTimeoutMs', 'value': '200000'}, {'kind': 'sj#configEntry', 'key': 'hasPControlSettings', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'wasRecentlyInFoplessNautilus', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'showV', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'upsellSignedOutCtaMessage', 'value': 'SUBSCRIBE'}, {'kind': 'sj#configEntry', 'key': 'forceSignupFlow', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'isNautilusUser', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'isLNEnabled', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'wasEverInNautilus', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'ytContent', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'upsellSkipLimitOneLeftCtaMessage', 'value': 'GET MORE'}, {'kind': 'sj#configEntry', 'key': 'wsAatMillis', 'value': '5000'}, {'kind': 'sj#configEntry', 'key': 'partridgeAccess', 'value': '2'}, {'kind': 'sj#configEntry', 'key': 'warmWelcomeButtonText', 'value': 'LISTEN_NOW'}, {'kind': 'sj#configEntry', 'key': 'upsellPrerollVideoCtaMessage', 'value': 'SUBSCRIBE'}, {'kind': 'sj#configEntry', 'key': 'isTrAvailable', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'isInAppMessageEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'disableInfoCardsOnDayOne', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'partridgeUpsellTitle', 'value': 'Unlimited music for you and your family'}, {'kind': 'sj#configEntry', 'key': 'canRC', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'searchClusterResponseEnabled', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'upsellSkipLimitCtaMessage', 'value': 'SUBSCRIBE'}, {'kind': 'sj#configEntry', 'key': 'accountType', 'value': 'Google Play Music Free'}, {'kind': 'sj#configEntry', 'key': 'upsellPrerollVideoMessage', 'value': 'Subscribe for all of the music on-demand and offline with none of the ads'}, {'kind': 'sj#configEntry', 'key': 'upsellListenNowMessage', 'value': 'Subscribe to get millions of songs on-demand, offline, and ad-free'}, {'kind': 'sj#configEntry', 'key': 'partridgeUpsellBody', 'value': 'Subscribe to Google Play Music family plan to give up to 6 people access to millions of songs, ad-free, for just $14.99/month.'}, {'kind': 'sj#configEntry', 'key': 'isSuggestRequestEnabled', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'experimentIdsToLog', 'value': '12600335,12600357,12600390,12600394,12600397,12600426,12600428,12600430,12600435,12600445,12600465,12600466,12600467,12600506,12600526,12600530,12600536,12602068,12604244,12604245,12604246,12611729,12612165,12612188,12612247,12616614,12616615,12617467,12619023,12619033,12619127,12620830,12625361,12625500,12625941,12626008,12626945,12627281,12627951,12628654,12629142,12629667,12630065,12630209,12631091,12632064,12632720,12633320,12634000,12635213,12636020,12641834,12641838,12642011,12642809,12643537,12648818,12649047,12650284,12650285,12652170,12653224,12653393,12653567,12655808,12656567,12657925,12658555,12658847,12660587,12664007,12664317,12664580,12667660,12669086,12669482,12671098,12672319,12672321,12672324,12672325,12672332,12672782,12673278,12673392,12673485,12673574,12673925,12674608,20350003,20350004,20350006'}, {'kind': 'sj#configEntry', 'key': 'isExplicitRestrictedByPControl', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'isAnyServiceAvailable', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'pieDayOneCard', 'value': 'NO_EXPERIMENT'}, {'kind': 'sj#configEntry', 'key': 'upsellPreviousMessage', 'value': 'Replay that song and millions of others, anytime'}, {'kind': 'sj#configEntry', 'key': 'isAcceptedUser', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'appStartCountForFreeUpsell', 'value': '250'}, {'kind': 'sj#configEntry', 'key': 'wsAccess', 'value': '3'}, {'kind': 'sj#configEntry', 'key': 'fcapConfigJson', 'value': '{\n "userTenureIntervalWindow": {\n "startMillis": "0",\n "endMillis": "432000000"\n },\n "adsSessionConfig": [{\n "sessionIntervalWindow": {\n "startMillis": "0",\n "endMillis": "3600000"\n },\n "firstAdOffsetMillis": "1740000",\n "timeBetweenAdsMillis": "1740000"\n }, {\n "sessionIntervalWindow": {\n "startMillis": "3600000",\n "endMillis": "2592000000"\n },\n "firstAdOffsetMillis": "1740000",\n "timeBetweenAdsMillis": "1740000"\n }]\n}'}, {'kind': 'sj#configEntry', 'key': 'androidTvEntityPageSize', 'value': '10'}, {'kind': 'sj#configEntry', 'key': 'isPlSharingEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'showLNInSettings', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'mgRPB', 'value': 'Improve your recommendations'}, {'kind': 'sj#configEntry', 'key': 'ytSubscriptionAccess', 'value': '1'}, {'kind': 'sj#configEntry', 'key': 'partridgeUpsellCallToAction', 'value': 'LEARN MORE'}, {'kind': 'sj#configEntry', 'key': 'upsellDrawerDownloadCtaMessage', 'value': 'SUBSCRIBE'}, {'kind': 'sj#configEntry', 'key': 'upsellSkipLimitOneLeftMessage', 'value': '1 skip left'}, {'kind': 'sj#configEntry', 'key': 'isDeviceVersionBlacklisted', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'wsPrefetchedAaeMillis', 'value': '1800000'}, {'kind': 'sj#configEntry', 'key': 'minimumGsaVersionRequiredForSoundSearch', 'value': '300407000'}, {'kind': 'sj#configEntry', 'key': 'isSoundSearchEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'podcastBrowseCategories', 'value': '{"groups":[{"id":"JZCpodcasttopchart","displayName":"Top Charts"}]}'}, {'kind': 'sj#configEntry', 'key': 'suggestRequestDelayMillis', 'value': '150'}, {'kind': 'sj#configEntry', 'key': 'partridgeUpsellDismissal', 'value': 'NO THANKS'}, {'kind': 'sj#configEntry', 'key': 'upsellSkipLimitMessage', 'value': "You're out of skips. Get on-demand and offline access to millions of songs."}, {'kind': 'sj#configEntry', 'key': 'upsellDownloadCtaMessage', 'value': 'SUBSCRIBE'}, {'kind': 'sj#configEntry', 'key': 'isInstantSearchEnabled', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'hasNewUserQuizPermission', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'upsellNewReleasesMessage', 'value': 'Subscribe to play any song or album'}, {'kind': 'sj#configEntry', 'key': 'persistentSubscriptionTrackUserLimit', 'value': '100001'}, {'kind': 'sj#configEntry', 'key': 'shouldValidateMediaRoutes', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'mediaRoutePackageSignatures', 'value': '[{"packages": ["com.google.android.music", "com.google.android.setupwarlock", "com.google.android.gms"], "sha1s": ["38918A453D07199354F8B19AF05EC6562CED5788", "58E1C4133F7441EC3D2C270270A14802DA47BA0E"]}, {"packages": ["com.sonos.acr"], "sha1s": ["7387C9EB17CC5972F2B2FDF3E192884A78F24E7E", "62E2D848EF6FD0F8978F650D5DF9605786E26673", "9407A78494B106461537E1FC4E5D877E5ABCC7B3", "B6EA208733731F0CA8A123155830457C876130C4", "B703697E509B186616D83E978064A7A4F8D18775"]}]'}, {'kind': 'sj#configEntry', 'key': 'enableFallbackForShortUrls', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'iosEnableStreamInterception', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'enableStructuredLogging', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'enableHttpsAlbumArt', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'isUpgradeTempCacheForKeeponEnabled', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'iosEnableCQ', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'castReceiverAppId', 'value': '2872939A'}, {'kind': 'sj#configEntry', 'key': 'iosHashCastAppContext', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'iosEnableWoodstockCloudQueue', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'iosEnableBackgroundDownloading', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'iosEnableRadioDownloads', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'iosRadioDownloadsAlwaysUseDownloadedSongs', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'iosRadioDownloadsEagerRefill', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'iosRadioDownloadsBatchSize', 'value': '25'}, {'kind': 'sj#configEntry', 'key': 'iosRadioDownloadsReadyPercent', 'value': '80'}, {'kind': 'sj#configEntry', 'key': 'iosEnableGPMAudioPlayer', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'iosEnableGPMAudioPlayerFMP4', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'enableAndroidChromecastCloudQueue', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'enableAndroidChromecastCloudQueueWoodstock', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'enableAndroidDialCloudQueue', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'iosEnableSonos', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'enableMpsOverride', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'enableReportAllPlayEventsInRealtime', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'askForNautilusCancellationReason', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'autoDogfoodStackCandidate', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'enableDGEvaluation', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'androidEnableAdaptiveHome', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'iosEnableAdaptiveHome', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'enableOkHttp', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'isSyncLoggingEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'enableOnePushSync', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'iosEnableOnepushNew', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'iosEnableGcmRegistrationNew', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'androidEnableEntitySuggest', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'iosEnableEntitySuggest', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'musicFeedbackLogs', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'isPrimesOdysseyEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'isPrimesClearcutEnabled', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'isPrimesMemoryEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'isPrimesLatencyLoggingEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'iosEnableStickyNav', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'androidEnableStickyNav', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'androidEnableAdaptiveHomeForMediaBrowser', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'androidEnableFastFirstTrack2', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'androidEnableDownloadLatencyLogging', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'enablePlayQualityIcon', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'androidEnableFmp4AacOnPlaybackV1', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'androidEnableFmp4AacOnPlaybackV2', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'iosMinimumBackgroundFetchIntervalSeconds', 'value': '0'}, {'kind': 'sj#configEntry', 'key': 'syncExperimentsToLogViaSyncService', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'androidEnableSilentFeedback', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'headphoneRecommendationNotification', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'androidEnableEntityBrowserForMediaBrowser', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'enableDynamicOffers', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'enableDynamicOffersWithCoupons', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'disableULRReportingiOS', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'iosForegroundLocationFetchTimeoutMs', 'value': '0'}, {'kind': 'sj#configEntry', 'key': 'isBtAutoplaySettingEnabled', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'isWaitForSyncAfterSignupEnabled', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'isPrimesCrashEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'isPrimesPackageEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'androidMediaStoreMismatchRecovery', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'show_fake_fsi', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'fake_fsi_title', 'value': ''}, {'kind': 'sj#configEntry', 'key': 'fake_fsi_body', 'value': ''}, {'kind': 'sj#configEntry', 'key': 'fake_fsi_background_url', 'value': ''}, {'kind': 'sj#configEntry', 'key': 'fake_fsi_logo_url', 'value': ''}, {'kind': 'sj#configEntry', 'key': 'fake_fsi_positive_action_text', 'value': ''}, {'kind': 'sj#configEntry', 'key': 'fake_fsi_positive_action_url', 'value': ''}, {'kind': 'sj#configEntry', 'key': 'fake_fsi_dismissal_action_text', 'value': ''}, {'kind': 'sj#configEntry', 'key': 'redirect_get_nautilus_enabled', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'isDownloadedOnlyModeToggleChangePingEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'isDownloadedOnlyModeSessionStartPingEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'music_fcm_private_api_key', 'value': 'AIzaSyC26tD_hHAxYIR1ZpGA8l7L2_Pk3G8eaFA'}, {'kind': 'sj#configEntry', 'key': 'isLockoutEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'isTransferInMenuEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'transferInMenuUrl', 'value': 'https://music.youtube.com/signin?action_handle_signin=true&feature=masthead_switcher&next=https%3A%2F%2Fmusic.youtube.com%2Ftransfer%3Fmode%3Dappstore&skip_identity_prompt=True'}, {'kind': 'sj#configEntry', 'key': 'isPersistentNotificationsEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'webviewTransferEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'isLocationHistoryBottomSheetEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'isPlaylistExportInSettingsEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'androidTvFsiAnimatedVariant', 'value': 'true'}]}} DEBUG:gmusicapi.Mobileclient1:GetDeviceManagementInfo(args=[], kwargs={'required_auth': [False, False, True, False]}) DEBUG:gmusicapi.Mobileclient1:{'kind': 'sj#userClientIdList'} [02078d90] vlcpulse audio output error: PulseAudio server connection failure: Connection refused [0207ebd8] vlcpulse audio output error: PulseAudio server connection failure: Connection refused Respeaker-6-Mic Initializing GPIOs 5 and 6 for assistant activity indication Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 924 Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 924 ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21 ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21 ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40 ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41 ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50 ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51 ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71 ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 934 Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 934 Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 934 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5036:(snd_config_expand) Args evaluate error: No such file or directory ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM bluealsa ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5036:(snd_config_expand) Args evaluate error: No such file or directory ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM bluealsa Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

ALSA lib pcm_a52.c:823:(_snd_pcm_a52_open) a52 is only for playback ALSA lib conf.c:5014:(snd_config_expand) Unknown parameters {AES0 0x6 AES1 0x82 AES2 0x0 AES3 0x2 CARD 0} ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM iec958:{AES0 0x6 AES1 0x82 AES2 0x0 AES3 0x2 CARD 0} ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_dsnoop.c:575:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream ALSA lib pcm_dmix.c:1043:(snd_pcm_dmix_open) The dmix plugin supports only playback stream Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock /home/pi/env/lib/python3.7/site-packages/google/assistant/library/assistant.py:90: DeprecationWarning: Google Assistant Library for Python is deprecated warnings.warn('Google Assistant Library for Python is deprecated', DeprecationWarning) device_model_id: gooass2-9eca2-gooass2-wqtwc3 device_id: C183ACC23EA552859B893AD1647A20C8

ON_MUTED_CHANGED: {"is_muted": false}

ON_START_FINISHED

ON_MEDIA_STATE_IDLE

ON_CONVERSATION_TURN_STARTED

ON_END_OF_UTTERANCE

ON_END_OF_UTTERANCE

ON_RECOGNIZING_SPEECH_FINISHED: {"text": "play Sade on YouTube"}

stopping vlc High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.25.10; written and copyright by Michael Hipp and others free software (LGPL) without any warranty but with best wishes

Directory: /tmp/

Terminal control enabled, press 'h' for listing of keys and functions.

Playing MPEG stream 1 of 1: female-say.mp3 ...

MPEG 2.0 L III cbr32 24000 mono

[0:01] Decoding of female-say.mp3 finished. sade on youtub python: src/hostapi/alsa/pa_linux_alsa.c:3641: PaAlsaStreamComponent_BeginPolling: Assertion `ret == self->nfds' failed. Fatal Python error: Aborted

Thread 0x606fd460 (most recent call first): File "/home/pi/GassistPi/src/snowboydecoder.py", line 159 in start File "/home/pi/GassistPi/src/main.py", line 475 in start_detector File "/usr/lib/python3.7/threading.py", line 865 in run File "/usr/lib/python3.7/threading.py", line 917 in _bootstrap_inner File "/usr/lib/python3.7/threading.py", line 885 in _bootstrap

Thread 0x628ff460 (most recent call first): File "/home/pi/GassistPi/src/main.py", line 248 in pushbutton File "/usr/lib/python3.7/threading.py", line 865 in run File "/usr/lib/python3.7/threading.py", line 917 in _bootstrap_inner File "/usr/lib/python3.7/threading.py", line 885 in _bootstrap

Thread 0x676f5460 (most recent call first): File "/usr/lib/python3.7/threading.py", line 300 in wait File "/usr/lib/python3.7/threading.py", line 552 in wait File "/usr/lib/python3.7/threading.py", line 1164 in run File "/usr/lib/python3.7/threading.py", line 917 in _bootstrap_inner File "/usr/lib/python3.7/threading.py", line 885 in _bootstrap

Thread 0x76f41ad0 (most recent call first): File "/usr/lib/python3.7/re.py", line 183 in search File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 987 in _search_regex File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1398 in _parse_sig_js File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1326 in _extract_signature_function File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1426 in _decrypt_signature File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 2107 in _real_extract File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 530 in extract File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 797 in extract_info File "/home/pi/env/lib/python3.7/site-packages/pafy/backend_youtube_dl.py", line 40 in _fetch_basic File "/home/pi/env/lib/python3.7/site-packages/pafy/backend_shared.py", line 97 in init File "/home/pi/env/lib/python3.7/site-packages/pafy/backend_youtube_dl.py", line 31 in init File "/home/pi/env/lib/python3.7/site-packages/pafy/pafy.py", line 124 in new File "/home/pi/GassistPi/src/youtube_search_engine.py", line 125 in youtube_stream_link File "/home/pi/GassistPi/src/actions.py", line 1175 in YouTube_No_Autoplay File "/home/pi/GassistPi/src/main.py", line 738 in custom_command File "/home/pi/GassistPi/src/main.py", line 389 in process_event File "/home/pi/GassistPi/src/main.py", line 1016 in main File "/home/pi/GassistPi/src/main.py", line 1024 in Aborted

ALSO, here is the debug file:

2020-09-01 11:28:24,323 : DEBUG : text: Getting youtube link 2020-09-01 11:28:24,324 : DEBUG : lang: en 2020-09-01 11:28:24,326 : DEBUG : slow: False 2020-09-01 11:28:24,327 : DEBUG : lang_check: True 2020-09-01 11:28:24,328 : DEBUG : pre_processor_funcs: [<function tone_marks at 0x6f721b28>, <function end_of_line at 0x6f721d68>, <function abbreviations at 0x6f721e88>, <function word_sub at 0$ 2020-09-01 11:28:24,328 : DEBUG : tokenizer_func: <bound method Tokenizer.run of re.compile('(?<=\?).|(?<=!).|(?<=?).|(?<=!).|(?<!\.[a-z])\. |(?<!\.[a-z]), |…|\[|。|،|—|¡|‥|\]|、|;|\(|>$ 2020-09-01 11:28:24,349 : DEBUG : Starting new HTTP connection (1): translate.google.com:80 2020-09-01 11:28:25,059 : DEBUG : http://translate.google.com:80 "GET / HTTP/1.1" 302 226 2020-09-01 11:28:25,081 : DEBUG : Starting new HTTPS connection (1): translate.google.com:443 2020-09-01 11:28:26,606 : DEBUG : https://translate.google.com:443 "GET / HTTP/1.1" 200 None 2020-09-01 11:28:27,001 : DEBUG : Starting new HTTP connection (1): translate.google.com:80 2020-09-01 11:28:27,698 : DEBUG : http://translate.google.com:80 "GET //translate/releases/twsfe_w_20200825_RC00/r/js/translate_m.js HTTP/1.1" 200 569982 2020-09-01 11:28:30,313 : DEBUG : langs: {'af': 'Afrikaans', 'sq': 'Albanian', 'ar': 'Arabic', 'hy': 'Armenian', 'bn': 'Bengali', 'bs': 'Bosnian', 'ca': 'Catalan', 'hr': 'Croatian', 'cs': 'Czech$ 2020-09-01 11:28:30,315 : DEBUG : pre-processing: <function tone_marks at 0x6f721b28> 2020-09-01 11:28:30,324 : DEBUG : pre-processing: <function end_of_line at 0x6f721d68> 2020-09-01 11:28:30,325 : DEBUG : pre-processing: <function abbreviations at 0x6f721e88> 2020-09-01 11:28:30,337 : DEBUG : pre-processing: <function word_sub at 0x6f72d2b8> 2020-09-01 11:28:30,339 : DEBUG : text_parts: 1 2020-09-01 11:28:30,362 : DEBUG : Starting new HTTPS connection (1): translate.google.com:443 2020-09-01 11:28:31,896 : DEBUG : https://translate.google.com:443 "GET / HTTP/1.1" 200 None 2020-09-01 11:28:32,201 : DEBUG : payload-0: {'ie': 'UTF-8', 'q': 'Getting youtube link', 'tl': 'en', 'ttsspeed': 1, 'total': 1, 'idx': 0, 'client': 'tw-ob', 'textlen': 20, 'tk': '999642.624600'} 2020-09-01 11:28:32,220 : DEBUG : Starting new HTTPS connection (1): translate.google.com:443 2020-09-01 11:28:34,198 : DEBUG : https://translate.google.com:443 "GET /translate_tts?ie=UTF-8&q=Getting+youtube+link&tl=en&ttsspeed=1&total=1&idx=0&client=tw-ob&textlen=20&tk=999642.624600 HTT$ 2020-09-01 11:28:34,210 : DEBUG : headers-0: {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36', 'Accept-Encoding': '$ 2020-09-01 11:28:34,211 : DEBUG : url-0: https://translate.google.com/translate_tts?ie=UTF-8&q=Getting+youtube+link&tl=en&ttsspeed=1&total=1&idx=0&client=tw-ob&textlen=20&tk=999642.624600 2020-09-01 11:28:34,212 : DEBUG : status-0: 200 2020-09-01 11:28:34,213 : DEBUG : part-0 written to <_io.BufferedWriter name='/tmp/female-say.mp3'> 2020-09-01 11:28:34,213 : DEBUG : Saved to /tmp/female-say.mp3 2020-09-01 11:28:35,956 : WARNING : file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth Traceback (most recent call last): File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/file_cache.py", line 33, in from oauth2client.contrib.locked_file import LockedFile ModuleNotFoundError: No module named 'oauth2client.contrib.locked_file'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/file_cache.py", line 37, in from oauth2client.locked_file import LockedFile ModuleNotFoundError: No module named 'oauth2client.locked_file'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/init.py", line 44, in autodetect from . import file_cache File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/file_cache.py", line 41, in "file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth" ImportError: file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth 2020-09-01 11:28:35,966 : DEBUG : URL being requested: GET https://www.googleapis.com/discovery/v1/apis/youtube/v3/rest?key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 2020-09-01 11:28:37,872 : DEBUG : URL being requested: GET https://www.googleapis.com/youtube/v3/search?q=sade+on+youtub&part=id%2Csnippet&key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&alt=json

shivasiddharth commented 3 years ago

If you hide your Youtube key, I have no way of seeing if its working or not. Run the command again and post things as such without removing anything.

butteryak commented 3 years ago

sorry, my bad, thought I was being secure ;-) thanks much for any input you can offer :-)

here is the log file:

2020-09-01 19:39:42,340 : DEBUG : Making request: POST https://accounts.google.com/o/oauth2/token 2020-09-01 19:39:42,352 : DEBUG : Starting new HTTPS connection (1): accounts.google.com:443 2020-09-01 19:39:46,742 : DEBUG : https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2020-09-01 19:40:14,374 : DEBUG : text: Getting youtube link 2020-09-01 19:40:14,375 : DEBUG : lang: en 2020-09-01 19:40:14,375 : DEBUG : slow: False 2020-09-01 19:40:14,376 : DEBUG : lang_check: True 2020-09-01 19:40:14,376 : DEBUG : pre_processor_funcs: [<function tone_marks at 0x6f697ae0>, <function end_of_line at 0x6f697d20>, <function abbreviations at 0x6f697e40>, <function word_sub at 0$ 2020-09-01 19:40:14,377 : DEBUG : tokenizer_func: <bound method Tokenizer.run of re.compile('(?<=\?).|(?<=!).|(?<=?).|(?<=!).|(?<!\.[a-z])\. |(?<!\.[a-z]), |¿|‥|\)|¡|、|\]|\[|…|—|,|\($ 2020-09-01 19:40:14,390 : DEBUG : Starting new HTTP connection (1): translate.google.com:80 2020-09-01 19:40:16,980 : DEBUG : http://translate.google.com:80 "GET / HTTP/1.1" 302 226 2020-09-01 19:40:16,999 : DEBUG : Starting new HTTPS connection (1): translate.google.com:443 2020-09-01 19:40:19,159 : DEBUG : https://translate.google.com:443 "GET / HTTP/1.1" 200 None 2020-09-01 19:40:20,001 : DEBUG : Starting new HTTP connection (1): translate.google.com:80 2020-09-01 19:40:21,301 : DEBUG : http://translate.google.com:80 "GET //translate/releases/twsfe_w_20200825_RC00/r/js/translate_m.js HTTP/1.1" 200 569982 2020-09-01 19:40:25,916 : DEBUG : langs: {'af': 'Afrikaans', 'sq': 'Albanian', 'ar': 'Arabic', 'hy': 'Armenian', 'bn': 'Bengali', 'bs': 'Bosnian', 'ca': 'Catalan', 'hr': 'Croatian', 'cs': 'Czech$ 2020-09-01 19:40:25,917 : DEBUG : pre-processing: <function tone_marks at 0x6f697ae0> 2020-09-01 19:40:25,918 : DEBUG : pre-processing: <function end_of_line at 0x6f697d20> 2020-09-01 19:40:25,919 : DEBUG : pre-processing: <function abbreviations at 0x6f697e40> 2020-09-01 19:40:25,923 : DEBUG : pre-processing: <function word_sub at 0x6f6a3270> 2020-09-01 19:40:25,923 : DEBUG : text_parts: 1 2020-09-01 19:40:25,929 : DEBUG : Starting new HTTPS connection (1): translate.google.com:443 2020-09-01 19:40:27,666 : DEBUG : https://translate.google.com:443 "GET / HTTP/1.1" 200 None 2020-09-01 19:40:27,889 : DEBUG : payload-0: {'ie': 'UTF-8', 'q': 'Getting youtube link', 'tl': 'en', 'ttsspeed': 1, 'total': 1, 'idx': 0, 'client': 'tw-ob', 'textlen': 20, 'tk': '123121.468987'} 2020-09-01 19:40:27,906 : DEBUG : Starting new HTTPS connection (1): translate.google.com:443 2020-09-01 19:40:29,746 : DEBUG : https://translate.google.com:443 "GET /translate_tts?ie=UTF-8&q=Getting+youtube+link&tl=en&ttsspeed=1&total=1&idx=0&client=tw-ob&textlen=20&tk=123121.468987 HTT$ 2020-09-01 19:40:29,756 : DEBUG : headers-0: {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36', 'Accept-Encoding': '$ 2020-09-01 19:40:29,758 : DEBUG : url-0: https://translate.google.com/translate_tts?ie=UTF-8&q=Getting+youtube+link&tl=en&ttsspeed=1&total=1&idx=0&client=tw-ob&textlen=20&tk=123121.468987 2020-09-01 19:40:29,759 : DEBUG : status-0: 200 2020-09-01 19:40:29,759 : DEBUG : part-0 written to <_io.BufferedWriter name='/tmp/female-say.mp3'> 2020-09-01 19:40:29,760 : DEBUG : Saved to /tmp/female-say.mp3 2020-09-01 19:40:31,529 : WARNING : file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth Traceback (most recent call last): File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/file_cache.py", line 33, in from oauth2client.contrib.locked_file import LockedFile ModuleNotFoundError: No module named 'oauth2client.contrib.locked_file'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/file_cache.py", line 37, in from oauth2client.locked_file import LockedFile ModuleNotFoundError: No module named 'oauth2client.locked_file'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/init.py", line 44, in autodetect from . import file_cache File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/file_cache.py", line 41, in "file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth" ImportError: file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth 2020-09-01 19:40:31,533 : DEBUG : URL being requested: GET https://www.googleapis.com/discovery/v1/apis/youtube/v3/rest?key=AIzaSyCjKvTf8C0cAc3lfXVmdmpyCPl2Uz_l4Qo 2020-09-01 19:40:33,523 : DEBUG : URL being requested: GET https://www.googleapis.com/youtube/v3/search?q=sade+on+youtub&part=id%2Csnippet&key=AIzaSyCjKvTf8C0cAc3lfXVmdmpyCPl2Uz_l4Qo&alt=json

and uncut manual start output:

/home/${USER}/env/bin/python -u /home/${USER}/GassistPi/src/main.py --device_model_id 'gooass2-9eca2-gooass2-wqtwc3' --project_id 'gooass2-9eca2' /home/pi/env/lib/python3.7/site-packages/google/api/http_pb2.py:35: DeprecationWarning: Call to deprecated create function FileDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. serialized_pb=b'\n\x15google/api/http.proto\x12\ngoogle.api"T\n\x04Http\x12#\n\x05rules\x18\x01 \x03(\x0b\x32\x14.google.api.HttpRule\x12\'\n\x1f\x66ully_decode_reserved_expansion\x18\x02 \x01(\x08"\x81\x02\n\x08HttpRule\x12\x10\n\x08selector\x18\x01 \x01(\t\x12\r\n\x03get\x18\x02 \x01(\tH\x00\x12\r\n\x03put\x18\x03 \x01(\tH\x00\x12\x0e\n\x04post\x18\x04 \x01(\tH\x00\x12\x10\n\x06\x64\x65lete\x18\x05 \x01(\tH\x00\x12\x0f\n\x05patch\x18\x06 \x01(\tH\x00\x12/\n\x06\x63ustom\x18\x08 \x01(\x0b\x32\x1d.google.api.CustomHttpPatternH\x00\x12\x0c\n\x04\x62ody\x18\x07 \x01(\t\x12\x15\n\rresponse_body\x18\x0c \x01(\t\x12\x31\n\x13\x61\x64\x64itional_bindings\x18\x0b \x03(\x0b\x32\x14.google.api.HttpRuleB\t\n\x07pattern"/\n\x11\x43ustomHttpPattern\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\tBj\n\x0e\x63om.google.apiB\tHttpProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xf8\x01\x01\xa2\x02\x04GAPIb\x06proto3', /home/pi/env/lib/python3.7/site-packages/google/api/http_pb2.py:62: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/api/http_pb2.py:80: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/api/http_pb2.py:92: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. serialized_end=121, /home/pi/env/lib/python3.7/site-packages/google/api/http_pb2.py:119: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/api/http_pb2.py:137: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/api/http_pb2.py:155: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/api/http_pb2.py:173: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/api/http_pb2.py:191: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/api/http_pb2.py:209: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/api/http_pb2.py:227: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/api/http_pb2.py:245: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/api/http_pb2.py:263: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/api/http_pb2.py:281: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/api/http_pb2.py:297: DeprecationWarning: Call to deprecated create function OneofDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. fields=[], /home/pi/env/lib/python3.7/site-packages/google/api/http_pb2.py:301: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. serialized_end=381, /home/pi/env/lib/python3.7/site-packages/google/api/http_pb2.py:328: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/api/http_pb2.py:346: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/api/http_pb2.py:358: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. serialized_end=430, /home/pi/env/lib/python3.7/site-packages/google/api/annotations_pb2.py:42: DeprecationWarning: Call to deprecated create function FileDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. google_dot_protobuf_dot_descriptorpb2.DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/api/annotations_pb2.py:64: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/rpc/status_pb2.py:39: DeprecationWarning: Call to deprecated create function FileDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. dependencies=[google_dot_protobuf_dot_anypb2.DESCRIPTOR], /home/pi/env/lib/python3.7/site-packages/google/rpc/status_pb2.py:66: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/rpc/status_pb2.py:84: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/rpc/status_pb2.py:102: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/rpc/status_pb2.py:114: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. serialized_end=144, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:48: DeprecationWarning: Call to deprecated create function FileDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. google_dot_rpc_dot_status__pb2.DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:70: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:97: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:115: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:133: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:151: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:169: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:185: DeprecationWarning: Call to deprecated create function OneofDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. fields=[], /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:189: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. serialized_end=373, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:216: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:228: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. serialized_end=410, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:255: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:273: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:291: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:309: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:321: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. serialized_end=504, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:348: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:366: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:378: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. serialized_end=606, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:405: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:417: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. serialized_end=646, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:444: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:456: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. serialized_end=686, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:483: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:501: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. file=DESCRIPTOR, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:513: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. serialized_end=749, /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:640: DeprecationWarning: Call to deprecated create function MethodDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. serialized_options=b"\202\323\344\223\002\027\022\025/v1/{name=operations}", /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:649: DeprecationWarning: Call to deprecated create function MethodDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. serialized_options=b"\202\323\344\223\002\032\022\030/v1/{name=operations/}", /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:658: DeprecationWarning: Call to deprecated create function MethodDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. serialized_options=b"\202\323\344\223\002\032\030/v1/{name=operations/}", /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:667: DeprecationWarning: Call to deprecated create function MethodDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. serialized_options=b'\202\323\344\223\002$"\037/v1/{name=operations/}:cancel:\001', /home/pi/env/lib/python3.7/site-packages/google/longrunning/operations_proto_pb2.py:667: DeprecationWarning: Call to deprecated create function ServiceDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. serialized_options=b'\202\323\344\223\002$"\037/v1/{name=operations/}:cancel:\001', /home/pi/env/lib/python3.7/site-packages/google/rpc/code_pb2.py:36: DeprecationWarning: Call to deprecated create function FileDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. serialized_pb=b"\n\x15google/rpc/code.proto\x12\ngoogle.rpc\xb7\x02\n\x04\x43ode\x12\x06\n\x02OK\x10\x00\x12\r\n\tCANCELLED\x10\x01\x12\x0b\n\x07UNKNOWN\x10\x02\x12\x14\n\x10INVALID_ARGUMENT\x10\x03\x12\x15\n\x11\x44\x45\x41\x44LINE_EXCEEDED\x10\x04\x12\r\n\tNOT_FOUND\x10\x05\x12\x12\n\x0e\x41LREADY_EXISTS\x10\x06\x12\x15\n\x11PERMISSION_DENIED\x10\x07\x12\x13\n\x0fUNAUTHENTICATED\x10\x10\x12\x16\n\x12RESOURCE_EXHAUSTED\x10\x08\x12\x17\n\x13\x46\x41ILED_PRECONDITION\x10\t\x12\x0b\n\x07\x41\x42ORTED\x10\n\x12\x10\n\x0cOUT_OF_RANGE\x10\x0b\x12\x11\n\rUNIMPLEMENTED\x10\x0c\x12\x0c\n\x08INTERNAL\x10\r\x12\x0f\n\x0bUNAVAILABLE\x10\x0e\x12\r\n\tDATA_LOSS\x10\x0f\x42X\n\x0e\x63om.google.rpcB\tCodeProtoP\x01Z3google.golang.org/genproto/googleapis/rpc/code;code\xa2\x02\x03RPCb\x06proto3", /home/pi/env/lib/python3.7/site-packages/google/rpc/code_pb2.py:46: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. name="OK", index=0, number=0, serialized_options=None, type=None /home/pi/env/lib/python3.7/site-packages/google/rpc/code_pb2.py:49: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. name="CANCELLED", index=1, number=1, serialized_options=None, type=None /home/pi/env/lib/python3.7/site-packages/google/rpc/code_pb2.py:52: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. name="UNKNOWN", index=2, number=2, serialized_options=None, type=None /home/pi/env/lib/python3.7/site-packages/google/rpc/code_pb2.py:59: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. type=None, /home/pi/env/lib/python3.7/site-packages/google/rpc/code_pb2.py:66: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. type=None, /home/pi/env/lib/python3.7/site-packages/google/rpc/code_pb2.py:69: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. name="NOT_FOUND", index=5, number=5, serialized_options=None, type=None /home/pi/env/lib/python3.7/site-packages/google/rpc/code_pb2.py:72: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. name="ALREADY_EXISTS", index=6, number=6, serialized_options=None, type=None /home/pi/env/lib/python3.7/site-packages/google/rpc/code_pb2.py:79: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. type=None, /home/pi/env/lib/python3.7/site-packages/google/rpc/code_pb2.py:86: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. type=None, /home/pi/env/lib/python3.7/site-packages/google/rpc/code_pb2.py:93: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. type=None, /home/pi/env/lib/python3.7/site-packages/google/rpc/code_pb2.py:100: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. type=None, /home/pi/env/lib/python3.7/site-packages/google/rpc/code_pb2.py:103: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. name="ABORTED", index=11, number=10, serialized_options=None, type=None /home/pi/env/lib/python3.7/site-packages/google/rpc/code_pb2.py:106: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. name="OUT_OF_RANGE", index=12, number=11, serialized_options=None, type=None /home/pi/env/lib/python3.7/site-packages/google/rpc/code_pb2.py:113: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. type=None, /home/pi/env/lib/python3.7/site-packages/google/rpc/code_pb2.py:116: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. name="INTERNAL", index=14, number=13, serialized_options=None, type=None /home/pi/env/lib/python3.7/site-packages/google/rpc/code_pb2.py:119: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. name="UNAVAILABLE", index=15, number=14, serialized_options=None, type=None /home/pi/env/lib/python3.7/site-packages/google/rpc/code_pb2.py:122: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. name="DATA_LOSS", index=16, number=15, serialized_options=None, type=None /home/pi/env/lib/python3.7/site-packages/google/rpc/code_pb2.py:128: DeprecationWarning: Call to deprecated create function EnumDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. serialized_end=349, /home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/proto/cloud_speech_pb2.py:32: DeprecationWarning: Call to deprecated create function FileDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. dependencies=[google_dot_api_dot_annotationspb2.DESCRIPTOR,google_dot_longrunning_dot_operationspb2.DESCRIPTOR,google_dot_protobuf_dot_anypb2.DESCRIPTOR,google_dot_protobuf_dot_durationpb2.DESCRIPTOR,google_dot_protobuf_dot_emptypb2.DESCRIPTOR,google_dot_protobuf_dot_timestamppb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) /home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/proto/cloud_speech_pb2.py:45: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. type=None), /home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/proto/cloud_speech_pb2.py:49: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. type=None), /home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/proto/cloud_speech_pb2.py:53: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. type=None), /home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/proto/cloud_speech_pb2.py:57: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. type=None), /home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/proto/cloud_speech_pb2.py:61: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. type=None), /home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/proto/cloud_speech_pb2.py:65: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. type=None), /home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/proto/cloud_speech_pb2.py:69: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. type=None), /home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/proto/cloud_speech_pb2.py:73: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. type=None), /home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/proto/cloud_speech_pb2.py:78: DeprecationWarning: Call to deprecated create function EnumDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. serialized_end=1382, /home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/proto/cloud_speech_pb2.py:91: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. type=None), /home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/proto/cloud_speech_pb2.py:95: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. type=None), /home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/proto/cloud_speech_pb2.py:100: DeprecationWarning: Call to deprecated create function EnumDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. serialized_end=2140, /home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/proto/cloud_speech_pb2.py:118: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. options=None, file=DESCRIPTOR), /home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/proto/cloud_speech_pb2.py:125: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. options=None, file=DESCRIPTOR), /home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/proto/cloud_speech_pb2.py:139: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. serialized_end=423, /home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/proto/cloud_speech_pb2.py:156: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. options=None, file=DESCRIPTOR), /home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/proto/cloud_speech_pb2.py:163: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. options=None, file=DESCRIPTOR), /home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/proto/cloud_speech_pb2.py:177: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. serialized_end=571, /home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/proto/cloud_speech_pb2.py:194: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. options=None, file=DESCRIPTOR), /home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/proto/cloud_speech_pb2.py:201: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. options=None, file=DESCRIPTOR), /home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/proto/cloud_speech_pb2.py:215: DeprecationWarning: Call to deprecated create function OneofDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. index=0, containing_type=None, fields=[]), /home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/proto/cloud_speech_pb2.py:218: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. serialized_end=727, /home/pi/env/lib/python3.7/site-packages/google/cloud/speech_v1/proto/cloud_speech_pb2.py:235: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool. options=None, file=DESCRIPTOR), /home/pi/env/lib/python3.7/site-packages/validictory/validator.py:7: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Mapping, Container /home/pi/env/lib/python3.7/site-packages/yaml/constructor.py:126: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working if not isinstance(key, collections.Hashable): INFO:gmusicapi.Mobileclient1:!-- begin debug log --! INFO:gmusicapi.Mobileclient1:version: 13.0.0 INFO:gmusicapi.Mobileclient1:logging to: /home/pi/.cache/gmusicapi/log/gmusicapi.log INFO:gmusicapi.Mobileclient1:initialized INFO:gmusicapi.Mobileclient1:logged out INFO:gmusicapi.Mobileclient1:oauth successful INFO:gmusicapi.Mobileclient1:authenticated DEBUG:gmusicapi.Mobileclient1:Config(args=[], kwargs={'required_auth': [False, False, True, False]}) DEBUG:gmusicapi.Mobileclient1:{'kind': 'sj#configList', 'data': {'entries': [{'kind': 'sj#configEntry', 'key': 'canManageFP', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'shouldShowLocalSuggestions', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'purchaseAccess', 'value': '3'}, {'kind': 'sj#configEntry', 'key': 'wsVdtMillis', 'value': '30000'}, {'kind': 'sj#configEntry', 'key': 'sideloadedPlaybackLogging', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'isWarmWelcomeDisabledForWoodstock', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'canCancelSubscription', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'nashvillebg', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'isVsAvailable', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'canBrowseSt', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'appstoreRatingPrompt', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'upsellDrawerCtaMessage', 'value': 'SUBSCRIBE NOW'}, {'kind': 'sj#configEntry', 'key': 'upsellDrawerDownloadMessage', 'value': "Download and listen to any song, album, or station when you're not connected"}, {'kind': 'sj#configEntry', 'key': 'wsVatMillis', 'value': '5000'}, {'kind': 'sj#configEntry', 'key': 'nuqRequiredForWsSignup', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'upsellSkipLimitTwoLeftCtaMessage', 'value': 'GET MORE'}, {'kind': 'sj#configEntry', 'key': 'upsellNewReleasesCtaMessage', 'value': 'SUBSCRIBE'}, {'kind': 'sj#configEntry', 'key': 'upsellListenNowCtaMessage', 'value': 'SUBSCRIBE'}, {'kind': 'sj#configEntry', 'key': 'enableWsExtras', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'upsellSignedOutMessage', 'value': 'Subscribe to get millions of songs on-demand, offline, and ad-free'}, {'kind': 'sj#configEntry', 'key': 'topListMaxSize', 'value': '500'}, {'kind': 'sj#configEntry', 'key': 'upsellSkipLimitTwoLeftMessage', 'value': '2 skips left'}, {'kind': 'sj#configEntry', 'key': 'showLMark', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'conciergeListenNow', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'minimumAppStartCountForFreeUpsell', 'value': '6'}, {'kind': 'sj#configEntry', 'key': 'upsellPreviousCtaMessage', 'value': 'SUBSCRIBE'}, {'kind': 'sj#configEntry', 'key': 'upsellDownloadMessage', 'value': "Download and listen to any song, album, or station when you're not connected"}, {'kind': 'sj#configEntry', 'key': 'showYoutubeRedInfoCard', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'concListenNow', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'instantSearchDelay', 'value': '300'}, {'kind': 'sj#configEntry', 'key': 'upsellChartsMessage', 'value': 'Subscribe to play any song or album'}, {'kind': 'sj#configEntry', 'key': 'isPodcastSyncEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'upsellChartsCtaMessage', 'value': 'SUBSCRIBE'}, {'kind': 'sj#configEntry', 'key': 'showViOSL', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'topListUpdatePeriodSeconds', 'value': '604800'}, {'kind': 'sj#configEntry', 'key': 'isSuggestDeletionEnabled', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'shouldShowServerSuggestions', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'situationsResponseTTLMinutes', 'value': '30'}, {'kind': 'sj#configEntry', 'key': 'isFoplessNautilusUser', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'appStartCountForFreeUpsellRevisionNumber', 'value': '1459804296734'}, {'kind': 'sj#configEntry', 'key': 'mgRPBDesc', 'value': ''}, {'kind': 'sj#configEntry', 'key': 'partridgeManagement', 'value': '2'}, {'kind': 'sj#configEntry', 'key': 'showB', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'showA', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'shouldEnableThriller', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'isPodcastsEnabledZ', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'upsellThumbsUpMessage', 'value': 'Subscribe to play any song or album'}, {'kind': 'sj#configEntry', 'key': 'topListPageSize', 'value': '100'}, {'kind': 'sj#configEntry', 'key': 'isHallmarkEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'upsellThumbsUpCtaMessage', 'value': 'SUBSCRIBE'}, {'kind': 'sj#configEntry', 'key': 'uploadAccess', 'value': '3'}, {'kind': 'sj#configEntry', 'key': 'isNautilusAvailable', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'nautilusAccess', 'value': '2'}, {'kind': 'sj#configEntry', 'key': 'isQuizEnabledForWoodstockOnSignup', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'showO', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'disabledConnectivityTimeoutMs', 'value': '200000'}, {'kind': 'sj#configEntry', 'key': 'hasPControlSettings', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'wasRecentlyInFoplessNautilus', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'showV', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'upsellSignedOutCtaMessage', 'value': 'SUBSCRIBE'}, {'kind': 'sj#configEntry', 'key': 'forceSignupFlow', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'isNautilusUser', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'isLNEnabled', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'wasEverInNautilus', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'ytContent', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'upsellSkipLimitOneLeftCtaMessage', 'value': 'GET MORE'}, {'kind': 'sj#configEntry', 'key': 'wsAatMillis', 'value': '5000'}, {'kind': 'sj#configEntry', 'key': 'partridgeAccess', 'value': '2'}, {'kind': 'sj#configEntry', 'key': 'warmWelcomeButtonText', 'value': 'LISTEN_NOW'}, {'kind': 'sj#configEntry', 'key': 'upsellPrerollVideoCtaMessage', 'value': 'SUBSCRIBE'}, {'kind': 'sj#configEntry', 'key': 'isTrAvailable', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'isInAppMessageEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'disableInfoCardsOnDayOne', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'partridgeUpsellTitle', 'value': 'Unlimited music for you and your family'}, {'kind': 'sj#configEntry', 'key': 'canRC', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'searchClusterResponseEnabled', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'upsellSkipLimitCtaMessage', 'value': 'SUBSCRIBE'}, {'kind': 'sj#configEntry', 'key': 'accountType', 'value': 'Google Play Music Free'}, {'kind': 'sj#configEntry', 'key': 'upsellPrerollVideoMessage', 'value': 'Subscribe for all of the music on-demand and offline with none of the ads'}, {'kind': 'sj#configEntry', 'key': 'upsellListenNowMessage', 'value': 'Subscribe to get millions of songs on-demand, offline, and ad-free'}, {'kind': 'sj#configEntry', 'key': 'partridgeUpsellBody', 'value': 'Subscribe to Google Play Music family plan to give up to 6 people access to millions of songs, ad-free, for just $14.99/month.'}, {'kind': 'sj#configEntry', 'key': 'isSuggestRequestEnabled', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'experimentIdsToLog', 'value': '12600335,12600357,12600390,12600394,12600397,12600426,12600428,12600430,12600435,12600445,12600465,12600466,12600467,12600506,12600526,12600530,12600536,12602068,12604244,12604245,12604246,12611729,12612165,12612188,12612247,12616614,12616615,12617467,12619023,12619033,12619127,12620830,12625361,12625500,12625941,12626008,12626945,12627281,12627951,12628654,12629142,12629667,12630065,12630209,12631091,12632064,12632720,12633320,12634000,12635213,12636020,12641834,12641838,12642011,12642809,12643537,12648818,12649047,12650284,12650285,12652170,12653224,12653393,12653567,12655808,12656567,12657925,12658555,12658847,12660587,12664007,12664317,12664580,12667660,12669086,12669482,12671098,12672321,12672324,12672325,12672332,12672782,12673278,12673392,12673485,12673574,12673925,12674608,20350003,20350004,20350006'}, {'kind': 'sj#configEntry', 'key': 'isExplicitRestrictedByPControl', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'isAnyServiceAvailable', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'pieDayOneCard', 'value': 'NO_EXPERIMENT'}, {'kind': 'sj#configEntry', 'key': 'upsellPreviousMessage', 'value': 'Replay that song and millions of others, anytime'}, {'kind': 'sj#configEntry', 'key': 'isAcceptedUser', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'appStartCountForFreeUpsell', 'value': '250'}, {'kind': 'sj#configEntry', 'key': 'wsAccess', 'value': '3'}, {'kind': 'sj#configEntry', 'key': 'fcapConfigJson', 'value': '{\n "userTenureIntervalWindow": {\n "startMillis": "0",\n "endMillis": "432000000"\n },\n "adsSessionConfig": [{\n "sessionIntervalWindow": {\n "startMillis": "0",\n "endMillis": "3600000"\n },\n "firstAdOffsetMillis": "1740000",\n "timeBetweenAdsMillis": "1740000"\n }, {\n "sessionIntervalWindow": {\n "startMillis": "3600000",\n "endMillis": "2592000000"\n },\n "firstAdOffsetMillis": "1740000",\n "timeBetweenAdsMillis": "1740000"\n }]\n}'}, {'kind': 'sj#configEntry', 'key': 'androidTvEntityPageSize', 'value': '10'}, {'kind': 'sj#configEntry', 'key': 'isPlSharingEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'showLNInSettings', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'mgRPB', 'value': 'Improve your recommendations'}, {'kind': 'sj#configEntry', 'key': 'ytSubscriptionAccess', 'value': '1'}, {'kind': 'sj#configEntry', 'key': 'partridgeUpsellCallToAction', 'value': 'LEARN MORE'}, {'kind': 'sj#configEntry', 'key': 'upsellDrawerDownloadCtaMessage', 'value': 'SUBSCRIBE'}, {'kind': 'sj#configEntry', 'key': 'upsellSkipLimitOneLeftMessage', 'value': '1 skip left'}, {'kind': 'sj#configEntry', 'key': 'isDeviceVersionBlacklisted', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'wsPrefetchedAaeMillis', 'value': '1800000'}, {'kind': 'sj#configEntry', 'key': 'minimumGsaVersionRequiredForSoundSearch', 'value': '300407000'}, {'kind': 'sj#configEntry', 'key': 'isSoundSearchEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'podcastBrowseCategories', 'value': '{"groups":[{"id":"JZCpodcasttopchart","displayName":"Top Charts"}]}'}, {'kind': 'sj#configEntry', 'key': 'suggestRequestDelayMillis', 'value': '150'}, {'kind': 'sj#configEntry', 'key': 'partridgeUpsellDismissal', 'value': 'NO THANKS'}, {'kind': 'sj#configEntry', 'key': 'upsellSkipLimitMessage', 'value': "You're out of skips. Get on-demand and offline access to millions of songs."}, {'kind': 'sj#configEntry', 'key': 'upsellDownloadCtaMessage', 'value': 'SUBSCRIBE'}, {'kind': 'sj#configEntry', 'key': 'isInstantSearchEnabled', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'hasNewUserQuizPermission', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'upsellNewReleasesMessage', 'value': 'Subscribe to play any song or album'}, {'kind': 'sj#configEntry', 'key': 'persistentSubscriptionTrackUserLimit', 'value': '100001'}, {'kind': 'sj#configEntry', 'key': 'shouldValidateMediaRoutes', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'mediaRoutePackageSignatures', 'value': '[{"packages": ["com.google.android.music", "com.google.android.setupwarlock", "com.google.android.gms"], "sha1s": ["38918A453D07199354F8B19AF05EC6562CED5788", "58E1C4133F7441EC3D2C270270A14802DA47BA0E"]}, {"packages": ["com.sonos.acr"], "sha1s": ["7387C9EB17CC5972F2B2FDF3E192884A78F24E7E", "62E2D848EF6FD0F8978F650D5DF9605786E26673", "9407A78494B106461537E1FC4E5D877E5ABCC7B3", "B6EA208733731F0CA8A123155830457C876130C4", "B703697E509B186616D83E978064A7A4F8D18775"]}]'}, {'kind': 'sj#configEntry', 'key': 'enableFallbackForShortUrls', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'iosEnableStreamInterception', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'enableStructuredLogging', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'enableHttpsAlbumArt', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'isUpgradeTempCacheForKeeponEnabled', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'iosEnableCQ', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'castReceiverAppId', 'value': '2872939A'}, {'kind': 'sj#configEntry', 'key': 'iosHashCastAppContext', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'iosEnableWoodstockCloudQueue', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'iosEnableBackgroundDownloading', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'iosEnableRadioDownloads', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'iosRadioDownloadsAlwaysUseDownloadedSongs', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'iosRadioDownloadsEagerRefill', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'iosRadioDownloadsBatchSize', 'value': '25'}, {'kind': 'sj#configEntry', 'key': 'iosRadioDownloadsReadyPercent', 'value': '80'}, {'kind': 'sj#configEntry', 'key': 'iosEnableGPMAudioPlayer', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'iosEnableGPMAudioPlayerFMP4', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'enableAndroidChromecastCloudQueue', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'enableAndroidChromecastCloudQueueWoodstock', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'enableAndroidDialCloudQueue', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'iosEnableSonos', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'enableMpsOverride', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'enableReportAllPlayEventsInRealtime', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'askForNautilusCancellationReason', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'autoDogfoodStackCandidate', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'enableDGEvaluation', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'androidEnableAdaptiveHome', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'iosEnableAdaptiveHome', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'enableOkHttp', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'isSyncLoggingEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'enableOnePushSync', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'iosEnableOnepushNew', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'iosEnableGcmRegistrationNew', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'androidEnableEntitySuggest', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'iosEnableEntitySuggest', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'musicFeedbackLogs', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'isPrimesOdysseyEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'isPrimesClearcutEnabled', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'isPrimesMemoryEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'isPrimesLatencyLoggingEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'iosEnableStickyNav', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'androidEnableStickyNav', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'androidEnableAdaptiveHomeForMediaBrowser', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'androidEnableFastFirstTrack2', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'androidEnableDownloadLatencyLogging', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'enablePlayQualityIcon', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'androidEnableFmp4AacOnPlaybackV1', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'androidEnableFmp4AacOnPlaybackV2', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'iosMinimumBackgroundFetchIntervalSeconds', 'value': '0'}, {'kind': 'sj#configEntry', 'key': 'syncExperimentsToLogViaSyncService', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'androidEnableSilentFeedback', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'headphoneRecommendationNotification', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'androidEnableEntityBrowserForMediaBrowser', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'enableDynamicOffers', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'enableDynamicOffersWithCoupons', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'disableULRReportingiOS', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'iosForegroundLocationFetchTimeoutMs', 'value': '0'}, {'kind': 'sj#configEntry', 'key': 'isBtAutoplaySettingEnabled', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'isWaitForSyncAfterSignupEnabled', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'isPrimesCrashEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'isPrimesPackageEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'androidMediaStoreMismatchRecovery', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'show_fake_fsi', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'fake_fsi_title', 'value': ''}, {'kind': 'sj#configEntry', 'key': 'fake_fsi_body', 'value': ''}, {'kind': 'sj#configEntry', 'key': 'fake_fsi_background_url', 'value': ''}, {'kind': 'sj#configEntry', 'key': 'fake_fsi_logo_url', 'value': ''}, {'kind': 'sj#configEntry', 'key': 'fake_fsi_positive_action_text', 'value': ''}, {'kind': 'sj#configEntry', 'key': 'fake_fsi_positive_action_url', 'value': ''}, {'kind': 'sj#configEntry', 'key': 'fake_fsi_dismissal_action_text', 'value': ''}, {'kind': 'sj#configEntry', 'key': 'redirect_get_nautilus_enabled', 'value': 'true'}, {'kind': 'sj#configEntry', 'key': 'isDownloadedOnlyModeToggleChangePingEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'isDownloadedOnlyModeSessionStartPingEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'music_fcm_private_api_key', 'value': 'AIzaSyC26tD_hHAxYIR1ZpGA8l7L2_Pk3G8eaFA'}, {'kind': 'sj#configEntry', 'key': 'isLockoutEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'isTransferInMenuEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'transferInMenuUrl', 'value': 'https://music.youtube.com/signin?action_handle_signin=true&feature=masthead_switcher&next=https%3A%2F%2Fmusic.youtube.com%2Ftransfer%3Fmode%3Dappstore&skip_identity_prompt=True'}, {'kind': 'sj#configEntry', 'key': 'isPersistentNotificationsEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'webviewTransferEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'isLocationHistoryBottomSheetEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'isPlaylistExportInSettingsEnabled', 'value': 'false'}, {'kind': 'sj#configEntry', 'key': 'androidTvFsiAnimatedVariant', 'value': 'true'}]}} DEBUG:gmusicapi.Mobileclient1:GetDeviceManagementInfo(args=[], kwargs={'required_auth': [False, False, True, False]}) DEBUG:gmusicapi.Mobileclient1:{'kind': 'sj#userClientIdList'} [010281a8] vlcpulse audio output error: PulseAudio server connection failure: Connection refused [0102df80] vlcpulse audio output error: PulseAudio server connection failure: Connection refused Respeaker-6-Mic Initializing GPIOs 5 and 6 for assistant activity indication Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 924 Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 924 ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21 ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21 ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40 ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41 ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50 ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51 ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71 ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 934 Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 934 Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 934 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5036:(snd_config_expand) Args evaluate error: No such file or directory ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM bluealsa ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5036:(snd_config_expand) Args evaluate error: No such file or directory ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM bluealsa Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

ALSA lib pcm_a52.c:823:(_snd_pcm_a52_open) a52 is only for playback ALSA lib conf.c:5014:(snd_config_expand) Unknown parameters {AES0 0x6 AES1 0x82 AES2 0x0 AES3 0x2 CARD 0} ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM iec958:{AES0 0x6 AES1 0x82 AES2 0x0 AES3 0x2 CARD 0} ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_dsnoop.c:575:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream ALSA lib pcm_dmix.c:1043:(snd_pcm_dmix_open) The dmix plugin supports only playback stream Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock /home/pi/env/lib/python3.7/site-packages/google/assistant/library/assistant.py:90: DeprecationWarning: Google Assistant Library for Python is deprecated warnings.warn('Google Assistant Library for Python is deprecated', DeprecationWarning) device_model_id: gooass2-9eca2-gooass2-wqtwc3 device_id: C183ACC23EA552859B893AD1647A20C8

ON_MUTED_CHANGED: {"is_muted": false}

ON_CONVERSATION_TURN_STARTED

ON_RESPONDING_STARTED: {"is_error_response": true}

ON_RESPONDING_FINISHED

ON_ASSISTANT_ERROR

ON_MEDIA_STATE_IDLE

ON_START_FINISHED

ON_CONVERSATION_TURN_STARTED

ON_END_OF_UTTERANCE

ON_END_OF_UTTERANCE

ON_RECOGNIZING_SPEECH_FINISHED: {"text": "play Sade on YouTube"}

stopping vlc High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.25.10; written and copyright by Michael Hipp and others free software (LGPL) without any warranty but with best wishes

Directory: /tmp/

Terminal control enabled, press 'h' for listing of keys and functions.

Playing MPEG stream 1 of 1: female-say.mp3 ...

MPEG 2.0 L III cbr32 24000 mono

[0:01] Decoding of female-say.mp3 finished. sade on youtub python: src/hostapi/alsa/pa_linux_alsa.c:3641: PaAlsaStreamComponent_BeginPolling: Assertion `ret == self->nfds' failed. Fatal Python error: Aborted

Thread 0x628fc460 (most recent call first): File "/home/pi/GassistPi/src/snowboydecoder.py", line 34 in get File "/home/pi/GassistPi/src/snowboydecoder.py", line 159 in start File "/home/pi/GassistPi/src/main.py", line 475 in start_detector File "/usr/lib/python3.7/threading.py", line 865 in run File "/usr/lib/python3.7/threading.py", line 917 in _bootstrap_inner File "/usr/lib/python3.7/threading.py", line 885 in _bootstrap

Thread 0x606fd460 (most recent call first): File "/home/pi/GassistPi/src/main.py", line 248 in pushbutton File "/usr/lib/python3.7/threading.py", line 865 in run File "/usr/lib/python3.7/threading.py", line 917 in _bootstrap_inner File "/usr/lib/python3.7/threading.py", line 885 in _bootstrap

Thread 0x676f8460 (most recent call first): File "/usr/lib/python3.7/threading.py", line 300 in wait File "/usr/lib/python3.7/threading.py", line 552 in wait File "/usr/lib/python3.7/threading.py", line 1164 in run File "/usr/lib/python3.7/threading.py", line 917 in _bootstrap_inner File "/usr/lib/python3.7/threading.py", line 885 in _bootstrap

Thread 0x76f4bad0 (most recent call first): File "/usr/lib/python3.7/sre_compile.py", line 247 in _compile File "/usr/lib/python3.7/sre_parse.py", line 431 in _parse_sub File "/usr/lib/python3.7/sre_parse.py", line 841 in _parse File "/usr/lib/python3.7/sre_parse.py", line 221 in getwidth Aborted

shivasiddharth commented 3 years ago

Do: sudo apt-get install pulseaudio

Restart the Pi and check again.

butteryak commented 3 years ago

This is the result in terminal, it might be working, but it would appear I have lost my audio output.....mic still works though

ON_RECOGNIZING_SPEECH_FINISHED: {"text": "play Sade on YouTube"}

stopping vlc High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.25.10; written and copyright by Michael Hipp and others free software (LGPL) without any warranty but with best wishes

Directory: /tmp/

Terminal control enabled, press 'h' for listing of keys and functions.

Playing MPEG stream 1 of 1: female-say.mp3 ...

MPEG 2.0 L III cbr32 24000 mono

[0:01] Decoding of female-say.mp3 finished. sade on youtub https://r1---sn-8p5n5u-p5qe.googlevideo.com/videoplayback?expire=1599037323&ei=KgtPX9yCPcf2D9uLkMAM&ip=184.21.206.140&id=o-AEzaKbWGee4AklKnB2eW9O5NyWPAfU--Po6FsP6ReplI&itag=251&source=youtube&requiressl=yes&mh=oq&mm=31%2C29&mn=sn-8p5n5u-p5qe%2Csn-vgqs7nes&ms=au%2Crdu&mv=m&mvi=1&pl=24&gcr=us&initcwndbps=58750&vprv=1&mime=audio%2Fwebm&ns=jekamQTRC6nfxt-1TbcnWmoE&gir=yes&clen=3976489&dur=241.061&lmt=1574971033150076&mt=1599015637&fvip=4&keepalive=yes&c=WEB&txp=5531432&n=pYdhb7ExsFiGorM3DG&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cgcr%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgfqOzzREyHZ2fHgy7JO-q7P1qAAv-LryRcrwf1qdVyckCIQDiSJ62oJLFOSwcko0vgoHc8Pc-QzI1sXeT6Qbyt5Cyww%3D%3D&sig=AOq0QJ8wRQIhAOjqEUcoxFuwEcMn0Cfu8GYaJp13RtSe5uXKZCjUNAZ-AiA50KMI-qoccbSpAgr50_EHLpl0Z4PC-AHbrw1aae7ipQ==&ratebypass=yes /home/pi/env/lib/python3.7/site-packages/vlc.py:1825: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec() if not any(getargspec(callback)[:2]): # list(...) ON_CONVERSATION_TURN_FINISHED: {"with_follow_on_turn": false}

shivasiddharth commented 3 years ago

use alsaconfig on your terminal and set the pulseaudio or audio out volume to maximum.

butteryak commented 3 years ago

alsaconfig command not found, Perhaps you mean "alsamixer" I assumed so, and opened alsamixer, and set pulseaudio volume to 90%. So, the result is that audio works, but not out of the Respeaker output, but the standard 3.5mm jack on the Pi. I'm guessing you might want to see the asound.conf config: I'm guessing there is an issue with how asound.conf is setup? I don't know enough about the more complex configs, so thanks much for your help+++ maybe I'm incorrect in that assumption, please let me know if there is anything else that you might need to help me troubleshoot. much appreciated+++ (PS. youtube is working by the way++)

defaults.pcm.rate_converter "samplerate"

pcm.!default { type asym playback.pcm "dmixer" capture.pcm "multiapps" }

pcm.multiapps { type plug slave.pcm { type dsnoop slave { rate 48000 format S32_LE pcm "hw:seeed8micvoicec" } ipc_key 666666 } }

pcm.dmixer { type plug slave { pcm { type dmix ipc_key 555555 slave { pcm "hw:seeed8micvoicec" format S32_LE channels 8 } bindings { 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 } } channels 8 format S32_LE rate 48000 } ttable.0.0 1 ttable.1.1 1 ttable.0.2 1 ttable.1.3 1 ttable.0.4 1 ttable.1.5 1 ttable.0.6 1 ttable.1.7 1 }

as well as aplay -L:

null Discard all samples (playback) or generate zero samples (capture) jack JACK Audio Connection Kit pulse PulseAudio Sound Server multiapps dmixer default Playback/recording through the PulseAudio sound server sysdefault:CARD=ALSA bcm2835 ALSA, bcm2835 ALSA Default Audio Device dmix:CARD=ALSA,DEV=0 bcm2835 ALSA, bcm2835 ALSA Direct sample mixing device dmix:CARD=ALSA,DEV=1 bcm2835 ALSA, bcm2835 IEC958/HDMI Direct sample mixing device dmix:CARD=ALSA,DEV=2 bcm2835 ALSA, bcm2835 IEC958/HDMI1 Direct sample mixing device dsnoop:CARD=ALSA,DEV=0 bcm2835 ALSA, bcm2835 ALSA Direct sample snooping device dsnoop:CARD=ALSA,DEV=1 bcm2835 ALSA, bcm2835 IEC958/HDMI Direct sample snooping device dsnoop:CARD=ALSA,DEV=2 bcm2835 ALSA, bcm2835 IEC958/HDMI1 Direct sample snooping device hw:CARD=ALSA,DEV=0 bcm2835 ALSA, bcm2835 ALSA Direct hardware device without any conversions hw:CARD=ALSA,DEV=1 bcm2835 ALSA, bcm2835 IEC958/HDMI Direct hardware device without any conversions hw:CARD=ALSA,DEV=2 bcm2835 ALSA, bcm2835 IEC958/HDMI1 Direct hardware device without any conversions plughw:CARD=ALSA,DEV=0 bcm2835 ALSA, bcm2835 ALSA Hardware device with all software conversions plughw:CARD=ALSA,DEV=1 bcm2835 ALSA, bcm2835 IEC958/HDMI Hardware device with all software conversions plughw:CARD=ALSA,DEV=2 bcm2835 ALSA, bcm2835 IEC958/HDMI1 Hardware device with all software conversions usbstream:CARD=ALSA bcm2835 ALSA USB Stream Output sysdefault:CARD=seeed8micvoicec seeed-8mic-voicecard, Default Audio Device dmix:CARD=seeed8micvoicec,DEV=0 seeed-8mic-voicecard, Direct sample mixing device dsnoop:CARD=seeed8micvoicec,DEV=0 seeed-8mic-voicecard, Direct sample snooping device hw:CARD=seeed8micvoicec,DEV=0 seeed-8mic-voicecard, Direct hardware device without any conversions plughw:CARD=seeed8micvoicec,DEV=0 seeed-8mic-voicecard, Hardware device with all software conversions usbstream:CARD=seeed8micvoicec seeed-8mic-voicecard USB Stream Output

here also aplay -l

List of PLAYBACK Hardware Devices card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA] Subdevices: 7/7 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 Subdevice #2: subdevice #2 Subdevice #3: subdevice #3 Subdevice #4: subdevice #4 Subdevice #5: subdevice #5 Subdevice #6: subdevice #6 card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: seeed8micvoicec [seeed-8mic-voicecard], device 0: bcm2835-i2s-ac10x-codec0 ac10x-codec.1-0035-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0

shivasiddharth commented 3 years ago

Is your Respeaker 4 Mic HAT different from the 4 Mic HAT that has LEDs and just 4 mics ? The Respeaker 4 Mic HAT that i know does not have a audio jack.

butteryak commented 3 years ago

aplay --device plughw:CARD=seeed8micvoicec,DEV=0 a.wav outputs test wav to Respeaker (just FYI)

butteryak commented 3 years ago

it is this one...

https://wiki.seeedstudio.com/ReSpeaker_4-Mic_Linear_Array_Kit_for_Raspberry_Pi/

shivasiddharth commented 3 years ago

This the 8 Mic Hat. I need to re-write the audio config files for this HAT. If you can try and test the config files, we can have this fixed.

shivasiddharth commented 3 years ago

The audio config files that you have posted is not formatted properly. Can you paste it properly formatted ?

shivasiddharth commented 3 years ago

Uninstall the existing seeed card installation using the uninstall option. Then delete the seeed-voicecard folder.

Remove pulseaudio using: sudo apt-get purge pulseaudio

Now try the fix. git clone https://github.com/shivasiddharth/seeed-voicecard -b 6mic-8mic-fix

Go through the usual seeed-voicecard installation process.

Reboot and try the Google Assistant.

butteryak commented 3 years ago

Ok, I've done what you suggested. As of now the soundcard and mics are working. Youtube and radio streaming are not working though, I tried youtube a couple of times, and I got two different errors

youtube-first error:

ON_RECOGNIZING_SPEECH_FINISHED: {"text": "play Sade on YouTube"}

stopping vlc High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.25.10; written and copyright by Michael Hipp and others free software (LGPL) without any warranty but with best wishes

Directory: /tmp/

Terminal control enabled, press 'h' for listing of keys and functions.

Playing MPEG stream 1 of 1: female-say.mp3 ...

MPEG 2.0 L III cbr32 24000 mono

[0:01] Decoding of female-say.mp3 finished. sade on youtub https://r4---sn-8p5n5u-525e.googlevideo.com/videoplayback?expire=1599173866&ei=iSBRX6PgPMSfDffOhJAH&ip=184.21.206.140&id=o-AKpVCF6zXa5u8UtFFb19y11MS5FWRDwCcCKlhfFXrT1s&itag=251&source=youtube&requiressl=yes&mh=oq&mm=31%2C29&mn=sn-8p5n5u-525e%2Csn-vgqsknez&ms=au%2Crdu&mv=m&mvi=4&pl=24&gcr=us&initcwndbps=143750&vprv=1&mime=audio%2Fwebm&gir=yes&clen=3976489&dur=241.061&lmt=1574971033150076&mt=1599152208&fvip=4&keepalive=yes&c=WEB&txp=5531432&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cgcr%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIge8RkXsP7kK2Tq6xEARkOkHYz1uSdHxl_ws1Spc_UwXQCIQCntSqHlm9HyfW2NtkLSqcQ3qN9ehy7D25zDm3JhAVRRQ%3D%3D&sig=AOq0QJ8wRQIhAN22sLvuIoJSjiqYasKBmtOTSc8OYezxtNBUQ2Ua6vQWAiBHl7Ed3OUVWS_gZgNrYQESyteoYC_nAAkOQolnT630PQ==&ratebypass=yes [02c135c8] vlcpulse audio output error: PulseAudio server connection failure: Connection refused /home/pi/env/lib/python3.7/site-packages/vlc.py:1825: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec() if not any(getargspec(callback)[:2]): # list(...) ON_CONVERSATION_TURN_FINISHED: {"with_follow_on_turn": false}

youtube-second error:

ON_RECOGNIZING_SPEECH_FINISHED: {"text": "play Sade on YouTube"}

stopping vlc High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.25.10; written and copyright by Michael Hipp and others free software (LGPL) without any warranty but with best wishes

Directory: /tmp/

Terminal control enabled, press 'h' for listing of keys and functions.

Playing MPEG stream 1 of 1: female-say.mp3 ...

MPEG 2.0 L III cbr32 24000 mono

[0:01] Decoding of female-say.mp3 finished. sade on youtub python: src/hostapi/alsa/pa_linux_alsa.c:3641: PaAlsaStreamComponent_BeginPolling: Assertion `ret == self->nfds' failed. Fatal Python error: Aborted

Thread 0x5defe460 (most recent call first): File "/home/pi/GassistPi/src/snowboydecoder.py", line 32 in get File "/home/pi/GassistPi/src/snowboydecoder.py", line 157 in start File "/home/pi/GassistPi/src/main.py", line 475 in start_detector File "/usr/lib/python3.7/threading.py", line 865 in run File "/usr/lib/python3.7/threading.py", line 917 in _bootstrap_inner File "/usr/lib/python3.7/threading.py", line 885 in _bootstrap

Thread 0x5d2ff460 (most recent call first): File "/home/pi/GassistPi/src/main.py", line 248 in pushbutton File "/usr/lib/python3.7/threading.py", line 865 in run File "/usr/lib/python3.7/threading.py", line 917 in _bootstrap_inner File "/usr/lib/python3.7/threading.py", line 885 in _bootstrap

Thread 0x6771b460 (most recent call first): File "/usr/lib/python3.7/threading.py", line 300 in wait File "/usr/lib/python3.7/threading.py", line 552 in wait File "/usr/lib/python3.7/threading.py", line 1164 in run File "/usr/lib/python3.7/threading.py", line 917 in _bootstrap_inner File "/usr/lib/python3.7/threading.py", line 885 in _bootstrap

Thread 0x76f7bad0 (most recent call first): File "/usr/lib/python3.7/re.py", line 183 in search File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/jsinterp.py", line 243 in extract_function File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1401 in _parse_sig_js File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1326 in _extract_signature_function File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1426 in _decrypt_signature File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 2107 in _real_extract File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 530 in extract File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 797 in extract_info File "/home/pi/env/lib/python3.7/site-packages/pafy/backend_youtube_dl.py", line 40 in _fetch_basic File "/home/pi/env/lib/python3.7/site-packages/pafy/backend_shared.py", line 97 in init File "/home/pi/env/lib/python3.7/site-packages/pafy/backend_youtube_dl.py", line 31 in init File "/home/pi/env/lib/python3.7/site-packages/pafy/pafy.py", line 124 in new File "/home/pi/GassistPi/src/youtube_search_engine.py", line 125 in youtube_stream_link File "/home/pi/GassistPi/src/actions.py", line 1175 in YouTube_No_Autoplay File "/home/pi/GassistPi/src/main.py", line 738 in custom_command File "/home/pi/GassistPi/src/main.py", line 389 in process_event File "/home/pi/GassistPi/src/main.py", line 1016 in main File "/home/pi/GassistPi/src/main.py", line 1024 in Aborted

also see similiar with trying to play radio

radio:

ON_RECOGNIZING_SPEECH_FINISHED: {"text": "play Radio 1"}

stopping vlc http://live.str3am.com:2470/live32 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.25.10; written and copyright by Michael Hipp and others free software (LGPL) without any warranty but with best wishes

Directory: /tmp/

Terminal control enabled, press 'h' for listing of keys and functions.

Playing MPEG stream 1 of 1: female-say.mp3 ...

MPEG 2.0 L III cbr32 24000 mono

[0:01] Decoding of female-say.mp3 finished. [02bdc708] vlcpulse audio output error: PulseAudio server connection failure: Connection refused /home/pi/env/lib/python3.7/site-packages/vlc.py:1825: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec() if not any(getargspec(callback)[:2]): # list(...) ON_CONVERSATION_TURN_FINISHED: {"with_follow_on_turn": false}

and log file:

2020-09-03 10:08:24,693 : DEBUG : Making request: POST https://accounts.google.com/o/oauth2/token 2020-09-03 10:08:24,703 : DEBUG : Starting new HTTPS connection (1): accounts.google.com:443 2020-09-03 10:08:28,402 : DEBUG : https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2020-09-03 10:09:06,735 : DEBUG : text: Getting youtube link 2020-09-03 10:09:06,736 : DEBUG : lang: en 2020-09-03 10:09:06,741 : DEBUG : slow: False 2020-09-03 10:09:06,742 : DEBUG : lang_check: True 2020-09-03 10:09:06,743 : DEBUG : pre_processor_funcs: [<function tone_marks at 0x6f6c7a50>, <function end_of_line at 0x6f6c7c90>, <function abbreviations at 0x6f6c7db0>, <function word_sub at 0x6f6$ 2020-09-03 10:09:06,743 : DEBUG : tokenizer_func: <bound method Tokenizer.run of re.compile('(?<=\?).|(?<=!).|(?<=?).|(?<=!).|(?<!\.[a-z])\. |(?<!\.[a-z]), |—|。|\]|…|\[|‥|،|\(|\)|、|:|¿|\$ 2020-09-03 10:09:06,761 : DEBUG : Starting new HTTP connection (1): translate.google.com:80 2020-09-03 10:09:07,801 : DEBUG : http://translate.google.com:80 "GET / HTTP/1.1" 302 226 2020-09-03 10:09:07,810 : DEBUG : Starting new HTTPS connection (1): translate.google.com:443 2020-09-03 10:09:09,994 : DEBUG : https://translate.google.com:443 "GET / HTTP/1.1" 200 None 2020-09-03 10:09:10,389 : DEBUG : Starting new HTTP connection (1): translate.google.com:80 2020-09-03 10:09:12,049 : DEBUG : http://translate.google.com:80 "GET //translate/releases/twsfe_w_20200901_RC00/r/js/translate_m.js HTTP/1.1" 200 570330 2020-09-03 10:09:18,209 : DEBUG : langs: {'af': 'Afrikaans', 'sq': 'Albanian', 'ar': 'Arabic', 'hy': 'Armenian', 'bn': 'Bengali', 'bs': 'Bosnian', 'ca': 'Catalan', 'hr': 'Croatian', 'cs': 'Czech', '$ 2020-09-03 10:09:18,210 : DEBUG : pre-processing: <function tone_marks at 0x6f6c7a50> 2020-09-03 10:09:18,213 : DEBUG : pre-processing: <function end_of_line at 0x6f6c7c90> 2020-09-03 10:09:18,214 : DEBUG : pre-processing: <function abbreviations at 0x6f6c7db0> 2020-09-03 10:09:18,220 : DEBUG : pre-processing: <function word_sub at 0x6f6d21e0> 2020-09-03 10:09:18,221 : DEBUG : text_parts: 1 2020-09-03 10:09:18,229 : DEBUG : Starting new HTTPS connection (1): translate.google.com:443 2020-09-03 10:09:20,766 : DEBUG : https://translate.google.com:443 "GET / HTTP/1.1" 200 None 2020-09-03 10:09:21,096 : DEBUG : payload-0: {'ie': 'UTF-8', 'q': 'Getting youtube link', 'tl': 'en', 'ttsspeed': 1, 'total': 1, 'idx': 0, 'client': 'tw-ob', 'textlen': 20, 'tk': '857248.775057'} 2020-09-03 10:09:21,113 : DEBUG : Starting new HTTPS connection (1): translate.google.com:443 2020-09-03 10:09:22,968 : DEBUG : https://translate.google.com:443 "GET /translate_tts?ie=UTF-8&q=Getting+youtube+link&tl=en&ttsspeed=1&total=1&idx=0&client=tw-ob&textlen=20&tk=857248.7$ 2020-09-03 10:09:22,971 : DEBUG : headers-0: {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36', 'Accept-Enc$ 2020-09-03 10:09:22,972 : DEBUG : url-0: https://translate.google.com/translate_tts?ie=UTF-8&q=Getting+youtube+link&tl=en&ttsspeed=1&total=1&idx=0&client=tw-ob&textlen=20&tk=857248.7750$ 2020-09-03 10:09:22,972 : DEBUG : status-0: 200 2020-09-03 10:09:22,973 : DEBUG : part-0 written to <_io.BufferedWriter name='/tmp/female-say.mp3'> 2020-09-03 10:09:22,973 : DEBUG : Saved to /tmp/female-say.mp3 2020-09-03 10:09:24,571 : WARNING : file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth Traceback (most recent call last): File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/file_cache.py", line 33, in from oauth2client.contrib.locked_file import LockedFile ModuleNotFoundError: No module named 'oauth2client.contrib.locked_file'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/file_cache.py", line 37, in from oauth2client.locked_file import LockedFile ModuleNotFoundError: No module named 'oauth2client.locked_file'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/init.py", line 44, in autodetect from . import file_cache File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/file_cache.py", line 41, in "file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth" ImportError: file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth 2020-09-03 10:09:24,578 : DEBUG : URL being requested: GET https://www.googleapis.com/discovery/v1/apis/youtube/v3/rest?key=AIzaSyCjKvTf8C0cAc3lfXVmdmpyCPl2Uz_l4Qo 2020-09-03 10:09:26,901 : DEBUG : URL being requested: GET https://www.googleapis.com/youtube/v3/search?q=sade+on+youtub&part=id%2Csnippet&key=AIzaSyCjKvTf8C0cAc3lfXVmdmpyCPl2Uz_l4Qo&al$ 2020-09-03 10:10:11,758 : DEBUG : text: Getting youtube link 2020-09-03 10:10:11,760 : DEBUG : lang: en 2020-09-03 10:10:11,761 : DEBUG : slow: False 2020-09-03 10:10:11,763 : DEBUG : lang_check: True 2020-09-03 10:10:11,764 : DEBUG : pre_processor_funcs: [<function tone_marks at 0x6f6c7a50>, <function end_of_line at 0x6f6c7c90>, <function abbreviations at 0x6f6c7db0>, <function word$ 2020-09-03 10:10:11,764 : DEBUG : tokenizer_func: <bound method Tokenizer.run of re.compile('(?<=\?).|(?<=!).|(?<=?).|(?<=!).|(?<!\.[a-z])\. |(?<!\.[a-z]), |—|。|\]|…|\[|‥|،|\($ 2020-09-03 10:10:11,772 : DEBUG : Starting new HTTP connection (1): translate.google.com:80 2020-09-03 10:10:12,705 : DEBUG : http://translate.google.com:80 "GET / HTTP/1.1" 302 226 2020-09-03 10:10:12,726 : DEBUG : Starting new HTTPS connection (1): translate.google.com:443 2020-09-03 10:10:15,484 : DEBUG : https://translate.google.com:443 "GET / HTTP/1.1" 200 None 2020-09-03 10:10:15,926 : DEBUG : Starting new HTTP connection (1): translate.google.com:80 2020-09-03 10:10:17,164 : DEBUG : http://translate.google.com:80 "GET //translate/releases/twsfe_w_20200901_RC00/r/js/translate_m.js HTTP/1.1" 200 570330 2020-09-03 10:10:21,604 : DEBUG : langs: {'af': 'Afrikaans', 'sq': 'Albanian', 'ar': 'Arabic', 'hy': 'Armenian', 'bn': 'Bengali', 'bs': 'Bosnian', 'ca': 'Catalan', 'hr': 'Croatian', 'cs$ 2020-09-03 10:10:21,605 : DEBUG : pre-processing: <function tone_marks at 0x6f6c7a50> 2020-09-03 10:10:21,607 : DEBUG : pre-processing: <function end_of_line at 0x6f6c7c90> 2020-09-03 10:10:21,608 : DEBUG : pre-processing: <function abbreviations at 0x6f6c7db0> 2020-09-03 10:10:21,612 : DEBUG : pre-processing: <function word_sub at 0x6f6d21e0> 2020-09-03 10:10:21,613 : DEBUG : text_parts: 1 2020-09-03 10:10:21,618 : DEBUG : Starting new HTTPS connection (1): translate.google.com:443 2020-09-03 10:10:23,468 : DEBUG : https://translate.google.com:443 "GET / HTTP/1.1" 200 None 2020-09-03 10:10:23,797 : DEBUG : payload-0: {'ie': 'UTF-8', 'q': 'Getting youtube link', 'tl': 'en', 'ttsspeed': 1, 'total': 1, 'idx': 0, 'client': 'tw-ob', 'textlen': 20, 'tk': '85724$ 2020-09-03 10:10:23,816 : DEBUG : Starting new HTTPS connection (1): translate.google.com:443 2020-09-03 10:10:25,986 : DEBUG : https://translate.google.com:443 "GET /translate_tts?ie=UTF-8&q=Getting+youtube+link&tl=en&ttsspeed=1&total=1&idx=0&client=tw-ob&textlen=20&tk=857248.7$ 2020-09-03 10:10:26,036 : DEBUG : headers-0: {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36', 'Accept-Enc$ 2020-09-03 10:10:26,038 : DEBUG : url-0: https://translate.google.com/translate_tts?ie=UTF-8&q=Getting+youtube+link&tl=en&ttsspeed=1&total=1&idx=0&client=tw-ob&textlen=20&tk=857248.7750$ 2020-09-03 10:10:26,039 : DEBUG : status-0: 200 2020-09-03 10:10:26,040 : DEBUG : part-0 written to <_io.BufferedWriter name='/tmp/female-say.mp3'> 2020-09-03 10:10:26,041 : DEBUG : Saved to /tmp/female-say.mp3 2020-09-03 10:10:27,715 : WARNING : file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth Traceback (most recent call last): File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/file_cache.py", line 33, in from oauth2client.contrib.locked_file import LockedFile ModuleNotFoundError: No module named 'oauth2client.contrib.locked_file'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/file_cache.py", line 37, in from oauth2client.locked_file import LockedFile ModuleNotFoundError: No module named 'oauth2client.locked_file'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/init.py", line 44, in autodetect from . import file_cache File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/file_cache.py", line 41, in "file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth" ImportError: file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth 2020-09-03 10:10:27,717 : DEBUG : URL being requested: GET https://www.googleapis.com/discovery/v1/apis/youtube/v3/rest?key=AIzaSyCjKvTf8C0cAc3lfXVmdmpyCPl2Uz_l4Qo 2020-09-03 10:10:30,263 : DEBUG : URL being requested: GET https://www.googleapis.com/youtube/v3/search?q=sade+on+youtub&part=id%2Csnippet&key=AIzaSyCjKvTf8C0cAc3lfXVmdmpyCPl2Uz_l4Qo&alt=json 2020-09-03 10:11:27,864 : DEBUG : text: Getting youtube link 2020-09-03 10:11:27,865 : DEBUG : lang: en 2020-09-03 10:11:27,866 : DEBUG : slow: False 2020-09-03 10:11:27,867 : DEBUG : lang_check: True 2020-09-03 10:11:27,867 : DEBUG : pre_processor_funcs: [<function tone_marks at 0x6f6c7a50>, <function end_of_line at 0x6f6c7c90>, <function abbreviations at 0x6f6c7db0>, <function word_sub at 0x6f6d21e0>] 2020-09-03 10:11:27,868 : DEBUG : tokenizer_func: <bound method Tokenizer.run of re.compile('(?<=\?).|(?<=!).|(?<=?).|(?<=!).|(?<!\.[a-z])\. |(?<!\.[a-z]), |—|。|\]|…|\[|‥|،|\(|\)|、|:|¿|\\n|;|:$ 2020-09-03 10:11:27,876 : DEBUG : Starting new HTTP connection (1): translate.google.com:80 2020-09-03 10:11:29,402 : DEBUG : http://translate.google.com:80 "GET / HTTP/1.1" 302 226 2020-09-03 10:11:29,413 : DEBUG : Starting new HTTPS connection (1): translate.google.com:443 2020-09-03 10:11:32,184 : DEBUG : https://translate.google.com:443 "GET / HTTP/1.1" 200 None 2020-09-03 10:11:32,645 : DEBUG : Starting new HTTP connection (1): translate.google.com:80 2020-09-03 10:11:34,331 : DEBUG : http://translate.google.com:80 "GET //translate/releases/twsfe_w_20200901_RC00/r/js/translate_m.js HTTP/1.1" 200 570330 2020-09-03 10:11:40,178 : DEBUG : langs: {'af': 'Afrikaans', 'sq': 'Albanian', 'ar': 'Arabic', 'hy': 'Armenian', 'bn': 'Bengali', 'bs': 'Bosnian', 'ca': 'Catalan', 'hr': 'Croatian', 'cs': 'Czech', 'da': 'Da$ 2020-09-03 10:11:40,181 : DEBUG : pre-processing: <function tone_marks at 0x6f6c7a50> 2020-09-03 10:11:40,182 : DEBUG : pre-processing: <function end_of_line at 0x6f6c7c90> 2020-09-03 10:11:40,183 : DEBUG : pre-processing: <function abbreviations at 0x6f6c7db0> 2020-09-03 10:11:40,184 : DEBUG : pre-processing: <function word_sub at 0x6f6d21e0> 2020-09-03 10:11:40,185 : DEBUG : text_parts: 1 2020-09-03 10:11:40,193 : DEBUG : Starting new HTTPS connection (1): translate.google.com:443 2020-09-03 10:11:43,045 : DEBUG : https://translate.google.com:443 "GET / HTTP/1.1" 200 None 2020-09-03 10:11:43,243 : DEBUG : payload-0: {'ie': 'UTF-8', 'q': 'Getting youtube link', 'tl': 'en', 'ttsspeed': 1, 'total': 1, 'idx': 0, 'client': 'tw-ob', 'textlen': 20, 'tk': '857248.775057'} 2020-09-03 10:11:43,258 : DEBUG : Starting new HTTPS connection (1): translate.google.com:443 2020-09-03 10:11:46,245 : DEBUG : https://translate.google.com:443 "GET /translate_tts?ie=UTF-8&q=Getting+youtube+link&tl=en&ttsspeed=1&total=1&idx=0&client=tw-ob&textlen=20&tk=857248.775057 HTTP/1.1" 200 5$ 2020-09-03 10:11:46,251 : DEBUG : headers-0: {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36', 'Accept-Encoding': 'gzip, deflat$ 2020-09-03 10:11:46,253 : DEBUG : url-0: https://translate.google.com/translate_tts?ie=UTF-8&q=Getting+youtube+link&tl=en&ttsspeed=1&total=1&idx=0&client=tw-ob&textlen=20&tk=857248.775057 2020-09-03 10:11:46,254 : DEBUG : status-0: 200 2020-09-03 10:11:46,255 : DEBUG : part-0 written to <_io.BufferedWriter name='/tmp/female-say.mp3'> 2020-09-03 10:11:46,255 : DEBUG : Saved to /tmp/female-say.mp3 2020-09-03 10:11:47,987 : WARNING : file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth Traceback (most recent call last): File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/file_cache.py", line 33, in from oauth2client.contrib.locked_file import LockedFile ModuleNotFoundError: No module named 'oauth2client.contrib.locked_file'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/file_cache.py", line 37, in from oauth2client.locked_file import LockedFile ModuleNotFoundError: No module named 'oauth2client.locked_file'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/init.py", line 44, in autodetect from . import file_cache File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/file_cache.py", line 41, in "file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth" Traceback (most recent call last): File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/file_cache.py", line 33, in from oauth2client.contrib.locked_file import LockedFile ModuleNotFoundError: No module named 'oauth2client.contrib.locked_file'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/file_cache.py", line 37, in from oauth2client.locked_file import LockedFile ModuleNotFoundError: No module named 'oauth2client.locked_file'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/init.py", line 44, in autodetect from . import file_cache File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/file_cache.py", line 41, in "file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth" ImportError: file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth 2020-09-03 10:11:47,992 : DEBUG : URL being requested: GET https://www.googleapis.com/discovery/v1/apis/youtube/v3/rest?key=AIzaSyCjKvTf8C0cAc3lfXVmdmpyCPl2Uz_l4Qo 2020-09-03 10:11:55,096 : DEBUG : URL being requested: GET https://www.googleapis.com/youtube/v3/search?q=sade+on+youtub&part=id%2Csnippet&key=AIzaSyCjKvTf8C0cAc3lfXVmdmpyCPl2Uz_l4Qo&alt=json

shivasiddharth commented 3 years ago

The first youtube error is not actually an error. Its just a warning. You can see that an audio stream has been produced. And it should have been played normally. Same is the case with the radio station as well.

The second one is actually the error.

Can you paste the audio config files here ?

butteryak commented 3 years ago

you bet, here yah go:

defaults.pcm.rate_converter "samplerate"

pcm.!default { type asym playback.pcm "playback" capture.pcm "capture" }

pcm.playback { type plug slave.pcm "dmixed" }

pcm.capture { type plug slave.pcm "array" }

pcm.dmixed { type dmix slave.pcm "hw:seeed8micvoicec" ipc_key 555555 }

pcm.array { type dsnoop slave { pcm "hw:seeed8micvoicec" channels 8 } ipc_key 666666 }

butteryak commented 3 years ago

actually, it's interesting. I tried youtube about 10 times, it actually played once. but all other times, radio/youtube appears to be playing but not sound: same result:

ON_RECOGNIZING_SPEECH_FINISHED: {"text": "play Sade on YouTube"}

stopping vlc High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.25.10; written and copyright by Michael Hipp and others free software (LGPL) without any warranty but with best wishes

Directory: /tmp/

Terminal control enabled, press 'h' for listing of keys and functions.

Playing MPEG stream 1 of 1: female-say.mp3 ...

MPEG 2.0 L III cbr32 24000 mono

[0:01] Decoding of female-say.mp3 finished. sade on youtub https://r4---sn-8p5n5u-525e.googlevideo.com/videoplayback?expire=1599180716&ei=TDtRX5PoMs7kwQHB04Vg&ip=184.21.206.140&id=o-AEZNCSnhDYwME1C-cu2MPLa7GpqNndzN-3eIo4eTekRg&itag=251&source=youtube&requiressl=yes&mh=oq&mm=31%2C29&mn=sn-8p5n5u-525e%2Csn-vgqsknez&ms=au%2Crdu&mv=m&mvi=4&pl=24&gcr=us&initcwndbps=137500&vprv=1&mime=audio%2Fwebm&gir=yes&clen=3976489&dur=241.061&lmt=1574971033150076&mt=1599159047&fvip=4&keepalive=yes&beids=9466588&c=WEB&txp=5531432&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cgcr%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgFOZXAeFmp-tsh_mz_YMHabNWtRHgKxKfe1KRv9RK8p4CIQDZ3mlEOjVTjhKVLq5jwn0UEGS2Q60Twnw7AEM0elXBOA%3D%3D&sig=AOq0QJ8wRQIhAN0XDgkj9-CqHZGzfudONvSAX9j0si0b0HlaVQOk93K2AiAKMaSuE5wT-yiQBXH0ScEUwzgzo77SoEBslXgDvLuffA==&ratebypass=yes [01b575e0] vlcpulse audio output error: PulseAudio server connection failure: Connection refused /home/pi/env/lib/python3.7/site-packages/vlc.py:1825: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec() if not any(getargspec(callback)[:2]): # list(...) ON_CONVERSATION_TURN_FINISHED: {"with_follow_on_turn": false}

butteryak commented 3 years ago

It's rather interesting really..... youtube worked a few times, maybe 1 outa 15 or so. but mostly getting this error:

python: src/hostapi/alsa/pa_linux_alsa.c:3641: PaAlsaStreamComponent_BeginPolling: Assertion `ret == self->nfds' failed. Fatal Python error: Aborted

Thread 0x60afe460 (most recent call first): File "/home/pi/GassistPi/src/snowboydecoder.py", line 159 in start File "/home/pi/GassistPi/src/main.py", line 475 in start_detector File "/usr/lib/python3.7/threading.py", line 865 in run File "/usr/lib/python3.7/threading.py", line 917 in _bootstrap_inner File "/usr/lib/python3.7/threading.py", line 885 in _bootstrap

Thread 0x624ff460 (most recent call first): File "/home/pi/GassistPi/src/main.py", line 248 in pushbutton File "/usr/lib/python3.7/threading.py", line 865 in run File "/usr/lib/python3.7/threading.py", line 917 in _bootstrap_inner File "/usr/lib/python3.7/threading.py", line 885 in _bootstrap

Thread 0x67729460 (most recent call first): File "/usr/lib/python3.7/threading.py", line 300 in wait File "/usr/lib/python3.7/threading.py", line 552 in wait File "/usr/lib/python3.7/threading.py", line 1164 in run File "/usr/lib/python3.7/threading.py", line 917 in _bootstrap_inner File "/usr/lib/python3.7/threading.py", line 885 in _bootstrap

Thread 0x76f79ad0 (most recent call first): File "/usr/lib/python3.7/sre_parse.py", line 255 in get File "/usr/lib/python3.7/sre_parse.py", line 529 in _parse File "/usr/lib/python3.7/sre_parse.py", line 426 in _parse_sub File "/usr/lib/python3.7/sre_parse.py", line 816 in _parse File "/usr/lib/python3.7/sre_parse.py", line 426 in _parse_sub File "/usr/lib/python3.7/sre_parse.py", line 938 in parse File "/usr/lib/python3.7/sre_compile.py", line 764 in compile File "/usr/lib/python3.7/re.py", line 286 in _compile File "/usr/lib/python3.7/re.py", line 173 in match File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/jsinterp.py", line 88 in interpret_expression File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/jsinterp.py", line 56 in interpret_statement File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/jsinterp.py", line 258 in resf File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1402 in File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1338 in _extract_signature_function File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1426 in _decrypt_signature File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 2107 in _real_extract File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 530 in extract File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 797 in extract_info File "/home/pi/env/lib/python3.7/site-packages/pafy/backend_youtube_dl.py", line 40 in _fetch_basic File "/home/pi/env/lib/python3.7/site-packages/pafy/backend_shared.py", line 97 in init File "/home/pi/env/lib/python3.7/site-packages/pafy/backend_youtube_dl.py", line 31 in init File "/home/pi/env/lib/python3.7/site-packages/pafy/pafy.py", line 124 in new File "/home/pi/GassistPi/src/youtube_search_engine.py", line 125 in youtube_stream_link File "/home/pi/GassistPi/src/actions.py", line 1175 in YouTube_No_Autoplay File "/home/pi/GassistPi/src/main.py", line 738 in custom_command File "/home/pi/GassistPi/src/main.py", line 389 in process_event File "/home/pi/GassistPi/src/main.py", line 1016 in main File "/home/pi/GassistPi/src/main.py", line 1024 in Aborted

the radio urls mostly appear to be working, about 1 out of 10 tries does not (I'm chalking this up to internet being slow) typically I see this output when calling radio:

ON_RECOGNIZING_SPEECH_FINISHED: {"text": "play Radio 1"}

stopping vlc http://live.str3am.com:2470/live32 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.25.10; written and copyright by Michael Hipp and others free software (LGPL) without any warranty but with best wishes

Directory: /tmp/

Terminal control enabled, press 'h' for listing of keys and functions.

Playing MPEG stream 1 of 1: female-say.mp3 ...

MPEG 2.0 L III cbr32 24000 mono

[0:01] Decoding of female-say.mp3 finished. [0156c0e0] vlcpulse audio output error: PulseAudio server connection failure: Connection refused /home/pi/env/lib/python3.7/site-packages/vlc.py:1825: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec() if not any(getargspec(callback)[:2]): # list(...) ON_CONVERSATION_TURN_FINISHED: {"with_follow_on_turn": false}

[5e003c48] mpeg4audio demux packetizer: AAC channels: 1 samplerate: 24000

butteryak commented 3 years ago

I've been working with this a bit, but with no luck. Radio seems to work fine. although every time I try to play a song on youtube, I'm consistently getting this error:

Terminal control enabled, press 'h' for listing of keys and functions.

Playing MPEG stream 1 of 1: female-say.mp3 ...

MPEG 2.0 L III cbr32 24000 mono

[0:01] Decoding of female-say.mp3 finished. sade on youtub python: src/hostapi/alsa/pa_linux_alsa.c:3641: PaAlsaStreamComponent_BeginPolling: Assertion `ret == self->nfds' failed. Fatal Python error: Aborted

Thread 0x5dffe460 (most recent call first): File "/home/pi/GassistPi/src/snowboydetect.py", line 75 in RunDetection File "/home/pi/GassistPi/src/snowboydecoder.py", line 162 in start File "/home/pi/GassistPi/src/main.py", line 475 in start_detector File "/usr/lib/python3.7/threading.py", line 865 in run File "/usr/lib/python3.7/threading.py", line 917 in _bootstrap_inner File "/usr/lib/python3.7/threading.py", line 885 in _bootstrap

Thread 0x62834460 (most recent call first): File "/home/pi/GassistPi/src/main.py", line 248 in pushbutton File "/usr/lib/python3.7/threading.py", line 865 in run File "/usr/lib/python3.7/threading.py", line 917 in _bootstrap_inner File "/usr/lib/python3.7/threading.py", line 885 in _bootstrap

Thread 0x676e0460 (most recent call first): File "/usr/lib/python3.7/threading.py", line 300 in wait File "/usr/lib/python3.7/threading.py", line 552 in wait File "/usr/lib/python3.7/threading.py", line 1164 in run File "/usr/lib/python3.7/threading.py", line 917 in _bootstrap_inner File "/usr/lib/python3.7/threading.py", line 885 in _bootstrap

Thread 0x76f29ad0 (most recent call first): File "/usr/lib/python3.7/re.py", line 183 in search File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 987 in _search_regex File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1398 in _parse_sig_js File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1326 in _extract_signature_function File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1426 in _decrypt_signature File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 2107 in _real_extract File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 530 in extract File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 797 in extract_info File "/home/pi/env/lib/python3.7/site-packages/pafy/backend_youtube_dl.py", line 40 in _fetch_basic File "/home/pi/env/lib/python3.7/site-packages/pafy/backend_shared.py", line 97 in init File "/home/pi/env/lib/python3.7/site-packages/pafy/backend_youtube_dl.py", line 31 in init File "/home/pi/env/lib/python3.7/site-packages/pafy/pafy.py", line 124 in new File "/home/pi/GassistPi/src/youtube_search_engine.py", line 125 in youtube_stream_link File "/home/pi/GassistPi/src/actions.py", line 1175 in YouTube_No_Autoplay File "/home/pi/GassistPi/src/main.py", line 738 in custom_command File "/home/pi/GassistPi/src/main.py", line 389 in process_event File "/home/pi/GassistPi/src/main.py", line 1016 in main File "/home/pi/GassistPi/src/main.py", line 1024 in Aborted

Once, I got this slightly different error:

ON_RECOGNIZING_SPEECH_FINISHED: {"text": "play Sade YouTube"}

stopping vlc High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.25.10; written and copyright by Michael Hipp and others free software (LGPL) without any warranty but with best wishes

Directory: /tmp/

Terminal control enabled, press 'h' for listing of keys and functions.

Playing MPEG stream 1 of 1: female-say.mp3 ...

MPEG 2.0 L III cbr32 24000 mono

[0:01] Decoding of female-say.mp3 finished. sade youtub python: src/hostapi/alsa/pa_linux_alsa.c:3641: PaAlsaStreamComponent_BeginPolling: Assertion `ret == self->nfds' failed. Fatal Python error: Aborted

Thread 0x67762460 (most recent call first): File "/usr/lib/python3.7/threading.py", line 300 in wait File "/usr/lib/python3.7/threading.py", line 552 in wait File "/usr/lib/python3.7/threading.py", line 1164 in run File "/usr/lib/python3.7/threading.py", line 917 in _bootstrap_inner File "/usr/lib/python3.7/threading.py", line 885 in _bootstrap

Thread 0x76fb1ad0 (most recent call first): File "/usr/lib/python3.7/re.py", line 183 in search File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 987 in _search_regex File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1398 in _parse_sig_js File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1326 in _extract_signature_function File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1426 in _decrypt_signature File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 2107 in _real_extract File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 530 in extract File "/home/pi/env/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 797 in extract_info File "/home/pi/env/lib/python3.7/site-packages/pafy/backend_youtube_dl.py", line 40 in _fetch_basic File "/home/pi/env/lib/python3.7/site-packages/pafy/backend_shared.py", line 97 in init File "/home/pi/env/lib/python3.7/site-packages/pafy/backend_youtube_dl.py", line 31 in init File "/home/pi/env/lib/python3.7/site-packages/pafy/pafy.py", line 124 in new File "/home/pi/GassistPi/src/youtube_search_engine.py", line 125 in youtube_stream_link File "/home/pi/GassistPi/src/actions.py", line 1175 in YouTube_No_Autoplay File "/home/pi/GassistPi/src/main.py", line 738 in custom_command File "/home/pi/GassistPi/src/main.py", line 389 in process_event File "/home/pi/GassistPi/src/main.py", line 1016 in main File "/home/pi/GassistPi/src/main.py", line 1024 in Aborted

shivasiddharth commented 3 years ago

I am held up with personal work. Fixing this issue needs good amount of time, which i dont have now.

butteryak commented 3 years ago

thanks for the update+ I totally understand, thanks for your efforts so far.

I have a bit of time to play around with it, if you have a minute, if you could point me in the direction of what I could look at to make it work, maybe I can see what I can figure out. if not no worries.

butteryak commented 3 years ago

After quite a bit of poking around and trying some things, I've got the Seeed card working, and I can play radio (still having some issues with youtube, but I think it's a different issue, not sure) I know you said you are busy, so just keeping you updated on my progress.

I was figuring the issue was that radio and youtube needed pulseaudio to work properly so I made sure it was installed, I think the key here was to set my sinks and sources in pulse audio.

Server String: /run/user/1000/pulse/native
Library Protocol Version: 32
Server Protocol Version: 32
Is Local: yes
Client Index: 11
Tile Size: 65496
User Name: pi
Host Name: raspberrypi
Server Name: pulseaudio
Server Version: 12.2
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.platform-soc_sound.multichannel-output
Default Source: alsa_input.platform-soc_sound.multichannel-input
Cookie: b9b3:d72d

Also making sure asoundrc was setup properly:

defaults.pcm.rate_converter "samplerate"

pcm.!default {
    type asym
    playback.pcm "dmixer"
    capture.pcm "capture"
}

pcm.playback {
    type plug
    slave.pcm "dmixed"
}

pcm.capture {
    type plug
    slave.pcm "array"
}

pcm.dmixer {
    type plug
    slave {
        pcm {
            type dmix
            ipc_key 555555
            slave {
                pcm "hw:seeed8micvoicec"
                period_time 0
                period_size 1024
                buffer_size 8192
                format S32_LE
                channels 8
            }
            bindings {
                0 0
                1 1
                2 2
                3 3
                4 4
                5 5
                6 6
                7 7
            }
        }
        channels 8
        format S32_LE
        rate 48000
}
    ttable.0.0 1
    ttable.1.1 1
    ttable.0.2 1
    ttable.1.3 1
    ttable.0.4 1
    ttable.1.5 1
    ttable.0.6 1
    ttable.1.7 1
}

pcm.array {
    type dsnoop
    slave {
        pcm "hw:seeed8micvoicec"
        channels 8
    }
    ipc_key 666666
}

I was experiencing some popping sounds until I set:

period_time 0
period_size 1024
buffer_size 8192

in asoundrc

This seems to work pretty well, the responses and radio work great, and there is no distortion or popping or skipping audio. radio works great+++

I still seem to have some difficulty playing youtube though, as per this error:

2020-10-19 14:21:01,031 : DEBUG : Starting new HTTP connection (1): translate.google.com:80
2020-10-19 14:21:01,747 : DEBUG : http://translate.google.com:80 "GET / HTTP/1.1" 302 226
2020-10-19 14:21:01,761 : DEBUG : Starting new HTTPS connection (1): translate.google.com:443
2020-10-19 14:21:03,152 : DEBUG : https://translate.google.com:443 "GET / HTTP/1.1" 200 None
2020-10-19 14:21:03,432 : DEBUG : Starting new HTTP connection (1): translate.google.com:80
2020-10-19 14:21:04,082 : DEBUG : http://translate.google.com:80 "GET //translate/releases/twsfe_w_20200928_RC01/r/js/translate_m.js HTTP/1.1" 200 569016
2020-10-19 14:21:06,233 : DEBUG : langs: {'af': 'Afrikaans', 'sq': 'Albanian', 'ar': 'Arabic', 'hy': 'Armenian', 'bn': 'Bengali', 'bs': 'Bosnian', 'ca': 'Catalan', 'hr': 'Croatian', 'cs': 'Czech', 'da': 'Danish', 'nl': 'Dutch', 'en': 'English', 'eo': 'Esperanto', 'et': 'Estonian', 'tl': 'Filipino', 'fi': 'Finnish', 'fr': 'French', 'de': 'German', 'el': 'Greek', 'gu': 'Gujarati', 'hi': 'Hindi', 'hu': 'Hungarian', 'is': 'Icelandic', 'id': 'Indonesian', 'it': 'Italian', 'ja': 'Japanese', 'jw': 'Javanese', 'kn': 'Kannada', 'km': 'Khmer', 'ko': 'Korean', 'la': 'Latin', 'lv': 'Latvian', 'mk': 'Macedonian', 'ml': 'Malayalam', 'mr': 'Marathi', 'my': 'Myanmar (Burmese)', 'ne': 'Nepali', 'no': 'Norwegian', 'pl': 'Polish', 'pt': 'Portuguese', 'ro': 'Romanian', 'ru': 'Russian', 'sr': 'Serbian', 'si': 'Sinhala', 'sk': 'Slovak', 'es': 'Spanish', 'su': 'Sundanese', 'sw': 'Swahili', 'sv': 'Swedish', 'ta': 'Tamil', 'te': 'Telugu', 'th': 'Thai', 'tr': 'Turkish', 'uk': 'Ukrainian', 'ur': 'Urdu', 'vi': 'Vietnamese', 'cy': 'Welsh', 'zh-cn': 'Chinese (Mandarin/China)', 'zh-tw': 'Chinese (Mandarin/Taiwan)', 'en-us': 'English (US)', 'en-ca': 'English (Canada)', 'en-uk': 'English (UK)', 'en-gb': 'English (UK)', 'en-au': 'English (Australia)', 'en-gh': 'English (Ghana)', 'en-in': 'English (India)', 'en-ie': 'English (Ireland)', 'en-nz': 'English (New Zealand)', 'en-ng': 'English (Nigeria)', 'en-ph': 'English (Philippines)', 'en-za': 'English (South Africa)', 'en-tz': 'English (Tanzania)', 'fr-ca': 'French (Canada)', 'fr-fr': 'French (France)', 'pt-br': 'Portuguese (Brazil)', 'pt-pt': 'Portuguese (Portugal)', 'es-es': 'Spanish (Spain)', 'es-us': 'Spanish (United States)'}
2020-10-19 14:21:06,235 : DEBUG : pre-processing: <function tone_marks at 0x6f6f45d0>
2020-10-19 14:21:06,238 : DEBUG : pre-processing: <function end_of_line at 0x6f6f4810>
2020-10-19 14:21:06,239 : DEBUG : pre-processing: <function abbreviations at 0x6f6f4930>
2020-10-19 14:21:06,244 : DEBUG : pre-processing: <function word_sub at 0x6f6f4d20>
2020-10-19 14:21:06,250 : DEBUG : text_parts: 1
2020-10-19 14:21:06,270 : DEBUG : Starting new HTTPS connection (1): translate.google.com:443
2020-10-19 14:21:07,667 : DEBUG : https://translate.google.com:443 "GET / HTTP/1.1" 200 None
2020-10-19 14:21:07,936 : DEBUG : payload-0: {'ie': 'UTF-8', 'q': 'Getting youtube link', 'tl': 'en', 'ttsspeed': 1, 'total': 1, 'idx': 0, 'client': 'tw-ob', 'textlen': 20, 'tk': '815403.703150'}
2020-10-19 14:21:07,942 : DEBUG : Starting new HTTPS connection (1): translate.google.com:443
2020-10-19 14:21:09,294 : DEBUG : https://translate.google.com:443 "GET /translate_tts?ie=UTF-8&q=Getting+youtube+link&tl=en&ttsspeed=1&total=1&idx=0&client=tw-ob&textlen=20&tk=815403.703150 HTTP/1.1" 200 5856
2020-10-19 14:21:09,326 : DEBUG : headers-0: {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Referer': 'http://translate.google.com/'}
2020-10-19 14:21:09,327 : DEBUG : url-0: https://translate.google.com/translate_tts?ie=UTF-8&q=Getting+youtube+link&tl=en&ttsspeed=1&total=1&idx=0&client=tw-ob&textlen=20&tk=815403.703150
2020-10-19 14:21:09,328 : DEBUG : status-0: 200
2020-10-19 14:21:09,329 : DEBUG : part-0 written to <_io.BufferedWriter name='/tmp/female-say.mp3'>
2020-10-19 14:21:09,329 : DEBUG : Saved to /tmp/female-say.mp3
2020-10-19 14:21:11,097 : WARNING : file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth
Traceback (most recent call last):
  File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/file_cache.py", line 33, in <module>
    from oauth2client.contrib.locked_file import LockedFile
ModuleNotFoundError: No module named 'oauth2client.contrib.locked_file'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/file_cache.py", line 37, in <module>
    from oauth2client.locked_file import LockedFile
ModuleNotFoundError: No module named 'oauth2client.locked_file'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/__init__.py", line 44, in autodetect
    from . import file_cache
  File "/home/pi/env/lib/python3.7/site-packages/googleapiclient/discovery_cache/file_cache.py", line 41, in <module>
    "file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth"
ImportError: file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth
2020-10-19 14:21:11,100 : DEBUG : URL being requested: GET https://www.googleapis.com/discovery/v1/apis/youtube/v3/rest?key=AIzaSyCjKvTf8C0cAc3lfXVmdmpyCPl2Uz_l4Qo
2020-10-19 14:21:13,722 : DEBUG : URL being requested: GET https://www.googleapis.com/youtube/v3/search?q=sade+on+youtub&part=id%2Csnippet&key=AIzaSyCjKvTf8C0cAc3lfXVmdmpyCPl2Uz_l4Qo&alt=json

Basically I get the error above, and Gassist restarts.

shivasiddharth commented 3 years ago

Howdy. This issue was opened long time back. I have updated the seeed installer with your modified audio config. Thanks. Do you need help with any stuff or are we good to close this ?