Read the statement by Michael Teeuw here.
MMM-AssistantMk2
-
@mariecbilodeau more details are needed to answer. Error logs or screenshots could be helpful.
-
this is when I load my mirror with just hotword and assistant installed. I’ll try to rebuild electron again to get the log
> magicmirror@2.4.1 start /home/pi/MagicMirror > sh run-start.sh Starting MagicMirror: v2.4.1 Loading config ... Loading module helpers ... Initializing new module helper ... Module helper loaded: MMM-Hotword WARNING! Could not load config file. Starting with default configuration. Error found: Error: Failed to load gRPC binary module because it was not installed for the current system Expected directory: electron-v2.0-linux-arm-glibc Found: [node-v59-linux-arm-glibc] This problem can often be fixed by running "npm rebuild" on the current system Original error: Cannot find module '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v2.0-linux-arm-glibc/grpc_node.node' Loading module helpers ... Initializing new module helper ... Module helper loaded: MMM-Hotword App threw an error during load Error: Failed to load gRPC binary module because it was not installed for the current system Expected directory: electron-v2.0-linux-arm-glibc Found: [node-v59-linux-arm-glibc] This problem can often be fixed by running "npm rebuild" on the current system Original error: Cannot find module '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v2.0-linux-arm-glibc/grpc_node.node' at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:53:17) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:63:3) at Module._compile (module.js:642:30) at Object.Module._extensions..js (module.js:653:10) at Module.load (module.js:561:32) at tryModuleLoad (module.js:504:12) at Function.Module._load (module.js:496:3) at Module.require (module.js:586:17) at require (internal/module.js:11:18) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:145:12) Whoops! There was an uncaught exception... { Error: Failed to load gRPC binary module because it was not installed for the current system Expected directory: electron-v2.0-linux-arm-glibc Found: [node-v59-linux-arm-glibc] This problem can often be fixed by running "npm rebuild" on the current system Original error: Cannot find module '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v2.0-linux-arm-glibc/grpc_node.node' at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:53:17) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:63:3) at Module._compile (module.js:642:30) at Object.Module._extensions..js (module.js:653:10) at Module.load (module.js:561:32) at tryModuleLoad (module.js:504:12) at Function.Module._load (module.js:496:3) at Module.require (module.js:586:17) at require (internal/module.js:11:18) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:145:12) code: 'MODULE_NOT_FOUND' } MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues Launching application. pi@raspberrypi:~/MagicMirror $
-
this is part of my rebuild error
pi@raspberrypi:~/MagicMirror/modules/MMM-AssistantMk2 $ npm install --save-dev electron-rebuild npm WARN MMM-AssistantMk2@1.0.1 No repository field. + electron-rebuild@1.8.2 updated 1 package in 18.167s pi@raspberrypi:~/MagicMirror/modules/MMM-AssistantMk2 $ ./node_modules/.bin/electron-rebuild ✖ Rebuild Failed An unhandled error occurred inside electron-rebuild gyp info it worked if it ends with ok gyp info using node-gyp@3.8.0 gyp info using node@9.11.2 | linux | arm gyp info spawn /usr/bin/python2 gyp info spawn args [ '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/home/pi/.electron-gyp/.node-gyp/iojs-2.0.0/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/home/pi/.electron-gyp/.node-gyp/iojs-2.0.0', gyp info spawn args '-Dnode_gyp_dir=/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/home/pi/.electron-gyp/.node-gyp/iojs-2.0.0/<(target_arch)/iojs.lib', gyp info spawn args '-Dmodule_root_dir=/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' ] gyp info spawn make gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] make : on entre dans le répertoire « /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/build » CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/surface/init.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/avl/avl.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/backoff/backoff.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_args.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_stack.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_stack_builder.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channel_trace.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channelz.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/channelz_registry.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/connected_channel.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/handshaker.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/handshaker_factory.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/handshaker_registry.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/channel/status_util.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/compression.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/compression_internal.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/message_compress.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/stream_compression.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/stream_compression_gzip.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/compression/stream_compression_identity.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/debug/stats.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/debug/stats_data.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/http/format_request.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/http/httpcli.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/http/parser.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/call_combiner.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/combiner.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint_pair_posix.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint_pair_uv.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/endpoint_pair_windows.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/error.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_epoll1_linux.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_epollex_linux.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_epollsig_linux.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_poll_posix.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_posix.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/ev_windows.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/exec_ctx.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/executor.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/fork_posix.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/fork_windows.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/gethostname_fallback.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/gethostname_host_name_max.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/gethostname_sysconf.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iocp_windows.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_custom.o CXX(target) Release/obj.target/grpc/deps/grpc/src/core/lib/iomgr/iomgr_internal.o
-
@mariecbilodeau
“gyp ERR …” lines are needed. Your log is missing those infos. -
is there any way to play local stored mp3 files on the raspbery pi using the play … command
currently when saying prhases like play mp3 it says oke and stops.
im wondering if it is possible to play music mp3s from the music folder using the built in player of vlc player by sying the google command of a gaction
would be a nice addition to the plugin
-
@themc
If you have a module to play mp3 and it is able to be activated by notification, it could. But adding some specific job to Assistant itself, I think it is not so good idea, because each circumstance is different.
So have you a module which can play mp3? I can make gaction sample for it. -
@sean thanks for all the info.
Just saw this after sending you request for info.
will search better / more in the future :-) -
Looking for a solution for my vertical setup and browsing the file system I have seen that the cardsare stored in a temp_screen html file in the plugin folder.
changing there font size from 40px to 20px makes already a big diff (no scroll bars… in the cards)
is htere a way I can intercept that file and edit before presentation?
that would already do a good trick :-)
-
@dvbit
I’ve already done that.screenZoom
is that.
But anyway, That screenOutput was made for SmartTV, so it was optimized for Landscape mode. And unfortunately, the screenOutput is uncontrollable static HTML itself. There is no enough room for control.
I wish the next version of Google SDK could provide structured data instead static HTML for screenOutput. -
Ok. Tx will use that parameter then :-)