-
-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Respeaker 6mic and 8mic not working #1043
Comments
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. |
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 During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): 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' 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 ON_MUTED_CHANGED: ON_CONVERSATION_TURN_STARTED ON_RESPONDING_STARTED: 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: stopping vlc 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. Thread 0x628fc460 (most recent call first): Thread 0x606fd460 (most recent call first): Thread 0x676f8460 (most recent call first): Thread 0x76f4bad0 (most recent call first): |
Do: Restart the Pi and check again. |
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: stopping vlc 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. |
use alsaconfig on your terminal and set the pulseaudio or audio out volume to maximum. |
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 defaults.pcm.rate_converter "samplerate" pcm.!default { pcm.multiapps { pcm.dmixer { as well as aplay -L: null here also aplay -l **** List of PLAYBACK Hardware Devices **** |
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. |
aplay --device plughw:CARD=seeed8micvoicec,DEV=0 a.wav outputs test wav to Respeaker (just FYI) |
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. |
The audio config files that you have posted is not formatted properly. Can you paste it properly formatted ? |
Uninstall the existing seeed card installation using the uninstall option. Then delete the seeed-voicecard folder. Remove pulseaudio using: Now try the fix. Go through the usual seeed-voicecard installation process. Reboot and try the Google Assistant. |
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: stopping vlc 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. youtube-second error: ON_RECOGNIZING_SPEECH_FINISHED: stopping vlc 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. Thread 0x5defe460 (most recent call first): Thread 0x5d2ff460 (most recent call first): Thread 0x6771b460 (most recent call first): Thread 0x76f7bad0 (most recent call first): also see similiar with trying to play radio radio: ON_RECOGNIZING_SPEECH_FINISHED: stopping vlc 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. and log file: 2020-09-03 10:08:24,693 : DEBUG : Making request: POST https://accounts.google.com/o/oauth2/token During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
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 ? |
you bet, here yah go: defaults.pcm.rate_converter "samplerate" pcm.!default { pcm.playback { pcm.capture { pcm.dmixed { pcm.array { |
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: stopping vlc 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. |
It's rather interesting really..... python: src/hostapi/alsa/pa_linux_alsa.c:3641: PaAlsaStreamComponent_BeginPolling: Assertion `ret == self->nfds' failed. Thread 0x60afe460 (most recent call first): Thread 0x624ff460 (most recent call first): Thread 0x67729460 (most recent call first): Thread 0x76f79ad0 (most recent call first): 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: stopping vlc 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. [5e003c48] mpeg4audio demux packetizer: AAC channels: 1 samplerate: 24000 |
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. Thread 0x5dffe460 (most recent call first): Thread 0x62834460 (most recent call first): Thread 0x676e0460 (most recent call first): Thread 0x76f29ad0 (most recent call first): Once, I got this slightly different error: ON_RECOGNIZING_SPEECH_FINISHED: stopping vlc 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. Thread 0x67762460 (most recent call first): Thread 0x76fb1ad0 (most recent call first): |
I am held up with personal work. Fixing this issue needs good amount of time, which i dont have now. |
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. |
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.
Also making sure asoundrc was setup properly:
I was experiencing some popping sounds until I set:
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:
Basically I get the error above, and Gassist restarts. |
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 ? |
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
The text was updated successfully, but these errors were encountered: