shivasiddharth / GassistPi

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

Assistant Crashed #909

Closed Friday8229 closed 5 years ago

Friday8229 commented 5 years ago

IMPORTANT NOTICE
If you do not complete the template below it is likely that your issue will not be addressed. When providing information about your issue please be as extensive as possible so that it can be solved by as little as possible responses.

FAILURE TO COMPLETE THE REQUESTED INFORMATION WILL RESULT IN YOUR ISSUE BEING CLOSED

Board and OS details:

Open a terminal and run

cat /proc/cpuinfo  
cat /etc/os-release  
Paste your Board and OS details here.   

pi@raspberrypi:~ $ cat /proc/cpuinfo  
processor   : 0
model name  : ARMv7 Processor rev 4 (v7l)
BogoMIPS    : 89.60
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    : 89.60
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    : 89.60
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    : 89.60
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      : 0000000054341172

pi@raspberrypi:~ $ cat /etc/os-release  
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
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:
Assistant not working after running the gmusic command specifically (/home/${USER}/env/bin/python -u /home/${USER}/GassistPi/Extras/gmusicauth.py)-- this command
I also made a slight modification in the actions.py file that is 

def Action(phrase):
    if 'shutdown' in phrase:
        say('Sure')
        time.sleep(10)
        os.system("sudo shutdown -h now")
        #subprocess.call(["shutdown -h now"], shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    if 'reboot' in phrase:
        say('Sure')
        time.sleep(10)
        os.system("sudo reboot -h now")

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

2. Is the issue related to assistant installation ?

No

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

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

3. Does the assistant service start normally?

Yes

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

[/home/${USER}/env/bin/python -u /home/${USER}/GassistPi/Extras/gmusicauth.py]

Paste the contents of the terminal below

When I start the assistant manually the output is

ain.py --device_model_id 'zero2500-zero250-w48xlq' INFO:gmusicapi.Mobileclient1:!-- begin debug log --! INFO:gmusicapi.Mobileclient1:version: 12.1.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:{'data': {'entries': [{'value': 'false', 'kind': 'sj#configEntry', 'key': 'canManageFP'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'shouldShowLocalSuggestions'}, {'value': '3', 'kind': 'sj#configEntry', 'key': 'purchaseAccess'}, {'value': '30000', 'kind': 'sj#configEntry', 'key': 'wsVdtMillis'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'sideloadedPlaybackLogging'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isWarmWelcomeDisabledForWoodstock'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'canCancelSubscription'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'nashvillebg'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isVsAvailable'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'canBrowseSt'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'appstoreRatingPrompt'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellDrawerCtaMessage'}, {'value': "Download and listen to any song, album, or station when you're not connected", 'kind': 'sj#configEntry', 'key': 'upsellDrawerDownloadMessage'}, {'value': '5000', 'kind': 'sj#configEntry', 'key': 'wsVatMillis'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'nuqRequiredForWsSignup'}, {'value': 'GET MORE', 'kind': 'sj#configEntry', 'key': 'upsellSkipLimitTwoLeftCtaMessage'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellNewReleasesCtaMessage'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellListenNowCtaMessage'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'enableWsExtras'}, {'value': 'Subscribe to get millions of songs on-demand, offline, and ad-free', 'kind': 'sj#configEntry', 'key': 'upsellSignedOutMessage'}, {'value': '500', 'kind': 'sj#configEntry', 'key': 'topListMaxSize'}, {'value': '2 skips left', 'kind': 'sj#configEntry', 'key': 'upsellSkipLimitTwoLeftMessage'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'showLMark'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'conciergeListenNow'}, {'value': '6', 'kind': 'sj#configEntry', 'key': 'minimumAppStartCountForFreeUpsell'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellPreviousCtaMessage'}, {'value': "Download and listen to any song, album, or station when you're not connected", 'kind': 'sj#configEntry', 'key': 'upsellDownloadMessage'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'showYoutubeRedInfoCard'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'concListenNow'}, {'value': '300', 'kind': 'sj#configEntry', 'key': 'instantSearchDelay'}, {'value': 'Subscribe to play any song or album', 'kind': 'sj#configEntry', 'key': 'upsellChartsMessage'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isPodcastSyncEnabled'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellChartsCtaMessage'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'showViOSL'}, {'value': '604800', 'kind': 'sj#configEntry', 'key': 'topListUpdatePeriodSeconds'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isSuggestDeletionEnabled'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'shouldShowServerSuggestions'}, {'value': '30', 'kind': 'sj#configEntry', 'key': 'situationsResponseTTLMinutes'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isFoplessNautilusUser'}, {'value': '1459804296734', 'kind': 'sj#configEntry', 'key': 'appStartCountForFreeUpsellRevisionNumber'}, {'value': 'Choose your language preference here, too.', 'kind': 'sj#configEntry', 'key': 'mgRPBDesc'}, {'value': '1', 'kind': 'sj#configEntry', 'key': 'partridgeManagement'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'showB'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'showA'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'shouldEnableThriller'}, {'value': 'Subscribe to play any song or album', 'kind': 'sj#configEntry', 'key': 'upsellThumbsUpMessage'}, {'value': '100', 'kind': 'sj#configEntry', 'key': 'topListPageSize'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isHallmarkEnabled'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellThumbsUpCtaMessage'}, {'value': '2', 'kind': 'sj#configEntry', 'key': 'uploadAccess'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isNautilusAvailable'}, {'value': '2', 'kind': 'sj#configEntry', 'key': 'nautilusAccess'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isQuizEnabledForWoodstockOnSignup'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'showO'}, {'value': '200000', 'kind': 'sj#configEntry', 'key': 'disabledConnectivityTimeoutMs'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'hasPControlSettings'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'wasRecentlyInFoplessNautilus'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'showV'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellSignedOutCtaMessage'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'forceSignupFlow'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isNautilusUser'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isLNEnabled'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'wasEverInNautilus'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'ytContent'}, {'value': 'GET MORE', 'kind': 'sj#configEntry', 'key': 'upsellSkipLimitOneLeftCtaMessage'}, {'value': '5000', 'kind': 'sj#configEntry', 'key': 'wsAatMillis'}, {'value': '1', 'kind': 'sj#configEntry', 'key': 'partridgeAccess'}, {'value': 'LISTEN_NOW', 'kind': 'sj#configEntry', 'key': 'warmWelcomeButtonText'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellPrerollVideoCtaMessage'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isTrAvailable'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isInAppMessageEnabled'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'disableInfoCardsOnDayOne'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'canRC'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'searchClusterResponseEnabled'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellSkipLimitCtaMessage'}, {'value': 'Google Play Music Free', 'kind': 'sj#configEntry', 'key': 'accountType'}, {'value': 'Subscribe for all of the music on-demand and offline with none of the ads', 'kind': 'sj#configEntry', 'key': 'upsellPrerollVideoMessage'}, {'value': 'Subscribe to get millions of songs on-demand, offline, and ad-free', 'kind': 'sj#configEntry', 'key': 'upsellListenNowMessage'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isSuggestRequestEnabled'}, {'value': '12600335,12600357,12600366,12600388,12600390,12600394,12600397,12600426,12600428,12600430,12600443,12600465,12600466,12600467,12600506,12600526,12600530,12600536,12602068,12604244,12604245,12611729,12612165,12612247,12616614,12616615,12617467,12619023,12619033,12619127,12620830,12624216,12625361,12625500,12625941,12626008,12626945,12627951,12628012,12628193,12628654,12629142,12629667,12630065,12630209,12631091,12631414,12631643,12632064,12632720,12633320,12634000,12635213,12636020,12641836,12642011,12642809,12643044,12643537,12647853,12648818,12648954,12649047,12650240,12650284,12650285,12652170,12653224,12653393,12653567,12655808,12656072,12656556,12656567,12657925,12658555,12658847,12660587,12661698,12664007,12664317,12664580,12665507,12666135,12667670,12669086,12669482,12670143,20350003', 'kind': 'sj#configEntry', 'key': 'experimentIdsToLog'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isExplicitRestrictedByPControl'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isAnyServiceAvailable'}, {'value': 'NO_EXPERIMENT', 'kind': 'sj#configEntry', 'key': 'pieDayOneCard'}, {'value': 'Replay that song and millions of others, anytime', 'kind': 'sj#configEntry', 'key': 'upsellPreviousMessage'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isAcceptedUser'}, {'value': '250', 'kind': 'sj#configEntry', 'key': 'appStartCountForFreeUpsell'}, {'value': '3', 'kind': 'sj#configEntry', 'key': 'wsAccess'}, {'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': 'fcapConfigJson'}, {'value': '10', 'kind': 'sj#configEntry', 'key': 'androidTvEntityPageSize'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isPlSharingEnabled'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'showLNInSettings'}, {'value': 'Improve your recommendations', 'kind': 'sj#configEntry', 'key': 'mgRPB'}, {'value': '1', 'kind': 'sj#configEntry', 'key': 'ytSubscriptionAccess'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellDrawerDownloadCtaMessage'}, {'value': '1 skip left', 'kind': 'sj#configEntry', 'key': 'upsellSkipLimitOneLeftMessage'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isDeviceVersionBlacklisted'}, {'value': '1800000', 'kind': 'sj#configEntry', 'key': 'wsPrefetchedAaeMillis'}, {'value': '300407000', 'kind': 'sj#configEntry', 'key': 'minimumGsaVersionRequiredForSoundSearch'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isSoundSearchEnabled'}, {'value': '150', 'kind': 'sj#configEntry', 'key': 'suggestRequestDelayMillis'}, {'value': "You're out of skips. Get on-demand and offline access to millions of songs.", 'kind': 'sj#configEntry', 'key': 'upsellSkipLimitMessage'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellDownloadCtaMessage'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isInstantSearchEnabled'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'hasNewUserQuizPermission'}, {'value': 'Subscribe to play any song or album', 'kind': 'sj#configEntry', 'key': 'upsellNewReleasesMessage'}, {'value': '100001', 'kind': 'sj#configEntry', 'key': 'persistentSubscriptionTrackUserLimit'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'shouldValidateMediaRoutes'}, {'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': 'mediaRoutePackageSignatures'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'enableFallbackForShortUrls'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'iosEnableStreamInterception'}, {'value': 'true', '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': '2872939A', 'kind': 'sj#configEntry', 'key': 'castReceiverAppId'}, {'value': 'true', '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': 'false', 'kind': 'sj#configEntry', 'key': 'iosRadioDownloadsAlwaysUseDownloadedSongs'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'iosRadioDownloadsEagerRefill'}, {'value': '25', 'kind': 'sj#configEntry', 'key': 'iosRadioDownloadsBatchSize'}, {'value': '80', 'kind': 'sj#configEntry', 'key': 'iosRadioDownloadsReadyPercent'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'iosEnableGPMAudioPlayer'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'iosEnableGPMAudioPlayerFMP4'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'enableAndroidChromecastCloudQueue'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'enableAndroidChromecastCloudQueueWoodstock'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'enableAndroidDialCloudQueue'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'iosEnableSonos'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'enableMpsOverride'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'enableReportAllPlayEventsInRealtime'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'iOSEnableFullWidthSearchBar'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'androidEnableFullWidthSearchBar'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'askForNautilusCancellationReason'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'autoDogfoodStackCandidate'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'enableDGEvaluation'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'androidEnableAdaptiveHome'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'iosEnableAdaptiveHome'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'enableOkHttp'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isSyncLoggingEnabled'}, {'value': 'true', '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': 'false', 'kind': 'sj#configEntry', 'key': 'musicFeedbackLogs'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isPrimesOdysseyEnabled'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isPrimesClearcutEnabled'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isPrimesMemoryEnabled'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'iosEnableStickyNav'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'androidEnableStickyNav'}, {'value': 'false', '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': '0', 'kind': 'sj#configEntry', 'key': 'iosMinimumBackgroundFetchIntervalSeconds'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'syncExperimentsToLogViaSyncService'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'androidEnableSilentFeedback'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'headphoneRecommendationNotification'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'androidEnableEntityBrowserForMediaBrowser'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'enableDynamicOffers'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'enableDynamicOffersWithCoupons'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'disableULRReportingiOS'}, {'value': '0', 'kind': 'sj#configEntry', 'key': 'iosForegroundLocationFetchTimeoutMs'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isBtAutoplaySettingEnabled'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isWaitForSyncAfterSignupEnabled'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isPrimesCrashEnabled'}]}, 'kind': 'sj#configList'} DEBUG:gmusicapi.Mobileclient1:GetDeviceManagementInfo(args=[], kwargs={'required_auth': [False, False, True, False]}) DEBUG:gmusicapi.Mobileclient1:{'kind': 'sj#userClientIdList'} INFO:gmusicapi.Mobileclient1:logged out Traceback (most recent call last): File "/home/pi/GassistPi/src/main.py", line 51, in from actions import say File "/home/pi/GassistPi/src/actions.py", line 14, in from mediaplayer import api File "/home/pi/GassistPi/src/mediaplayer.py", line 28, in logged_in=api.oauth_login(deviceid) NameError: name 'deviceid' is not defined

Attach the log file named Gassistpi.log

Log file can be found in /tmp/ directory
No log file found in the tmp directory

shivasiddharth commented 5 years ago

Duplicate of #839

Friday8229 commented 5 years ago

I saw the issue #866 and i commented the lines 27 and 28 in the GassistPi/src/mediaplayer.py and my assistant started working normally but when I asked to play a music from youtube there is no response after it says getting youtube link. The problem starts now my assistant was working fine except youtube and as you mentioned in issue #890 I updated the youtube.dll and my assistant and after rebooting t started acting strangely when I say "ok google" it took about 5 sec to hear the ding tone and it is very slow now when i say to play a song from youtube at first it says "something went wrong" and then it says getting youtube link and then nothing happens . Thanks in advance

Friday8229 commented 5 years ago

HI shivasiddharth , my assistant started working normally after rebooting it 3 times but the youtube issue is still the same. It works normally except youtube and I want to know that can I increase the speed of my assistant.

aandroide commented 5 years ago

check if your youtube apikey is still active from the google console, after a few months of non-use google deactivates it and could cause the problem you are experiencing.

Friday8229 commented 5 years ago

Hi, aandroide my YouTube apikey is still active from the Google console.

shivasiddharth commented 5 years ago

The assistant will not reboot for youtube issues, it will say "Encountered an exception please check the logs". But it will not restart. Check if you have enabled youtube data api.

Friday8229 commented 5 years ago

Sorry but there is a miss understanding I was saying that it started working correctly after I rebooted it three times manuallay. My youtube issue is still the same I have checked the youtube api it is enabled.

thanks in advance

shivasiddharth commented 5 years ago

I need to see the terminal output for youtube issue. Can you give the youtube streaming command and then share the terminal output?

Friday8229 commented 5 years ago

This is the terminal output

pi@raspberrypi:~ $ /home/${USER}/env/bin/python -u /home/${USER}/GassistPi/src/main.py --device_model_id 'zero2500-zero250-w48xlq' INFO:gmusicapi.Mobileclient1:!-- begin debug log --! INFO:gmusicapi.Mobileclient1:version: 12.1.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': [{'value': 'false', 'kind': 'sj#configEntry', 'key': 'canManageFP'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'shouldShowLocalSuggestions'}, {'value': '3', 'kind': 'sj#configEntry', 'key': 'purchaseAccess'}, {'value': '30000', 'kind': 'sj#configEntry', 'key': 'wsVdtMillis'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'sideloadedPlaybackLogging'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isWarmWelcomeDisabledForWoodstock'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'canCancelSubscription'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'nashvillebg'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isVsAvailable'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'canBrowseSt'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'appstoreRatingPrompt'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellDrawerCtaMessage'}, {'value': "Download and listen to any song, album, or station when you're not connected", 'kind': 'sj#configEntry', 'key': 'upsellDrawerDownloadMessage'}, {'value': '5000', 'kind': 'sj#configEntry', 'key': 'wsVatMillis'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'nuqRequiredForWsSignup'}, {'value': 'GET MORE', 'kind': 'sj#configEntry', 'key': 'upsellSkipLimitTwoLeftCtaMessage'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellNewReleasesCtaMessage'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellListenNowCtaMessage'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'enableWsExtras'}, {'value': 'Subscribe to get millions of songs on-demand, offline, and ad-free', 'kind': 'sj#configEntry', 'key': 'upsellSignedOutMessage'}, {'value': '500', 'kind': 'sj#configEntry', 'key': 'topListMaxSize'}, {'value': '2 skips left', 'kind': 'sj#configEntry', 'key': 'upsellSkipLimitTwoLeftMessage'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'showLMark'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'conciergeListenNow'}, {'value': '6', 'kind': 'sj#configEntry', 'key': 'minimumAppStartCountForFreeUpsell'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellPreviousCtaMessage'}, {'value': "Download and listen to any song, album, or station when you're not connected", 'kind': 'sj#configEntry', 'key': 'upsellDownloadMessage'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'showYoutubeRedInfoCard'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'concListenNow'}, {'value': '300', 'kind': 'sj#configEntry', 'key': 'instantSearchDelay'}, {'value': 'Subscribe to play any song or album', 'kind': 'sj#configEntry', 'key': 'upsellChartsMessage'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isPodcastSyncEnabled'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellChartsCtaMessage'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'showViOSL'}, {'value': '604800', 'kind': 'sj#configEntry', 'key': 'topListUpdatePeriodSeconds'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isSuggestDeletionEnabled'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'shouldShowServerSuggestions'}, {'value': '30', 'kind': 'sj#configEntry', 'key': 'situationsResponseTTLMinutes'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isFoplessNautilusUser'}, {'value': '1459804296734', 'kind': 'sj#configEntry', 'key': 'appStartCountForFreeUpsellRevisionNumber'}, {'value': 'Choose your language preference here, too.', 'kind': 'sj#configEntry', 'key': 'mgRPBDesc'}, {'value': '1', 'kind': 'sj#configEntry', 'key': 'partridgeManagement'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'showB'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'showA'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'shouldEnableThriller'}, {'value': 'Subscribe to play any song or album', 'kind': 'sj#configEntry', 'key': 'upsellThumbsUpMessage'}, {'value': '100', 'kind': 'sj#configEntry', 'key': 'topListPageSize'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isHallmarkEnabled'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellThumbsUpCtaMessage'}, {'value': '2', 'kind': 'sj#configEntry', 'key': 'uploadAccess'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isNautilusAvailable'}, {'value': '2', 'kind': 'sj#configEntry', 'key': 'nautilusAccess'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isQuizEnabledForWoodstockOnSignup'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'showO'}, {'value': '200000', 'kind': 'sj#configEntry', 'key': 'disabledConnectivityTimeoutMs'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'hasPControlSettings'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'wasRecentlyInFoplessNautilus'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'showV'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellSignedOutCtaMessage'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'forceSignupFlow'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isNautilusUser'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isLNEnabled'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'wasEverInNautilus'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'ytContent'}, {'value': 'GET MORE', 'kind': 'sj#configEntry', 'key': 'upsellSkipLimitOneLeftCtaMessage'}, {'value': '5000', 'kind': 'sj#configEntry', 'key': 'wsAatMillis'}, {'value': '1', 'kind': 'sj#configEntry', 'key': 'partridgeAccess'}, {'value': 'LISTEN_NOW', 'kind': 'sj#configEntry', 'key': 'warmWelcomeButtonText'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellPrerollVideoCtaMessage'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isTrAvailable'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isInAppMessageEnabled'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'disableInfoCardsOnDayOne'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'canRC'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'searchClusterResponseEnabled'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellSkipLimitCtaMessage'}, {'value': 'Google Play Music Free', 'kind': 'sj#configEntry', 'key': 'accountType'}, {'value': 'Subscribe for all of the music on-demand and offline with none of the ads', 'kind': 'sj#configEntry', 'key': 'upsellPrerollVideoMessage'}, {'value': 'Subscribe to get millions of songs on-demand, offline, and ad-free', 'kind': 'sj#configEntry', 'key': 'upsellListenNowMessage'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isSuggestRequestEnabled'}, {'value': '12600335,12600357,12600366,12600388,12600390,12600394,12600397,12600426,12600428,12600430,12600443,12600465,12600466,12600467,12600506,12600526,12600530,12600536,12602068,12604244,12604245,12611729,12612165,12612247,12616614,12616615,12617467,12619023,12619033,12619127,12620830,12624216,12625361,12625500,12625941,12626008,12626945,12627951,12628012,12628193,12628654,12629142,12629667,12630065,12630209,12631091,12631643,12632064,12632720,12633320,12634000,12635213,12636020,12641836,12642011,12642809,12643044,12643537,12647853,12648818,12648954,12649047,12650240,12650284,12650285,12652170,12653224,12653393,12653567,12655808,12656072,12656556,12656567,12657925,12658555,12658847,12660587,12661698,12664007,12664317,12664580,12665507,12666135,12667660,12667670,12669086,12669482,20350003', 'kind': 'sj#configEntry', 'key': 'experimentIdsToLog'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isExplicitRestrictedByPControl'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isAnyServiceAvailable'}, {'value': 'NO_EXPERIMENT', 'kind': 'sj#configEntry', 'key': 'pieDayOneCard'}, {'value': 'Replay that song and millions of others, anytime', 'kind': 'sj#configEntry', 'key': 'upsellPreviousMessage'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isAcceptedUser'}, {'value': '250', 'kind': 'sj#configEntry', 'key': 'appStartCountForFreeUpsell'}, {'value': '3', 'kind': 'sj#configEntry', 'key': 'wsAccess'}, {'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': 'fcapConfigJson'}, {'value': '10', 'kind': 'sj#configEntry', 'key': 'androidTvEntityPageSize'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isPlSharingEnabled'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'showLNInSettings'}, {'value': 'Improve your recommendations', 'kind': 'sj#configEntry', 'key': 'mgRPB'}, {'value': '1', 'kind': 'sj#configEntry', 'key': 'ytSubscriptionAccess'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellDrawerDownloadCtaMessage'}, {'value': '1 skip left', 'kind': 'sj#configEntry', 'key': 'upsellSkipLimitOneLeftMessage'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isDeviceVersionBlacklisted'}, {'value': '1800000', 'kind': 'sj#configEntry', 'key': 'wsPrefetchedAaeMillis'}, {'value': '300407000', 'kind': 'sj#configEntry', 'key': 'minimumGsaVersionRequiredForSoundSearch'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isSoundSearchEnabled'}, {'value': '150', 'kind': 'sj#configEntry', 'key': 'suggestRequestDelayMillis'}, {'value': "You're out of skips. Get on-demand and offline access to millions of songs.", 'kind': 'sj#configEntry', 'key': 'upsellSkipLimitMessage'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellDownloadCtaMessage'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isInstantSearchEnabled'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'hasNewUserQuizPermission'}, {'value': 'Subscribe to play any song or album', 'kind': 'sj#configEntry', 'key': 'upsellNewReleasesMessage'}, {'value': '100001', 'kind': 'sj#configEntry', 'key': 'persistentSubscriptionTrackUserLimit'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'shouldValidateMediaRoutes'}, {'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': 'mediaRoutePackageSignatures'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'enableFallbackForShortUrls'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'iosEnableStreamInterception'}, {'value': 'true', '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': '2872939A', 'kind': 'sj#configEntry', 'key': 'castReceiverAppId'}, {'value': 'true', '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': 'false', 'kind': 'sj#configEntry', 'key': 'iosRadioDownloadsAlwaysUseDownloadedSongs'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'iosRadioDownloadsEagerRefill'}, {'value': '25', 'kind': 'sj#configEntry', 'key': 'iosRadioDownloadsBatchSize'}, {'value': '80', 'kind': 'sj#configEntry', 'key': 'iosRadioDownloadsReadyPercent'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'iosEnableGPMAudioPlayer'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'iosEnableGPMAudioPlayerFMP4'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'enableAndroidChromecastCloudQueue'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'enableAndroidChromecastCloudQueueWoodstock'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'enableAndroidDialCloudQueue'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'iosEnableSonos'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'enableMpsOverride'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'enableReportAllPlayEventsInRealtime'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'iOSEnableFullWidthSearchBar'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'androidEnableFullWidthSearchBar'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'askForNautilusCancellationReason'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'autoDogfoodStackCandidate'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'enableDGEvaluation'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'androidEnableAdaptiveHome'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'iosEnableAdaptiveHome'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'enableOkHttp'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isSyncLoggingEnabled'}, {'value': 'true', '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': 'false', 'kind': 'sj#configEntry', 'key': 'musicFeedbackLogs'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isPrimesOdysseyEnabled'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isPrimesClearcutEnabled'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isPrimesMemoryEnabled'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'iosEnableStickyNav'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'androidEnableStickyNav'}, {'value': 'false', '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': '0', 'kind': 'sj#configEntry', 'key': 'iosMinimumBackgroundFetchIntervalSeconds'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'syncExperimentsToLogViaSyncService'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'androidEnableSilentFeedback'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'headphoneRecommendationNotification'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'androidEnableEntityBrowserForMediaBrowser'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'enableDynamicOffers'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'enableDynamicOffersWithCoupons'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'disableULRReportingiOS'}, {'value': '0', 'kind': 'sj#configEntry', 'key': 'iosForegroundLocationFetchTimeoutMs'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isBtAutoplaySettingEnabled'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isWaitForSyncAfterSignupEnabled'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isPrimesCrashEnabled'}]}} DEBUG:gmusicapi.Mobileclient1:GetDeviceManagementInfo(args=[], kwargs={'required_auth': [False, False, True, False]}) DEBUG:gmusicapi.Mobileclient1:{'kind': 'sj#userClientIdList'} [020fa2c8] vlcpulse audio output error: PulseAudio server connection failure: Connection refused [020f2b80] vlcpulse audio output error: PulseAudio server connection failure: Connection refused USB-MIC-JACK Initializing GPIOs 5 and 6 for assistant activity indication ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.front.0:CARD=0' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM front ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround40.0:CARD=0' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround40 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround41 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround50 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround51.0:CARD=0' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround51 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.surround71.0:CARD=0' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround71 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM iec958 ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory ALSA lib pcm.c:2495:(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:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa ALSA lib pcm_dsnoop.c:556:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture 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 device_model_id: zero2500-zero250-w48xlq device_id: 4F1AFB0AFF1DE610BE74E49F4BBACCF0

This device is not registered. This means you will not be able to use
Device Actions or see your device in Assistant Settings. In order to
register this device follow instructions at:

https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device

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 on my way from YouTube"}

stopping vlc High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.23.8; 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. on my way https://r8---sn-bvvbax-itqe.googlevideo.com/videoplayback?expire=1560357315&ei=Y9UAXaS3BMTNogPFnp_AAw&ip=202.91.69.226&id=o-ADAHKWZnUwrsSEPl_1sarVYyAolT6bcbArJhr7uP_2dD&itag=251&source=youtube&requiressl=yes&mm=31%2C26&mn=sn-bvvbax-itqe%2Csn-cvh7kney&ms=au%2Conr&mv=m&nh=EAM%2C&pl=24&gcr=in&initcwndbps=257500&mime=audio%2Fwebm&gir=yes&clen=3653076&dur=216.901&lmt=1555572226846951&mt=1560335589&fvip=1&keepalive=yes&c=WEB&txp=5531432&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cgcr%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=mm%2Cmn%2Cms%2Cmv%2Cnh%2Cpl%2Cinitcwndbps&lsig=AHylml4wRQIhAOhIDVYGQWtxTvgnH8w5ApF4cKKTm4Yv-EB_VO5K8acvAiBFQlTFxVHuVlAzrvYxer3Kv9bc_y7lpcSGejb3lety7w%3D%3D&sig=ALgxI2wwRQIhAMmfb022Nop9KSZpYK4gP_ReekuhgjAzIta-C9DxCHQIAiBww3nQrD0UzZgk_K1WAKNuaDgpzfA_uie2XWFznCamug==&ratebypass=yes [023de190] vlcpulse audio output error: PulseAudio server connection failure: Connection refused ON_CONVERSATION_TURN_FINISHED: {"with_follow_on_turn": false}

[6b3b6bf8] gnutls tls client error: Certificate verification failure: The certificate is NOT trusted. The certificate chain uses not yet valid certificate. [6b3b6bf8] main tls client error: TLS session handshake error [6b3b6bf8] main tls client error: connection error: Resource temporarily unavailable [6b3b6bf8] gnutls tls client error: TLS handshake error: Error in the push function. [6b3b6bf8] main tls client error: TLS session handshake error [6b3b6bf8] main tls client error: connection error: Network is unreachable [6b363318] access stream error: HTTP connection failure [023ea110] main input error: Your input can't be opened [023ea110] main input error: VLC is unable to open the MRL 'https://r8---sn-bvvbax-itqe.googlevideo.com/videoplayback?expire=1560357315&ei=Y9UAXaS3BMTNogPFnp_AAw&ip=202.91.69.226&id=o-ADAHKWZnUwrsSEPl_1sarVYyAolT6bcbArJhr7uP_2dD&itag=251&source=youtube&requiressl=yes&mm=31%2C26&mn=sn-bvvbax-itqe%2Csn-cvh7kney&ms=au%2Conr&mv=m&nh=EAM%2C&pl=24&gcr=in&initcwndbps=257500&mime=audio%2Fwebm&gir=yes&clen=3653076&dur=216.901&lmt=1555572226846951&mt=1560335589&fvip=1&keepalive=yes&c=WEB&txp=5531432&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cgcr%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=mm%2Cmn%2Cms%2Cmv%2Cnh%2Cpl%2Cinitcwndbps&lsig=AHylml4wRQIhAOhIDVYGQWtxTvgnH8w5ApF4cKKTm4Yv-EB_VO5K8acvAiBFQlTFxVHuVlAzrvYxer3Kv9bc_y7lpcSGejb3lety7w%3D%3D&sig=ALgxI2wwRQIhAMmfb022Nop9KSZpYK4gP_ReekuhgjAzIta-C9DxCHQIAiBww3nQrD0UzZgk_K1WAKNuaDgpzfA_uie2XWFznCamug==&ratebypass=yes'. Check the log for details.

Friday8229 commented 5 years ago

This is my log file

2019-05-26 08:52:29,536 : DEBUG : Making request: POST https://accounts.google.com/o/oauth2/token 2019-05-26 08:52:29,555 : DEBUG : Starting new HTTPS connection (1): accounts.google.com:443 2019-05-26 08:52:30,281 : DEBUG : https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2019-05-26 08:55:31,969 : DEBUG : Making request: POST https://accounts.google.com/o/oauth2/token 2019-05-26 08:55:31,998 : DEBUG : Starting new HTTPS connection (1): accounts.google.com:443 2019-05-26 08:55:32,578 : DEBUG : https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None 2019-05-26 08:55:48,140 : INFO : Keyword 3 detected at time: 2019-05-26 08:55:48 2019-05-26 08:55:48,256 : INFO : Keyword 3 detected at time: 2019-05-26 08:55:48 2019-05-26 08:55:50,205 : DEBUG : lang: en 2019-05-26 08:55:50,208 : DEBUG : lang_check: True 2019-05-26 08:55:50,209 : DEBUG : tokenizer_func: <bound method Tokenizer.run of re.compile('(?<=\?).|(?<=\!).|(?<=\?).|(?<=\!).|(?<!\.[a-z])\. |(?<!\.[a-z])\, |\:|\;|\¡|\،|\:|\—|\]|\、|\(|\\n|\‥|\¿|\。|\…|\[|\,|\)', re.IGNORECASE) from: [<function tone_marks at 0x70818030>, <function period_comma at 0x70818078>, <function other_punctuation at 0x708180c0>]> 2019-05-26 08:55:50,210 : DEBUG : pre_processor_funcs: [<function tone_marks at 0x7080dae0>, <function end_of_line at 0x7080ded0>, <function abbreviations at 0x7080df18>, <function word_sub at 0x7080df60>] 2019-05-26 08:55:50,211 : DEBUG : slow: False 2019-05-26 08:55:50,213 : DEBUG : text: Getting youtube link 2019-05-26 08:55:50,253 : DEBUG : Starting new HTTP connection (1): translate.google.com:80 2019-05-26 08:55:50,517 : DEBUG : http://translate.google.com:80 "GET / HTTP/1.1" 302 226 2019-05-26 08:55:50,556 : DEBUG : Starting new HTTPS connection (1): translate.google.com:443 2019-05-26 08:55:51,237 : DEBUG : https://translate.google.com:443 "GET / HTTP/1.1" 200 None 2019-05-26 08:55:51,710 : DEBUG : Starting new HTTP connection (1): translate.google.com:80 2019-05-26 08:55:51,909 : DEBUG : http://translate.google.com:80 "GET //translate/releases/twsfe_w_20190603_RC02/r/js/translate_m.js HTTP/1.1" 200 199300 2019-05-26 08:55:52,688 : DEBUG : langs: {'cs': 'Czech', 'sq': 'Albanian', 'da': 'Danish', 'mk': 'Macedonian', 'fi': 'Finnish', 'th': 'Thai', 'ja': 'Japanese', 'pl': 'Polish', 'fr': 'French', 'eo': 'Esperanto', 'te': 'Telugu', 'hy': 'Armenian', 'ta': 'Tamil', 'km': 'Khmer', 'tl': 'Filipino', 'sv': 'Swedish', 'el': 'Greek', 'sr': 'Serbian', 'my': 'Myanmar (Burmese)', 'en-in': 'English (India)', 'si': 'Sinhala', 'ko': 'Korean', 'en-ca': 'English (Canada)', 'en-ph': 'English (Philippines)', 'uk': 'Ukrainian', 'nl': 'Dutch', 'pt-br': 'Portuguese (Brazil)', 'bs': 'Bosnian', 'pt': 'Portuguese', 'en-gb': 'English (UK)', 'it': 'Italian', 'en-ie': 'English (Ireland)', 'de': 'German', 'is': 'Icelandic', 'en-ng': 'English (Nigeria)', 'fr-ca': 'French (Canada)', 'hi': 'Hindi', 'ru': 'Russian', 'vi': 'Vietnamese', 'ca': 'Catalan', 'ar': 'Arabic', 'la': 'Latin', 'en-uk': 'English (UK)', 'en-gh': 'English (Ghana)', 'ml': 'Malayalam', 'id': 'Indonesian', 'cy': 'Welsh', 'en-nz': 'English (New Zealand)', 'en-tz': 'English (Tanzania)', 'fr-fr': 'French (France)', 'bn': 'Bengali', 'es': 'Spanish', 'es-es': 'Spanish (Spain)', 'sk': 'Slovak', 'en-us': 'English (US)', 'ro': 'Romanian', 'sw': 'Swahili', 'en-za': 'English (South Africa)', 'mr': 'Marathi', 'tr': 'Turkish', 'pt-pt': 'Portuguese (Portugal)', 'et': 'Estonian', 'no': 'Norwegian', 'en-au': 'English (Australia)', 'su': 'Sundanese', 'en': 'English', 'ne': 'Nepali', 'lv': 'Latvian', 'zh-cn': 'Chinese (Mandarin/China)', 'es-us': 'Spanish (United States)', 'jw': 'Javanese', 'zh-tw': 'Chinese (Mandarin/Taiwan)', 'af': 'Afrikaans', 'hu': 'Hungarian', 'hr': 'Croatian'} 2019-05-26 08:55:52,690 : DEBUG : pre-processing: <function tone_marks at 0x7080dae0> 2019-05-26 08:55:52,701 : DEBUG : pre-processing: <function end_of_line at 0x7080ded0> 2019-05-26 08:55:52,702 : DEBUG : pre-processing: <function abbreviations at 0x7080df18> 2019-05-26 08:55:52,717 : DEBUG : pre-processing: <function word_sub at 0x7080df60> 2019-05-26 08:55:52,722 : DEBUG : text_parts: 1 2019-05-26 08:55:52,757 : DEBUG : Starting new HTTPS connection (1): translate.google.com:443 2019-05-26 08:55:53,424 : DEBUG : https://translate.google.com:443 "GET / HTTP/1.1" 200 None 2019-05-26 08:55:53,633 : DEBUG : payload-0: {'client': 'tw-ob', 'ttsspeed': 1, 'q': 'Getting youtube link', 'textlen': 20, 'ie': 'UTF-8', 'idx': 0, 'total': 1, 'tk': '766531.864081', 'tl': 'en'} 2019-05-26 08:55:53,679 : DEBUG : Starting new HTTPS connection (1): translate.google.com:443 2019-05-26 08:55:53,855 : DEBUG : pre_processor_funcs: [<function tone_marks at 0x707fb9c0>, <function end_of_line at 0x707fbdb0>, <function abbreviations at 0x707fbdf8>, <function word_sub at 0x707fbe40>] 2019-05-26 08:55:53,856 : DEBUG : tokenizer_func: <bound method Tokenizer.run of re.compile('(?<=\?).|(?<=\!).|(?<=\?).|(?<=\!).|(?<!\.[a-z])\. |(?<!\.[a-z])\, |\。|\、|\[|\…|\,|\¿|\:|\]|\;|\\n|\—|\‥|\¡|\)|\،|\(|\:', re.IGNORECASE) from: [<function tone_marks at 0x707fbed0>, <function period_comma at 0x707fbf18>, <function other_punctuation at 0x707fbf60>]> 2019-05-26 08:55:53,858 : DEBUG : text: Getting youtube link 2019-05-26 08:55:53,859 : DEBUG : slow: False 2019-05-26 08:55:53,860 : DEBUG : lang: en 2019-05-26 08:55:53,861 : DEBUG : lang_check: True 2019-05-26 08:55:53,888 : DEBUG : Starting new HTTP connection (1): translate.google.com:80 2019-05-26 08:55:54,155 : DEBUG : http://translate.google.com:80 "GET / HTTP/1.1" 302 226 2019-05-26 08:55:54,181 : DEBUG : Starting new HTTPS connection (1): translate.google.com:443 2019-05-26 08:55:54,235 : DEBUG : https://translate.google.com:443 "GET /translate_tts?client=tw-ob&ttsspeed=1&q=Getting+youtube+link&textlen=20&ie=UTF-8&idx=0&total=1&tk=766531.864081&tl=en HTTP/1.1" 200 5952 2019-05-26 08:55:54,243 : 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': '/', 'Accept-Encoding': 'gzip, deflate', 'Connection': 'keep-alive', 'Referer': 'http://translate.google.com/'} 2019-05-26 08:55:54,245 : DEBUG : url-0: https://translate.google.com/translate_tts?client=tw-ob&ttsspeed=1&q=Getting+youtube+link&textlen=20&ie=UTF-8&idx=0&total=1&tk=766531.864081&tl=en 2019-05-26 08:55:54,246 : DEBUG : status-0: 200 2019-05-26 08:55:54,247 : DEBUG : part-0 written to <_io.BufferedWriter name='/tmp/female-say.mp3'> 2019-05-26 08:55:54,248 : DEBUG : Saved to /tmp/female-say.mp3 2019-05-26 08:55:54,841 : DEBUG : https://translate.google.com:443 "GET / HTTP/1.1" 200 None 2019-05-26 08:55:55,327 : DEBUG : Starting new HTTP connection (1): translate.google.com:80 2019-05-26 08:55:55,539 : DEBUG : http://translate.google.com:80 "GET //translate/releases/twsfe_w_20190603_RC02/r/js/translate_m.js HTTP/1.1" 200 199300 2019-05-26 08:55:55,943 : 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.5/site-packages/googleapiclient/discovery_cache/init.py", line 36, in autodetect from google.appengine.api import memcache ImportError: No module named 'google.appengine'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/pi/env/lib/python3.5/site-packages/googleapiclient/discovery_cache/file_cache.py", line 33, in from oauth2client.contrib.locked_file import LockedFile ImportError: 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.5/site-packages/googleapiclient/discovery_cache/file_cache.py", line 37, in from oauth2client.locked_file import LockedFile ImportError: 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.5/site-packages/googleapiclient/discovery_cache/init.py", line 41, in autodetect from . import file_cache File "/home/pi/env/lib/python3.5/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 2019-05-26 08:55:55,955 : INFO : URL being requested: GET https://www.googleapis.com/discovery/v1/apis/youtube/v3/rest?key=AIzaSyBDF63wzB1fcjgJ72GxubQUhNEQsS3YIM0 2019-05-26 08:55:56,436 : DEBUG : langs: {'pt-pt': 'Portuguese (Portugal)', 'en-za': 'English (South Africa)', 'vi': 'Vietnamese', 'la': 'Latin', 'en-in': 'English (India)', 'ca': 'Catalan', 'hi': 'Hindi', 'en-au': 'English (Australia)', 'en-tz': 'English (Tanzania)', 'mr': 'Marathi', 'ar': 'Arabic', 'su': 'Sundanese', 'id': 'Indonesian', 'no': 'Norwegian', 'es-es': 'Spanish (Spain)', 'en-uk': 'English (UK)', 'tl': 'Filipino', 'fr-ca': 'French (Canada)', 'th': 'Thai', 'ja': 'Japanese', 'af': 'Afrikaans', 'sk': 'Slovak', 'et': 'Estonian', 'fr-fr': 'French (France)', 'mk': 'Macedonian', 'hy': 'Armenian', 'es': 'Spanish', 'el': 'Greek', 'fi': 'Finnish', 'bn': 'Bengali', 'da': 'Danish', 'it': 'Italian', 'hu': 'Hungarian', 'en-ie': 'English (Ireland)', 'ml': 'Malayalam', 'en-ph': 'English (Philippines)', 'lv': 'Latvian', 'km': 'Khmer', 'pt-br': 'Portuguese (Brazil)', 'cy': 'Welsh', 'cs': 'Czech', 'ko': 'Korean', 'si': 'Sinhala', 'eo': 'Esperanto', 'pt': 'Portuguese', 'en': 'English', 'en-ca': 'English (Canada)', 'sw': 'Swahili', 'nl': 'Dutch', 'ru': 'Russian', 'en-gh': 'English (Ghana)', 'bs': 'Bosnian', 'te': 'Telugu', 'pl': 'Polish', 'ro': 'Romanian', 'ne': 'Nepali', 'ta': 'Tamil', 'is': 'Icelandic', 'fr': 'French', 'tr': 'Turkish', 'jw': 'Javanese', 'zh-cn': 'Chinese (Mandarin/China)', 'hr': 'Croatian', 'sv': 'Swedish', 'zh-tw': 'Chinese (Mandarin/Taiwan)', 'de': 'German', 'uk': 'Ukrainian', 'en-ng': 'English (Nigeria)', 'sq': 'Albanian', 'en-us': 'English (US)', 'en-nz': 'English (New Zealand)', 'my': 'Myanmar (Burmese)', 'en-gb': 'English (UK)', 'sr': 'Serbian', 'es-us': 'Spanish (United States)'} 2019-05-26 08:55:56,438 : DEBUG : pre-processing: <function tone_marks at 0x707fb9c0> 2019-05-26 08:55:56,447 : DEBUG : pre-processing: <function end_of_line at 0x707fbdb0> 2019-05-26 08:55:56,449 : DEBUG : pre-processing: <function abbreviations at 0x707fbdf8> 2019-05-26 08:55:56,470 : DEBUG : pre-processing: <function word_sub at 0x707fbe40> 2019-05-26 08:55:56,472 : DEBUG : text_parts: 1 2019-05-26 08:55:56,500 : DEBUG : Starting new HTTPS connection (1): translate.google.com:443 2019-05-26 08:55:57,164 : DEBUG : https://translate.google.com:443 "GET / HTTP/1.1" 200 None 2019-05-26 08:55:57,210 : INFO : URL being requested: GET https://www.googleapis.com/youtube/v3/search?part=id%2Csnippet&alt=json&key=AIzaSyBDF63wzB1fcjgJ72GxubQUhNEQsS3YIM0&q=on+my+way 2019-05-26 08:55:57,329 : DEBUG : payload-0: {'idx': 0, 'ie': 'UTF-8', 'ttsspeed': 1, 'tk': '766531.864081', 'total': 1, 'q': 'Getting youtube link', 'textlen': 20, 'tl': 'en', 'client': 'tw-ob'} 2019-05-26 08:55:57,367 : DEBUG : Starting new HTTPS connection (1): translate.google.com:443 2019-05-26 08:55:57,845 : DEBUG : https://translate.google.com:443 "GET /translate_tts?idx=0&ie=UTF-8&ttsspeed=1&tk=766531.864081&total=1&q=Getting+youtube+link&textlen=20&tl=en&client=tw-ob HTTP/1.1" 200 5952 2019-05-26 08:55:57,860 : 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', 'Connection': 'keep-alive', 'Accept-Encoding': 'gzip, deflate', 'Referer': 'http://translate.google.com/', 'Accept': '/'} 2019-05-26 08:55:57,862 : DEBUG : url-0: https://translate.google.com/translate_tts?idx=0&ie=UTF-8&ttsspeed=1&tk=766531.864081&total=1&q=Getting+youtube+link&textlen=20&tl=en&client=tw-ob 2019-05-26 08:55:57,863 : DEBUG : status-0: 200 2019-05-26 08:55:57,864 : DEBUG : part-0 written to <_io.BufferedWriter name='/tmp/female-say.mp3'> 2019-05-26 08:55:57,865 : DEBUG : Saved to /tmp/female-say.mp3 2019-05-26 08:55:59,523 : 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.5/site-packages/googleapiclient/discovery_cache/init.py", line 36, in autodetect from google.appengine.api import memcache ImportError: No module named 'google.appengine'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/pi/env/lib/python3.5/site-packages/googleapiclient/discovery_cache/file_cache.py", line 33, in from oauth2client.contrib.locked_file import LockedFile ImportError: 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.5/site-packages/googleapiclient/discovery_cache/file_cache.py", line 37, in from oauth2client.locked_file import LockedFile ImportError: 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.5/site-packages/googleapiclient/discovery_cache/init.py", line 41, in autodetect from . import file_cache File "/home/pi/env/lib/python3.5/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 2019-05-26 08:55:59,530 : INFO : URL being requested: GET https://www.googleapis.com/discovery/v1/apis/youtube/v3/rest?key=AIzaSyBDF63wzB1fcjgJ72GxubQUhNEQsS3YIM0 2019-05-26 08:56:00,651 : INFO : URL being requested: GET https://www.googleapis.com/youtube/v3/search?key=AIzaSyBDF63wzB1fcjgJ72GxubQUhNEQsS3YIM0&q=on+my+way&alt=json&part=id%2Csnippet

Friday8229 commented 5 years ago

hi I am back with a fresh new error now my assistant is not working. The terminal output is

pi@raspberrypi:~ $ /home/${USER}/env/bin/python -u /home/${USER}/GassistPi/src/main.py --device_model_id 'zero2500-zero250-w48xlq' INFO:gmusicapi.Mobileclient1:!-- begin debug log --! INFO:gmusicapi.Mobileclient1:version: 12.1.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]}) Traceback (most recent call last): File "/home/pi/env/lib/python3.5/site-packages/gmusicapi/utils/utils.py", line 655, in get value, last_update = inst._cache[self.name] KeyError: 'is_subscribed'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/pi/env/lib/python3.5/site-packages/urllib3/contrib/pyopenssl.py", line 472, in wrap_socket cnx.do_handshake() File "/home/pi/env/lib/python3.5/site-packages/OpenSSL/SSL.py", line 1915, in do_handshake self._raise_ssl_error(self._ssl, result) File "/home/pi/env/lib/python3.5/site-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error _raise_current_error() File "/home/pi/env/lib/python3.5/site-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue raise exception_type(errors) OpenSSL.SSL.Error: [('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/pi/env/lib/python3.5/site-packages/urllib3/connectionpool.py", line 603, in urlopen chunked=chunked) File "/home/pi/env/lib/python3.5/site-packages/urllib3/connectionpool.py", line 344, in _make_request self._validate_conn(conn) File "/home/pi/env/lib/python3.5/site-packages/urllib3/connectionpool.py", line 843, in _validate_conn conn.connect() File "/home/pi/env/lib/python3.5/site-packages/urllib3/connection.py", line 370, in connect sslcontext=context) File "/home/pi/env/lib/python3.5/site-packages/urllib3/util/ssl.py", line 355, in ssl_wrap_socket return context.wrap_socket(sock, server_hostname=server_hostname) File "/home/pi/env/lib/python3.5/site-packages/urllib3/contrib/pyopenssl.py", line 478, in wrap_socket raise ssl.SSLError('bad handshake: %r' % e) ssl.SSLError: ("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/pi/env/lib/python3.5/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/pi/env/lib/python3.5/site-packages/urllib3/connectionpool.py", line 641, in urlopen _stacktrace=sys.exc_info()[2]) File "/home/pi/env/lib/python3.5/site-packages/urllib3/util/retry.py", line 399, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='mclients.googleapis.com', port=443): Max retries exceeded with url: /sj/v2.5/config?hl=en_US&tier=fr&dv=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/pi/GassistPi/src/main.py", line 51, in from actions import say File "/home/pi/GassistPi/src/actions.py", line 14, in from mediaplayer import api File "/home/pi/GassistPi/src/mediaplayer.py", line 20, in logged_in=api.oauth_login(Mobileclient.FROM_MAC_ADDRESS) File "/home/pi/env/lib/python3.5/site-packages/gmusicapi/clients/mobileclient.py", line 183, in oauth_login return self._login(session_login, device_id, locale) File "/home/pi/env/lib/python3.5/site-packages/gmusicapi/clients/mobileclient.py", line 148, in _login if self.is_subscribed: File "/home/pi/env/lib/python3.5/site-packages/gmusicapi/utils/utils.py", line 660, in get value = self.fget(inst) File "/home/pi/env/lib/python3.5/site-packages/gmusicapi/clients/mobileclient.py", line 111, in is_subscribed res = self._make_call(mobileclient.Config) File "/home/pi/env/lib/python3.5/site-packages/gmusicapi/clients/mobileclient.py", line 48, in _make_call return super(Mobileclient, self)._make_call(protocol, *args, *kwargs) File "/home/pi/env/lib/python3.5/site-packages/gmusicapi/clients/shared.py", line 90, in _make_call return protocol.perform(self.session, self.validate, args, kwargs) File "/home/pi/env/lib/python3.5/site-packages/gmusicapi/protocol/shared.py", line 213, in perform response = session.send(req_kwargs, required_auth) File "/home/pi/env/lib/python3.5/site-packages/gmusicapi/session.py", line 118, in send res = self._send_with_auth(req_kwargs, desired_auth, rsession) File "/home/pi/env/lib/python3.5/site-packages/gmusicapi/session.py", line 316, in _send_with_auth return super(Mobileclient, self)._send_with_auth(req_kwargs, desired_auth, rsession) File "/home/pi/env/lib/python3.5/site-packages/gmusicapi/session.py", line 241, in _send_with_auth return rsession.request(req_kwargs) File "/home/pi/env/lib/python3.5/site-packages/requests/sessions.py", line 533, in request resp = self.send(prep, send_kwargs) File "/home/pi/env/lib/python3.5/site-packages/requests/sessions.py", line 646, in send r = adapter.send(request, kwargs) File "/home/pi/env/lib/python3.5/site-packages/requests/adapters.py", line 514, in send raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnectionPool(host='mclients.googleapis.com', port=443): Max retries exceeded with url: /sj/v2.5/config?hl=en_US&tier=fr&dv=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))

Friday8229 commented 5 years ago

The log file is not there.

shivasiddharth commented 5 years ago

This is a network issue. Are you behind a firewall, VPN or proxy ?

Friday8229 commented 5 years ago

I am unable to understand what you are saying. I am using my broadband connection (wifi router ). it was working earlier but it is not working now and can you tell me the way by which I can check that.

shivasiddharth commented 5 years ago

Open a terminal and type curl -v https://www.googleapis.com post what you are seeing.

Friday8229 commented 5 years ago

This is the terminal output.

pi@raspberrypi:~ $ curl -v https://www.googleapis.com

I also tried with another wifi router and got a different error. I am totally confused now.

pi@raspberrypi:~ $ /home/${USER}/env/bin/python -u /home/${USER}/GassistPi/src/main.py --device_model_id 'zero2500-zero250-w48xlq' INFO:gmusicapi.Mobileclient1:!-- begin debug log --! INFO:gmusicapi.Mobileclient1:version: 12.1.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': [{'value': 'false', 'kind': 'sj#configEntry', 'key': 'canManageFP'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'shouldShowLocalSuggestions'}, {'value': '3', 'kind': 'sj#configEntry', 'key': 'purchaseAccess'}, {'value': '30000', 'kind': 'sj#configEntry', 'key': 'wsVdtMillis'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'sideloadedPlaybackLogging'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isWarmWelcomeDisabledForWoodstock'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'canCancelSubscription'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'nashvillebg'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isVsAvailable'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'canBrowseSt'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'appstoreRatingPrompt'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellDrawerCtaMessage'}, {'value': "Download and listen to any song, album, or station when you're not connected", 'kind': 'sj#configEntry', 'key': 'upsellDrawerDownloadMessage'}, {'value': '5000', 'kind': 'sj#configEntry', 'key': 'wsVatMillis'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'nuqRequiredForWsSignup'}, {'value': 'GET MORE', 'kind': 'sj#configEntry', 'key': 'upsellSkipLimitTwoLeftCtaMessage'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellNewReleasesCtaMessage'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellListenNowCtaMessage'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'enableWsExtras'}, {'value': 'Subscribe to get millions of songs on-demand, offline, and ad-free', 'kind': 'sj#configEntry', 'key': 'upsellSignedOutMessage'}, {'value': '500', 'kind': 'sj#configEntry', 'key': 'topListMaxSize'}, {'value': '2 skips left', 'kind': 'sj#configEntry', 'key': 'upsellSkipLimitTwoLeftMessage'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'showLMark'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'conciergeListenNow'}, {'value': '6', 'kind': 'sj#configEntry', 'key': 'minimumAppStartCountForFreeUpsell'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellPreviousCtaMessage'}, {'value': "Download and listen to any song, album, or station when you're not connected", 'kind': 'sj#configEntry', 'key': 'upsellDownloadMessage'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'showYoutubeRedInfoCard'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'concListenNow'}, {'value': '300', 'kind': 'sj#configEntry', 'key': 'instantSearchDelay'}, {'value': 'Subscribe to play any song or album', 'kind': 'sj#configEntry', 'key': 'upsellChartsMessage'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isPodcastSyncEnabled'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellChartsCtaMessage'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'showViOSL'}, {'value': '604800', 'kind': 'sj#configEntry', 'key': 'topListUpdatePeriodSeconds'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isSuggestDeletionEnabled'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'shouldShowServerSuggestions'}, {'value': '30', 'kind': 'sj#configEntry', 'key': 'situationsResponseTTLMinutes'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isFoplessNautilusUser'}, {'value': '1459804296734', 'kind': 'sj#configEntry', 'key': 'appStartCountForFreeUpsellRevisionNumber'}, {'value': 'Choose your language preference here, too.', 'kind': 'sj#configEntry', 'key': 'mgRPBDesc'}, {'value': '1', 'kind': 'sj#configEntry', 'key': 'partridgeManagement'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'showB'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'showA'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'shouldEnableThriller'}, {'value': 'Subscribe to play any song or album', 'kind': 'sj#configEntry', 'key': 'upsellThumbsUpMessage'}, {'value': '100', 'kind': 'sj#configEntry', 'key': 'topListPageSize'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isHallmarkEnabled'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellThumbsUpCtaMessage'}, {'value': '2', 'kind': 'sj#configEntry', 'key': 'uploadAccess'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isNautilusAvailable'}, {'value': '2', 'kind': 'sj#configEntry', 'key': 'nautilusAccess'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isQuizEnabledForWoodstockOnSignup'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'showO'}, {'value': '200000', 'kind': 'sj#configEntry', 'key': 'disabledConnectivityTimeoutMs'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'hasPControlSettings'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'wasRecentlyInFoplessNautilus'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'showV'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellSignedOutCtaMessage'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'forceSignupFlow'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isNautilusUser'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isLNEnabled'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'wasEverInNautilus'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'ytContent'}, {'value': 'GET MORE', 'kind': 'sj#configEntry', 'key': 'upsellSkipLimitOneLeftCtaMessage'}, {'value': '5000', 'kind': 'sj#configEntry', 'key': 'wsAatMillis'}, {'value': '1', 'kind': 'sj#configEntry', 'key': 'partridgeAccess'}, {'value': 'LISTEN_NOW', 'kind': 'sj#configEntry', 'key': 'warmWelcomeButtonText'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellPrerollVideoCtaMessage'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isTrAvailable'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isInAppMessageEnabled'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'disableInfoCardsOnDayOne'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'canRC'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'searchClusterResponseEnabled'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellSkipLimitCtaMessage'}, {'value': 'Google Play Music Free', 'kind': 'sj#configEntry', 'key': 'accountType'}, {'value': 'Subscribe for all of the music on-demand and offline with none of the ads', 'kind': 'sj#configEntry', 'key': 'upsellPrerollVideoMessage'}, {'value': 'Subscribe to get millions of songs on-demand, offline, and ad-free', 'kind': 'sj#configEntry', 'key': 'upsellListenNowMessage'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isSuggestRequestEnabled'}, {'value': '12600335,12600357,12600366,12600388,12600390,12600394,12600397,12600426,12600428,12600430,12600443,12600465,12600466,12600467,12600506,12600526,12600530,12600536,12602068,12604244,12604245,12611729,12612165,12612247,12616614,12616615,12617467,12619023,12619033,12619127,12620830,12624216,12625361,12625500,12625941,12626008,12626945,12627951,12628012,12628193,12628654,12629142,12629667,12630065,12630209,12631091,12631643,12632064,12632720,12633320,12634000,12635213,12636020,12641836,12642011,12642809,12643044,12643537,12648818,12648954,12649047,12650240,12650284,12650285,12652170,12653224,12653393,12653567,12655808,12656072,12656567,12657925,12658555,12658847,12660587,12661698,12664007,12664317,12664580,12665507,12666135,12667660,12667670,12669086,12669482,20350003', 'kind': 'sj#configEntry', 'key': 'experimentIdsToLog'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isExplicitRestrictedByPControl'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isAnyServiceAvailable'}, {'value': 'NO_EXPERIMENT', 'kind': 'sj#configEntry', 'key': 'pieDayOneCard'}, {'value': 'Replay that song and millions of others, anytime', 'kind': 'sj#configEntry', 'key': 'upsellPreviousMessage'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isAcceptedUser'}, {'value': '250', 'kind': 'sj#configEntry', 'key': 'appStartCountForFreeUpsell'}, {'value': '3', 'kind': 'sj#configEntry', 'key': 'wsAccess'}, {'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': 'fcapConfigJson'}, {'value': '10', 'kind': 'sj#configEntry', 'key': 'androidTvEntityPageSize'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isPlSharingEnabled'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'showLNInSettings'}, {'value': 'Improve your recommendations', 'kind': 'sj#configEntry', 'key': 'mgRPB'}, {'value': '1', 'kind': 'sj#configEntry', 'key': 'ytSubscriptionAccess'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellDrawerDownloadCtaMessage'}, {'value': '1 skip left', 'kind': 'sj#configEntry', 'key': 'upsellSkipLimitOneLeftMessage'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isDeviceVersionBlacklisted'}, {'value': '1800000', 'kind': 'sj#configEntry', 'key': 'wsPrefetchedAaeMillis'}, {'value': '300407000', 'kind': 'sj#configEntry', 'key': 'minimumGsaVersionRequiredForSoundSearch'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isSoundSearchEnabled'}, {'value': '150', 'kind': 'sj#configEntry', 'key': 'suggestRequestDelayMillis'}, {'value': "You're out of skips. Get on-demand and offline access to millions of songs.", 'kind': 'sj#configEntry', 'key': 'upsellSkipLimitMessage'}, {'value': 'SUBSCRIBE', 'kind': 'sj#configEntry', 'key': 'upsellDownloadCtaMessage'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isInstantSearchEnabled'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'hasNewUserQuizPermission'}, {'value': 'Subscribe to play any song or album', 'kind': 'sj#configEntry', 'key': 'upsellNewReleasesMessage'}, {'value': '100001', 'kind': 'sj#configEntry', 'key': 'persistentSubscriptionTrackUserLimit'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'shouldValidateMediaRoutes'}, {'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': 'mediaRoutePackageSignatures'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'enableFallbackForShortUrls'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'iosEnableStreamInterception'}, {'value': 'true', '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': '2872939A', 'kind': 'sj#configEntry', 'key': 'castReceiverAppId'}, {'value': 'true', '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': 'false', 'kind': 'sj#configEntry', 'key': 'iosRadioDownloadsAlwaysUseDownloadedSongs'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'iosRadioDownloadsEagerRefill'}, {'value': '25', 'kind': 'sj#configEntry', 'key': 'iosRadioDownloadsBatchSize'}, {'value': '80', 'kind': 'sj#configEntry', 'key': 'iosRadioDownloadsReadyPercent'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'iosEnableGPMAudioPlayer'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'iosEnableGPMAudioPlayerFMP4'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'enableAndroidChromecastCloudQueue'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'enableAndroidChromecastCloudQueueWoodstock'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'enableAndroidDialCloudQueue'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'iosEnableSonos'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'enableMpsOverride'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'enableReportAllPlayEventsInRealtime'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'iOSEnableFullWidthSearchBar'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'androidEnableFullWidthSearchBar'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'askForNautilusCancellationReason'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'autoDogfoodStackCandidate'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'enableDGEvaluation'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'androidEnableAdaptiveHome'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'iosEnableAdaptiveHome'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'enableOkHttp'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isSyncLoggingEnabled'}, {'value': 'true', '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': 'false', 'kind': 'sj#configEntry', 'key': 'musicFeedbackLogs'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isPrimesOdysseyEnabled'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isPrimesClearcutEnabled'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isPrimesMemoryEnabled'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'iosEnableStickyNav'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'androidEnableStickyNav'}, {'value': 'false', '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': '0', 'kind': 'sj#configEntry', 'key': 'iosMinimumBackgroundFetchIntervalSeconds'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'syncExperimentsToLogViaSyncService'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'androidEnableSilentFeedback'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'headphoneRecommendationNotification'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'androidEnableEntityBrowserForMediaBrowser'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'enableDynamicOffers'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'enableDynamicOffersWithCoupons'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'disableULRReportingiOS'}, {'value': '0', 'kind': 'sj#configEntry', 'key': 'iosForegroundLocationFetchTimeoutMs'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isBtAutoplaySettingEnabled'}, {'value': 'true', 'kind': 'sj#configEntry', 'key': 'isWaitForSyncAfterSignupEnabled'}, {'value': 'false', 'kind': 'sj#configEntry', 'key': 'isPrimesCrashEnabled'}]}} DEBUG:gmusicapi.Mobileclient1:GetDeviceManagementInfo(args=[], kwargs={'required_auth': [False, False, True, False]}) DEBUG:gmusicapi.Mobileclient1:{'kind': 'sj#userClientIdList'} INFO:gmusicapi.Mobileclient1:logged out Traceback (most recent call last): File "/home/pi/GassistPi/src/main.py", line 51, in from actions import say File "/home/pi/GassistPi/src/actions.py", line 14, in from mediaplayer import api File "/home/pi/GassistPi/src/mediaplayer.py", line 28, in logged_in=api.oauth_login(deviceid) NameError: name 'deviceid' is not defined

Friday8229 commented 5 years ago

Hi shivasiddharth my assistant started working correctly and even the YouTube is working correctly all I does was deleting the gassist pi folder and going through the installation procedure again and when I commented line 27 and 28 in the media player.py it started working. Thanks for your replies and patience. I am 14 years old and I love your work.

Friday8229 commented 5 years ago

Hi shivasiddharth my last question is that can I increase the speed of the assistant like the one In my android phone only in playing songs from YouTube.

shivasiddharth commented 5 years ago

You cannot control the speed.