Read the statement by Michael Teeuw here.
mmm assistant mk2
-
assistantSay: true
Your assistant says vocal warning (need myMagicWord feature of MMM-AssistantMk2)
I don’t really understand what do you want to do
-
@Bugsounet i just did a fresh install of magicmirror on raspberry pi4 and it was working fine and then i installed assistant mk2, when i launch the magic mirror i get the only black screen,when i open the developers console i dont see anything except “internal server error and bla bla”… heres my log
npm start > magicmirror@2.11.0 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [2020-05-30 18:51:14.372] [LOG] Starting MagicMirror: v2.11.0 [2020-05-30 18:51:14.378] [LOG] Loading config ... [2020-05-30 18:51:14.382] [LOG] Loading module helpers ... [2020-05-30 18:51:14.383] [LOG] No helper found for module: alert. [2020-05-30 18:51:14.414] [LOG] Initializing new module helper ... [2020-05-30 18:51:14.415] [LOG] Module helper loaded: updatenotification [2020-05-30 18:51:14.415] [LOG] No helper found for module: clock. [2020-05-30 18:51:14.693] [LOG] Initializing new module helper ... [2020-05-30 18:51:14.694] [LOG] Module helper loaded: calendar [2020-05-30 18:51:14.694] [LOG] No helper found for module: compliments. [2020-05-30 18:51:14.695] [LOG] No helper found for module: currentweather. [2020-05-30 18:51:14.695] [LOG] No helper found for module: weatherforecast. [2020-05-30 18:51:14.695] [LOG] No helper found for module: MMM-AssistantMk2. [2020-05-30 18:51:14.714] [LOG] Initializing new module helper ... [2020-05-30 18:51:14.714] [LOG] Module helper loaded: newsfeed [2020-05-30 18:51:14.715] [LOG] All module helpers loaded. [2020-05-30 18:51:14.799] [LOG] Starting server on port 8080 ... [2020-05-30 18:51:14.809] [LOG] Server started ... [2020-05-30 18:51:14.809] [LOG] Connecting socket for: updatenotification [2020-05-30 18:51:14.810] [LOG] Connecting socket for: calendar [2020-05-30 18:51:14.811] [LOG] Starting node helper for: calendar [2020-05-30 18:51:14.811] [LOG] Connecting socket for: newsfeed [2020-05-30 18:51:14.812] [LOG] Starting module: newsfeed [2020-05-30 18:51:14.812] [LOG] Sockets connected & modules started ... [2020-05-30 18:51:14.897] [LOG] Launching application. [2020-05-30 18:51:15.084] [ERROR] Error: ENOENT: no such file or directory, open '/home/pi/MagicMirror/index.html' at Object.openSync (fs.js:447:3) at Object.func (electron/js2c/asar.js:138:31) at Object.func [as openSync] (electron/js2c/asar.js:138:31) at Object.readFileSync (fs.js:349:35) at Object.fs.readFileSync (electron/js2c/asar.js:580:40) at Object.fs.readFileSync (electron/js2c/asar.js:580:40) at /home/pi/MagicMirror/js/server.js:71:17 at Layer.handle [as handle_request] (/home/pi/MagicMirror/node_modules/express/lib/router/layer.js:95:5) at next (/home/pi/MagicMirror/node_modules/express/lib/router/route.js:137:13) at Route.dispatch (/home/pi/MagicMirror/node_modules/express/lib/router/route.js:112:3) [2020-05-30 18:51:30.160] [LOG] Shutting down server... [2020-05-30 18:51:30.163] [LOG] Stopping module helper: updatenotification [2020-05-30 18:51:30.163] [LOG] Stopping module helper: calendar [2020-05-30 18:51:30.164] [LOG] Stopping module helper: newsfeed
-
@sdmydbr9 said in mmm assistant mk2:
/
looks like something erased the index.html
cd ~/MagicMirror git checkout index.html
-
@sdetweil hi thanks for replying, i followed your step but the magicmirror starts, it beeps and then the magicmirror exits. my logs are as follows
> magicmirror@2.11.0 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [2020-05-30 20:47:38.468] [LOG] Starting MagicMirror: v2.11.0 [2020-05-30 20:47:38.475] [LOG] Loading config ... [2020-05-30 20:47:38.480] [LOG] Loading module helpers ... [2020-05-30 20:47:38.481] [LOG] No helper found for module: alert. [2020-05-30 20:47:38.521] [LOG] Initializing new module helper ... [2020-05-30 20:47:38.522] [LOG] Module helper loaded: updatenotification [2020-05-30 20:47:38.523] [LOG] No helper found for module: clock. [2020-05-30 20:47:38.865] [LOG] Initializing new module helper ... [2020-05-30 20:47:38.866] [LOG] Module helper loaded: calendar [2020-05-30 20:47:38.867] [LOG] No helper found for module: compliments. [2020-05-30 20:47:38.867] [LOG] No helper found for module: currentweather. [2020-05-30 20:47:39.581] [LOG] Initializing new module helper ... [2020-05-30 20:47:39.581] [LOG] Module helper loaded: MMM-AssistantMk2 [2020-05-30 20:47:39.582] [LOG] No helper found for module: weatherforecast. [2020-05-30 20:47:39.605] [LOG] Initializing new module helper ... [2020-05-30 20:47:39.605] [LOG] Module helper loaded: newsfeed [2020-05-30 20:47:39.605] [LOG] All module helpers loaded. [2020-05-30 20:47:39.704] [LOG] Starting server on port 8080 ... [2020-05-30 20:47:39.717] [LOG] Server started ... [2020-05-30 20:47:39.718] [LOG] Connecting socket for: updatenotification [2020-05-30 20:47:39.719] [LOG] Connecting socket for: calendar [2020-05-30 20:47:39.720] [LOG] Starting node helper for: calendar [2020-05-30 20:47:39.720] [LOG] Connecting socket for: MMM-AssistantMk2 [2020-05-30 20:47:39.721] [LOG] Connecting socket for: newsfeed [2020-05-30 20:47:39.721] [LOG] Starting module: newsfeed [2020-05-30 20:47:39.722] [LOG] Sockets connected & modules started ... [2020-05-30 20:47:39.820] [LOG] Launching application. [2020-05-30 20:47:41.603] [LOG] Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000 [2020-05-30 20:47:41.671] [LOG] [AMK2] Recipe is loaded: hide_and_show_all_modules.js [2020-05-30 20:47:41.677] [LOG] [AMK2] Recipe is loaded: reboot.js [2020-05-30 20:47:41.679] [LOG] [AMK2] Recipe is loaded: screen_onoff.js [2020-05-30 20:47:41.682] [LOG] [AMK2] Recipe is loaded: shutdown.js [2020-05-30 20:47:41.684] [LOG] Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000 [2020-05-30 20:47:41.802] [LOG] [AMK2] Temporal storage directory is clearing. [2020-05-30 20:47:42.570] [LOG] [AMK2] assistant ready /home/pi/MagicMirror/node_modules/electron/dist/electron js/electron.js: symbol lookup error: /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v6.1-linux-arm-glibc/grpc_node.node: undefined symbol: __atomic_store_8 npm ERR! code ELIFECYCLE npm ERR! syscall spawn npm ERR! file sh npm ERR! errno ENOENT npm ERR! magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the magicmirror@2.11.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-05-30T15_17_42_655Z-debug.log
-
@sdmydbr9 said in mmm assistant mk2:
__atomic_store_8
I thought @Bugsounet had fixed that … anyhow
see the answer here for the steps to workaround this problem
https://stackoverflow.com/questions/58561090/mmm-hotword-crashing -
@sdetweil hi again, i did everything mentioned in that post but the behaviour doesnt change, it works for one time and next time i restart the magic mirror it gets back to missing index.html. its an endless loop. please help what am i doing wrong
-
@sdmydbr9 no idea sorry
-
@sdetweil here is another log. i might have missed something in the process i just cant figure out
npm start > magicmirror@2.11.0 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [2020-05-30 22:33:42.189] [LOG] Starting MagicMirror: v2.11.0 [2020-05-30 22:33:42.195] [LOG] Loading config ... [2020-05-30 22:33:42.200] [LOG] Loading module helpers ... [2020-05-30 22:33:42.201] [LOG] No helper found for module: alert. [2020-05-30 22:33:42.233] [LOG] Initializing new module helper ... [2020-05-30 22:33:42.233] [LOG] Module helper loaded: updatenotification [2020-05-30 22:33:42.234] [LOG] No helper found for module: clock. [2020-05-30 22:33:42.234] [LOG] No helper found for module: MMM-Volume. [2020-05-30 22:33:42.811] [LOG] Initializing new module helper ... [2020-05-30 22:33:42.811] [LOG] Module helper loaded: MMM-TelegramBot [2020-05-30 22:33:43.715] [LOG] Initializing new module helper ... [2020-05-30 22:33:43.716] [LOG] Check MagicMirror version for node helper 'MMM-GoogleBirthdaysProvider' - Minimum version: 2.6.0 - Current version: 2.11.0 [2020-05-30 22:33:43.716] [LOG] Version is ok! [2020-05-30 22:33:43.716] [LOG] Module helper loaded: MMM-GoogleBirthdaysProvider [2020-05-30 22:33:43.949] [LOG] Initializing new module helper ... [2020-05-30 22:33:43.950] [LOG] Module helper loaded: calendar [2020-05-30 22:33:43.950] [LOG] No helper found for module: compliments. [2020-05-30 22:33:43.957] [LOG] Initializing new module helper ... [2020-05-30 22:33:43.958] [LOG] Module helper loaded: MMM-Spotify [2020-05-30 22:33:44.610] [LOG] Initializing new module helper ... [2020-05-30 22:33:44.610] [LOG] Module helper loaded: MMM-AssistantMk2 [2020-05-30 22:33:44.835] [LOG] Initializing new module helper ... [2020-05-30 22:33:44.836] [LOG] Module helper loaded: MMM-DailyBibleVerse [2020-05-30 22:33:44.836] [LOG] No helper found for module: MMM-Carousel. [2020-05-30 22:33:44.850] [LOG] Initializing new module helper ... [2020-05-30 22:33:44.850] [LOG] Module helper loaded: MMM-Tools [2020-05-30 22:33:44.851] [LOG] No helper found for module: MMM-OpenmapWeather. [2020-05-30 22:33:44.852] [LOG] No helper found for module: MMM-PushBulletNotifications. [2020-05-30 22:33:44.852] [LOG] No helper found for module: MMM-WeeklySchedule. [2020-05-30 22:33:44.852] [LOG] No helper found for module: weatherforecast. [2020-05-30 22:33:44.853] [LOG] No helper found for module: calendar_monthly. [2020-05-30 22:33:44.853] [LOG] No helper found for module: MagicMirror-QuoteCatalog. [2020-05-30 22:33:44.854] [LOG] No helper found for module: MMM-AirQuality. [2020-05-30 22:33:44.854] [LOG] No helper found for module: MMM-ATM. [2020-05-30 22:33:44.902] [LOG] Initializing new module helper ... [2020-05-30 22:33:44.903] [LOG] Module helper loaded: MMM-Remote-Control [2020-05-30 22:33:44.903] [LOG] No helper found for module: MMM-PlexNowPlaying. [2020-05-30 22:33:44.903] [LOG] No helper found for module: MMM-Strava. [2020-05-30 22:33:44.913] [LOG] Initializing new module helper ... [2020-05-30 22:33:44.914] [LOG] Module helper loaded: MMM-GoogleFit [2020-05-30 22:33:44.941] [LOG] Initializing new module helper ... [2020-05-30 22:33:44.941] [LOG] Module helper loaded: newsfeed [2020-05-30 22:33:44.941] [LOG] All module helpers loaded. [2020-05-30 22:33:45.023] [LOG] Starting server on port 8080 ... [2020-05-30 22:33:45.028] [LOG] Server started ... [2020-05-30 22:33:45.029] [LOG] Connecting socket for: updatenotification [2020-05-30 22:33:45.030] [LOG] Connecting socket for: MMM-TelegramBot [2020-05-30 22:33:45.030] [LOG] Connecting socket for: MMM-GoogleBirthdaysProvider [2020-05-30 22:33:45.033] [LOG] MMM-GoogleBirthdaysProvider: Server is running [2020-05-30 22:33:45.033] [LOG] Connecting socket for: calendar [2020-05-30 22:33:45.034] [LOG] Starting node helper for: calendar [2020-05-30 22:33:45.035] [LOG] Connecting socket for: MMM-Spotify [2020-05-30 22:33:45.035] [LOG] Connecting socket for: MMM-AssistantMk2 [2020-05-30 22:33:45.036] [LOG] Connecting socket for: MMM-DailyBibleVerse [2020-05-30 22:33:45.037] [LOG] Started node_helper.js for MMM-DailyBibleVerse. [2020-05-30 22:33:45.037] [LOG] Connecting socket for: MMM-Tools [2020-05-30 22:33:45.039] [LOG] Connecting socket for: MMM-Remote-Control [2020-05-30 22:33:45.040] [LOG] Starting node helper for: MMM-Remote-Control [2020-05-30 22:33:45.043] [LOG] Connecting socket for: MMM-GoogleFit [2020-05-30 22:33:45.044] [LOG] MMM-GoogleFit helper started... [2020-05-30 22:33:45.045] [LOG] Connecting socket for: newsfeed [2020-05-30 22:33:45.045] [LOG] Starting module: newsfeed [2020-05-30 22:33:45.046] [LOG] Sockets connected & modules started ... [2020-05-30 22:33:45.115] [LOG] Launching application. [2020-05-30 22:33:48.324] [LOG] Create new calendar fetcher for url: https://www.calendarlabs.com/ical-calendar/ics/33/India_Holidays.ics - Interval: 300000 [2020-05-30 22:33:48.335] [LOG] Create new calendar fetcher for url: http://localhost:8080/MMM-iCloud-Client/birthdays - Interval: 300000 [2020-05-30 22:33:48.338] [LOG] Create new calendar fetcher for url: http://localhost:8080/mmm-googlebirthdaysprovider - Interval: 300000 [2020-05-30 22:33:48.339] [LOG] Create new calendar fetcher for url: http://p55-caldav.icloud.com/published/2/MTYyNDUxMzU4NTMxNjI0NYC75Drqr02v7z3JKqrHR4_Vd4jSfdBaOYaOyJzk__IX - Interval: 300000 [2020-05-30 22:33:48.363] [LOG] [AMK2] Recipe is loaded: with-MMM-TelegramBot.js [2020-05-30 22:33:48.390] [LOG] [AMK2] Recipe is loaded: reboot.js [2020-05-30 22:33:48.392] [LOG] [AMK2] Recipe is loaded: with-MMM-Spotify [2020-05-30 22:33:48.396] [LOG] MMM-DailyBibleVerse node helper received a socket notification: START - Payload: NIV [2020-05-30 22:33:48.645] [LOG] Create new news fetcher for url: https://timesofindia.indiatimes.com/rssfeeds/-2128936835.cms - Interval: 300000 [2020-05-30 22:33:48.964] [LOG] [SPOTIFY] MMM-Spotify Version: 1.4.1 [2020-05-30 22:33:49.711] [LOG] [AMK2] Temporal storage directory is clearing. [2020-05-30 22:33:49.814] [ERROR] Calendar Error. Could not fetch calendar: http://localhost:8080/MMM-iCloud-Client/birthdays 404: Not Found [2020-05-30 22:33:50.755] [LOG] [AMK2] assistant ready [2020-05-30 22:33:50.830] [LOG] [AMK2] Conversation starts. [2020-05-30 22:33:50.831] [LOG] [AMK2] Started with text query: brief today [2020-05-30 22:33:51.094] [LOG] Whoops! There was an uncaught exception... [2020-05-30 22:33:51.094] [ERROR] [Error: ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/MMM-AssistantMk2/tmp/1590858230831.mp3'] { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/pi/MagicMirror/modules/MMM-AssistantMk2/tmp/1590858230831.mp3' } [2020-05-30 22:33:51.097] [LOG] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [2020-05-30 22:33:51.097] [LOG] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [2020-05-30 22:33:51.100] [ERROR] Calendar Error. Could not fetch calendar: https://www.calendarlabs.com/ical-calendar/ics/33/India_Holidays.ics Error: certificate has expired at TLSSocket.onConnectSecure (_tls_wrap.js:1317:34) at TLSSocket.emit (events.js:200:13) at TLSSocket._finishInit (_tls_wrap.js:792:8) at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:606:12) { code: 'CERT_HAS_EXPIRED' } [2020-05-30 22:33:51.112] [LOG] {"votd":{"text":"“In God, whose word I praise— in God I trust and am not afraid. What can mere mortals do to me?”","content":"In God, whose word I praise— in God I trust and am not afraid. What can mere mortals do to me?","display_ref":"Psalm 56:4","reference":"Psalm 56:4","permalink":"https:\/\/www.biblegateway.com\/passage\/?version=NIV&search=Psalm%2056:4","copyright":"Copyright © 1973, 1978, 1984, 2011 by Biblica","copyrightlink":"https:\/\/www.biblegateway.com\/versions\/index.php?action=getVersionInfo&vid=31&lang=2","audiolink":"https:\/\/www.biblegateway.com\/audio\/mclean\/niv\/Ps.56.4","day":"30","month":"05","year":"2020","version":"New International Version","version_id":"NIV"}} [2020-05-30 22:33:53.061] [LOG] { requestId: '**************************' } { profileFile: 'default.json', lang: 'en-US' } [2020-05-30 22:33:53.063] [LOG] [AMK2] Device Action: { requestId: '***************************' } [2020-05-30 22:33:53.068] [LOG] [AMK2] Assistant Text Response: [2020-05-30 22:33:53.072] [ERROR] [AMK2] - temporal HTML creation fails. E: Error: ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/MMM-AssistantMk2/tmp/temp.html' [2020-05-30 22:33:53.081] [ERROR] [AMK2] E: Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed at doWrite (_stream_writable.js:413:19) at writeOrBuffer (_stream_writable.js:401:5) at WriteStream.Writable.write (_stream_writable.js:301:11) at Conversation.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21) at Conversation.emit (events.js:200:13) at ClientDuplexStream.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12) at ClientDuplexStream.emit (events.js:200:13) at addChunk (_stream_readable.js:294:12) at readableAddChunk (_stream_readable.js:275:11) at ClientDuplexStream.Readable.push (_stream_readable.js:210:10) at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19) at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19) at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14 [2020-05-30 22:33:53.083] [LOG] [AMK2] Some error happens. Try again. [2020-05-30 22:33:53.085] [ERROR] [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end at writeAfterEnd (_stream_writable.js:250:14) at WriteStream.Writable.write (_stream_writable.js:298:5) at Conversation.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21) at Conversation.emit (events.js:200:13) at ClientDuplexStream.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12) at ClientDuplexStream.emit (events.js:200:13) at addChunk (_stream_readable.js:294:12) at readableAddChunk (_stream_readable.js:275:11) at ClientDuplexStream.Readable.push (_stream_readable.js:210:10) at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19) at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19) at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14 [2020-05-30 22:33:53.086] [LOG] [AMK2] Some error happens. Try again. [2020-05-30 22:33:53.087] [ERROR] [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end at writeAfterEnd (_stream_writable.js:250:14) at WriteStream.Writable.write (_stream_writable.js:298:5) at Conversation.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21) at Conversation.emit (events.js:200:13) at ClientDuplexStream.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12) at ClientDuplexStream.emit (events.js:200:13) at addChunk (_stream_readable.js:294:12) at readableAddChunk (_stream_readable.js:275:11) at ClientDuplexStream.Readable.push (_stream_readable.js:210:10) at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19) at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19) at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14 [2020-05-30 22:33:53.088] [LOG] [AMK2] Some error happens. Try again. [2020-05-30 22:33:53.090] [ERROR] [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end at writeAfterEnd (_stream_writable.js:250:14) at WriteStream.Writable.write (_stream_writable.js:298:5) at Conversation.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21) at Conversation.emit (events.js:200:13) at ClientDuplexStream.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12) at ClientDuplexStream.emit (events.js:200:13) at addChunk (_stream_readable.js:294:12) at readableAddChunk (_stream_readable.js:275:11) at ClientDuplexStream.Readable.push (_stream_readable.js:210:10) at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19) at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19) at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14 [2020-05-30 22:33:53.091] [LOG] [AMK2] Some error happens. Try again. [2020-05-30 22:33:53.092] [ERROR] [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end at writeAfterEnd (_stream_writable.js:250:14) at WriteStream.Writable.write (_stream_writable.js:298:5) at Conversation.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21) at Conversation.emit (events.js:200:13) at ClientDuplexStream.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12) at ClientDuplexStream.emit (events.js:200:13) at addChunk (_stream_readable.js:294:12) at readableAddChunk (_stream_readable.js:275:11) at ClientDuplexStream.Readable.push (_stream_readable.js:210:10) at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19) at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19) at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14 [2020-05-30 22:33:53.093] [LOG] [AMK2] Some error happens. Try again. [2020-05-30 22:33:53.095] [ERROR] [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end at writeAfterEnd (_stream_writable.js:250:14) at WriteStream.Writable.write (_stream_writable.js:298:5) at Conversation.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21) at Conversation.emit (events.js:200:13) at ClientDuplexStream.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12) at ClientDuplexStream.emit (events.js:200:13) at addChunk (_stream_readable.js:294:12) at readableAddChunk (_stream_readable.js:275:11) at ClientDuplexStream.Readable.push (_stream_readable.js:210:10) at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19) at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19) at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14 [2020-05-30 22:33:53.096] [LOG] [AMK2] Some error happens. Try again. [2020-05-30 22:33:53.097] [ERROR] [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end at writeAfterEnd (_stream_writable.js:250:14) at WriteStream.Writable.write (_stream_writable.js:298:5) at Conversation.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21) at Conversation.emit (events.js:200:13) at ClientDuplexStream.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12) at ClientDuplexStream.emit (events.js:200:13) at addChunk (_stream_readable.js:294:12) at readableAddChunk (_stream_readable.js:275:11) at ClientDuplexStream.Readable.push (_stream_readable.js:210:10) at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19) at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19) at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14 [2020-05-30 22:33:53.098] [LOG] [AMK2] Some error happens. Try again. [2020-05-30 22:33:53.100] [ERROR] [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end at writeAfterEnd (_stream_writable.js:250:14) at WriteStream.Writable.write (_stream_writable.js:298:5) at Conversation.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21) at Conversation.emit (events.js:200:13) at ClientDuplexStream.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12) at ClientDuplexStream.emit (events.js:200:13) at addChunk (_stream_readable.js:294:12) at readableAddChunk (_stream_readable.js:275:11) at ClientDuplexStream.Readable.push (_stream_readable.js:210:10) at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19) at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19) at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14 [2020-05-30 22:33:53.100] [LOG] [AMK2] Some error happens. Try again. [2020-05-30 22:33:53.102] [ERROR] [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end at writeAfterEnd (_stream_writable.js:250:14) at WriteStream.Writable.write (_stream_writable.js:298:5) at Conversation.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21) at Conversation.emit (events.js:200:13) at ClientDuplexStream.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12) at ClientDuplexStream.emit (events.js:200:13) at addChunk (_stream_readable.js:294:12) at readableAddChunk (_stream_readable.js:275:11) at ClientDuplexStream.Readable.push (_stream_readable.js:210:10) at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19) at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19) at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14 [2020-05-30 22:33:53.103] [LOG] [AMK2] Some error happens. Try again. [2020-05-30 22:33:53.104] [ERROR] [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end at writeAfterEnd (_stream_writable.js:250:14) at WriteStream.Writable.write (_stream_writable.js:298:5) at Conversation.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21) at Conversation.emit (events.js:200:13) at ClientDuplexStream.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12) at ClientDuplexStream.emit (events.js:200:13) at addChunk (_stream_readable.js:294:12) at readableAddChunk (_stream_readable.js:275:11) at ClientDuplexStream.Readable.push (_stream_readable.js:210:10) at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19) at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19) at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14 [2020-05-30 22:33:53.105] [LOG] [AMK2] Some error happens. Try again. [2020-05-30 22:33:53.106] [ERROR] [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end at writeAfterEnd (_stream_writable.js:250:14) at WriteStream.Writable.write (_stream_writable.js:298:5) at Conversation.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21) at Conversation.emit (events.js:200:13) at ClientDuplexStream.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12) at ClientDuplexStream.emit (events.js:200:13) at addChunk (_stream_readable.js:294:12) at readableAddChunk (_stream_readable.js:275:11) at ClientDuplexStream.Readable.push (_stream_readable.js:210:10) at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19) at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19) at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14 [2020-05-30 22:33:53.108] [LOG] [AMK2] Some error happens. Try again. [2020-05-30 22:33:53.109] [ERROR] [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end at writeAfterEnd (_stream_writable.js:250:14) at WriteStream.Writable.write (_stream_writable.js:298:5) at Conversation.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21) at Conversation.emit (events.js:200:13) at ClientDuplexStream.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12) at ClientDuplexStream.emit (events.js:200:13) at addChunk (_stream_readable.js:294:12) at readableAddChunk (_stream_readable.js:275:11) at ClientDuplexStream.Readable.push (_stream_readable.js:210:10) at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19) at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19) at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14 [2020-05-30 22:33:53.110] [LOG] [AMK2] Some error happens. Try again. [2020-05-30 22:33:53.112] [ERROR] [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end at writeAfterEnd (_stream_writable.js:250:14) at WriteStream.Writable.write (_stream_writable.js:298:5) at Conversation.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21) at Conversation.emit (events.js:200:13) at ClientDuplexStream.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12) at ClientDuplexStream.emit (events.js:200:13) at addChunk (_stream_readable.js:294:12) at readableAddChunk (_stream_readable.js:275:11) at ClientDuplexStream.Readable.push (_stream_readable.js:210:10) at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19) at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19) at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14 [2020-05-30 22:33:53.113] [LOG] [AMK2] Some error happens. Try again. [2020-05-30 22:33:53.115] [ERROR] [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end at writeAfterEnd (_stream_writable.js:250:14) at WriteStream.Writable.write (_stream_writable.js:298:5) at Conversation.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21) at Conversation.emit (events.js:200:13) at ClientDuplexStream.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12) at ClientDuplexStream.emit (events.js:200:13) at addChunk (_stream_readable.js:294:12) at readableAddChunk (_stream_readable.js:275:11) at ClientDuplexStream.Readable.push (_stream_readable.js:210:10) at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19) at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19) at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14 [2020-05-30 22:33:53.116] [LOG] [AMK2] Some error happens. Try again. [2020-05-30 22:33:53.118] [ERROR] [AMK2] E: Error [ERR_STREAM_WRITE_AFTER_END]: write after end at writeAfterEnd (_stream_writable.js:250:14) at WriteStream.Writable.write (_stream_writable.js:298:5) at Conversation.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js:222:21) at Conversation.emit (events.js:200:13) at ClientDuplexStream.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/google-assistant/components/conversation.js:154:12) at ClientDuplexStream.emit (events.js:200:13) at addChunk (_stream_readable.js:294:12) at readableAddChunk (_stream_readable.js:275:11) at ClientDuplexStream.Readable.push (_stream_readable.js:210:10) at Object.onReceiveMessage (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:1292:19) at InterceptingListener.recvMessageWithContext (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:607:19) at /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:706:14 [2020-05-30 22:33:53.119] [LOG] [AMK2] Some error happens. Try again. [2020-05-30 22:33:53.122] [LOG] foundHook [] [2020-05-30 22:33:53.325] [LOG] Speaker error: 1 [2020-05-30 22:33:53.326] [LOG] Whoops! There was an uncaught exception... [2020-05-30 22:33:53.327] [ERROR] 1 [2020-05-30 22:33:53.327] [LOG] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [2020-05-30 22:33:53.327] [LOG] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [2020-05-30 22:34:09.077] [LOG] Shutting down server... [2020-05-30 22:34:09.078] [LOG] Stopping module helper: updatenotification [2020-05-30 22:34:09.079] [LOG] Stopping module helper: MMM-TelegramBot [2020-05-30 22:34:09.080] [LOG] MMM-GoogleBirthdaysProvider: Stopping helper [2020-05-30 22:34:09.080] [LOG] Stopping module helper: calendar [2020-05-30 22:34:09.081] [LOG] Stopping module helper: MMM-Spotify [2020-05-30 22:34:09.081] [LOG] Stopping module helper: MMM-AssistantMk2 [2020-05-30 22:34:09.082] [LOG] Stopping module helper: MMM-DailyBibleVerse [2020-05-30 22:34:09.082] [LOG] Stopping module helper: MMM-Tools [2020-05-30 22:34:09.083] [LOG] Stopping module helper: MMM-GoogleFit [2020-05-30 22:34:09.084] [LOG] Stopping module helper: newsfeed
-
I am having the same issue, if you fix it, please let me know.
-
@reddyman @sdmydbr9 here is the new mk2, wiki, maybe it will help
https://github.com/bugsounet/MMM-AssistantMk2/wiki
Bugsounet has stepped away for a while… so follow the instructions carefully