MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

MMM-NowPlayingOnSpotify With erro



  • With that out. Does not display what I am playing.

    pi@raspberrypi:~/MagicMirror $ npm start
    
    > magicmirror@2.10.0 start /home/pi/MagicMirror
    > ./run-start.sh
    
    [02:08:45.316] [LOG] Starting MagicMirror: v2.10.0
    [02:08:45.349] [LOG] Loading config ...
    [02:08:45.368] [LOG] Loading module helpers ...
    [02:08:45.377] [LOG] No helper found for module: alert.
    [02:08:45.563] [LOG] Initializing new module helper ...
    [02:08:45.570] [LOG] Module helper loaded: updatenotification
    [02:08:45.573] [LOG] No helper found for module: clock.
    [02:08:47.019] [LOG] Initializing new module helper ...
    [02:08:47.022] [LOG] Module helper loaded: calendar
    [02:08:47.025] [LOG] No helper found for module: compliments.
    [02:08:48.211] [LOG] Initializing new module helper ...
    [02:08:48.214] [LOG] Module helper loaded: MMM-DarkSkyForecast
    [02:08:49.639] [LOG] Initializing new module helper ...
    [02:08:49.642] [LOG] Module helper loaded: MMM-NowPlayingOnSpotify
    [02:08:49.752] [LOG] Initializing new module helper ...
    [02:08:49.755] [LOG] Module helper loaded: newsfeed
    [02:08:49.759] [LOG] All module helpers loaded.
    [02:08:49.766] [LOG] Starting server on port 8080 ...
    [02:08:49.846] [LOG] Server started ...
    [02:08:49.855] [LOG] Connecting socket for: updatenotification
    [02:08:49.866] [LOG] Connecting socket for: calendar
    [02:08:49.873] [LOG] Starting node helper for: calendar
    [02:08:49.878] [LOG] Connecting socket for: MMM-DarkSkyForecast
    [02:08:49.882] [LOG] ====================== Starting node_helper for module [MMM-DarkSkyForecast]
    [02:08:49.886] [LOG] Connecting socket for: MMM-NowPlayingOnSpotify
    [02:08:49.890] [LOG] Connecting socket for: newsfeed
    [02:08:49.894] [LOG] Starting module: newsfeed
    [02:08:49.896] [LOG] Sockets connected & modules started ...
    [02:08:49.900] [LOG]
    Ready to go! Please point your browser to: http://localhost:8080
    Starting chromium browser now, have patience, it takes a minute
     --disable-quic --enable-tcp-fast-open --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so --ppapi-flash-args=enable_stagevideo_auto=0 --ppapi-flash-version=
    [02:09:02.796] [ERROR]  (node:8894) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
    [02:09:03.877] [ERROR]  Error while refreshing:
    [02:09:03.880] [ERROR]  Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
        at doWrite (_stream_writable.js:411:19)
        at writeOrBuffer (_stream_writable.js:399:5)
        at Socket.Writable.write (_stream_writable.js:299:11)
        at Console.con.(anonymous function) [as log] (/home/pi/MagicMirror/node_modules/console-stamp/main.js:150:46)
        at refreshAccessToken.then (/home/pi/MagicMirror/modules/MMM-NowPlayingOnSpotify/core/SpotifyConnector.js:24:19)
        at process._tickCallback (internal/process/next_tick.js:68:7)
    [02:09:03.952] [ERROR]  Error while refreshing:
    [02:09:03.968] [ERROR]  Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
        at doWrite (_stream_writable.js:411:19)
        at writeOrBuffer (_stream_writable.js:399:5)
        at Socket.Writable.write (_stream_writable.js:299:11)
        at Console.con.(anonymous function) [as log] (/home/pi/MagicMirror/node_modules/console-stamp/main.js:150:46)
        at refreshAccessToken.then (/home/pi/MagicMirror/modules/MMM-NowPlayingOnSpotify/core/SpotifyConnector.js:24:19)
        at process._tickCallback (internal/process/next_tick.js:68:7)
    [02:09:04.036] [ERROR]  Error while refreshing:
    [02:09:04.041] [ERROR]  Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
        at doWrite (_stream_writable.js:411:19)
        at writeOrBuffer (_stream_writable.js:399:5)
        at Socket.Writable.write (_stream_writable.js:299:11)
        at Console.con.(anonymous function) [as log] (/home/pi/MagicMirror/node_modules/console-stamp/main.js:150:46)
        at refreshAccessToken.then (/home/pi/MagicMirror/modules/MMM-NowPlayingOnSpotify/core/SpotifyConnector.js:24:19)
        at process._tickCallback (internal/process/next_tick.js:68:7)
    [02:09:04.745] [ERROR]  Error while refreshing:
    [02:09:04.748] [ERROR]  Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
        at doWrite (_stream_writable.js:411:19)
        at writeOrBuffer (_stream_writable.js:399:5)
        at Socket.Writable.write (_stream_writable.js:299:11)
        at Console.con.(anonymous function) [as log] (/home/pi/MagicMirror/node_modules/console-stamp/main.js:150:46)
        at refreshAccessToken.then (/home/pi/MagicMirror/modules/MMM-NowPlayingOnSpotify/core/SpotifyConnector.js:24:19)
        at process._tickCallback (internal/process/next_tick.js:68:7)
    [02:09:05.293] [ERROR]  Error while refreshing:
    [02:09:05.297] [ERROR]  Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
        at doWrite (_stream_writable.js:411:19)
        at writeOrBuffer (_stream_writable.js:399:5)
    


  • @iorifly this is the same problem as the Hass stuff



  • boy, what can i do? I am getting crazy !

    you think you better reinstall everything! ???

    Thank you for your tireless help.



  • @iorifly >what can I do?

    Wait!

    This is a volunteer effort.



  • @iorifly fix reported in HASS topic



  • My module is forever loading. Does not display the data.



  • reboot. The module is ok.


Log in to reply