• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Hello-Lucy pages are blank

Scheduled Pinned Locked Moved Solved Troubleshooting
4 Posts 2 Posters 350 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    sinbad339
    last edited by Jan 9, 2022, 2:57 AM

    I’ve been fighting this issue for several days with a new installation. MMM with Hello-Lucy starts up normally, with several modules displayed. I trigger with HELLO LUCY, then say SHOW PAGE TWO (or any other page I have configured), I hear the “ding”, and I get a blank page. Even with SHOW PAGE ONE, I get a blank page. From there, only SHOW MODULES get me back to an active display.

    Here’s what I get from the dev console. The error shown comes from saying SHOW PAGE TWO.

    main.js:481 Initializing MagicMirror.
    translator.js:128 Loading core translation file: translations/en.json
    translator.js:146 Loading core translation fallback file: translations/en.json
    loader.js:184 Load script: modules/Hello-Lucy/Hello-Lucy.js
    module.js:509 Module registered: Hello-Lucy
    loader.js:155 Bootstrapping module: Hello-Lucy
    loader.js:160 Scripts loaded for: Hello-Lucy
    loader.js:203 Load stylesheet: vendor/css/font-awesome.css
    loader.js:203 Load stylesheet: modules/Hello-Lucy/Hello-Lucy.css
    loader.js:162 Styles loaded for: Hello-Lucy
    translator.js:107 Hello-Lucy - Load translationfalse: translations/en.json
    VM4 sandbox_bundle:53 Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security
      Policy set or a policy with "unsafe-eval" enabled. This exposes users of
      this app to unnecessary security risks.
    
    For more information and help, consult
    https://electronjs.org/docs/tutorial/security.
    This warning will not show up
    once the app is packaged.
    warnAboutInsecureCSP @ VM4 sandbox_bundle:53
    loader.js:164 Translations loaded for: Hello-Lucy
    loader.js:184 Load script: modules/MMM-EasyPix/MMM-EasyPix.js
    module.js:509 Module registered: MMM-EasyPix
    loader.js:155 Bootstrapping module: MMM-EasyPix
    loader.js:160 Scripts loaded for: MMM-EasyPix
    loader.js:203 Load stylesheet: modules/MMM-EasyPix/MMM-EasyPix.css
    loader.js:162 Styles loaded for: MMM-EasyPix
    loader.js:164 Translations loaded for: MMM-EasyPix
    loader.js:184 Load script: modules/default/weather/weather.js
    module.js:509 Module registered: weather
    loader.js:155 Bootstrapping module: weather
    loader.js:184 Load script: vendor/node_modules/moment/min/moment-with-locales.js
    loader.js:184 Load script: modules/default/weather/weatherprovider.js
    loader.js:184 Load script: modules/default/weather/weatherobject.js
    loader.js:184 Load script: vendor/node_modules/suncalc/suncalc.js
    loader.js:184 Load script: modules/default/weather/providers/openweathermap.js
    loader.js:160 Scripts loaded for: weather
    loader.js:244 File already loaded: font-awesome.css
    loader.js:203 Load stylesheet: vendor/node_modules/weathericons/css/weather-icons.css
    loader.js:203 Load stylesheet: modules/default/weather/weather.css
    loader.js:162 Styles loaded for: weather
    loader.js:164 Translations loaded for: weather
    loader.js:184 Load script: modules/default/calendar/calendar.js
    module.js:501 Check MagicMirror version for module 'calendar' - Minimum version:  2.1.0 - Current version: 2.18.0
    module.js:503 Version is ok!
    module.js:509 Module registered: calendar
    loader.js:155 Bootstrapping module: calendar
    loader.js:244 File already loaded: moment.js
    loader.js:160 Scripts loaded for: calendar
    loader.js:203 Load stylesheet: modules/default/calendar/calendar.css
    loader.js:244 File already loaded: font-awesome.css
    loader.js:162 Styles loaded for: calendar
    loader.js:164 Translations loaded for: calendar
    loader.js:203 Load stylesheet: css/custom.css
    weatherprovider.js:35 Weather provider: OpenWeatherMap initialized.
    weatherprovider.js:46 Weather provider: OpenWeatherMap started.
    calendar.js:87 Starting module: calendar
    main.js:499 All modules started!
    module.js:202 MMM-EasyPix is resumed.
    module.js:202 weather is resumed.
    module.js:202 calendar is resumed.
    weather.js:149 New weather information available.
    Hello-Lucy.js:262 Uncaught TypeError: Cannot read properties of undefined (reading 'speed')
        at Hello-Lucy.js:262
        at main.js:456
        at Array.map (<anonymous>)
        at Array.enumerate (main.js:455)
        at Class.socketNotificationReceived (Hello-Lucy.js:259)
        at module.js:245
        at Socket.<anonymous> (socketclient.js:38)
        at Socket.Emitter.emit (index.js:143)
        at Socket.emitEvent (socket.js:276)
        at Socket.onevent (socket.js:263)
    (anonymous) @ Hello-Lucy.js:262
    (anonymous) @ main.js:456
    enumerate @ main.js:455
    socketNotificationReceived @ Hello-Lucy.js:259
    (anonymous) @ module.js:245
    (anonymous) @ socketclient.js:38
    Emitter.emit @ index.js:143
    emitEvent @ socket.js:276
    onevent @ socket.js:263
    MMSocket.socket.onevent @ socketclient.js:32
    onpacket @ socket.js:228
    Emitter.emit @ index.js:143
    ondecoded @ manager.js:200
    Emitter.emit @ index.js:143
    add @ index.js:110
    ondata @ manager.js:192
    Emitter.emit @ index.js:143
    onPacket @ socket.js:323
    Emitter.emit @ index.js:143
    onPacket @ transport.js:100
    onData @ transport.js:92
    ws.onmessage @ websocket.js:76
    module.js:195 Hello-Lucy is suspended.
    module.js:195 MMM-EasyPix is suspended.
    module.js:195 weather is suspended.
    module.js:195 calendar is suspended.
    
    
    S 1 Reply Last reply Jan 9, 2022, 3:11 AM Reply Quote 0
    • S Offline
      sdetweil @sinbad339
      last edited by Jan 9, 2022, 3:11 AM

      @sinbad339 edit HelloLucy.js

      after line 248

      } else if (notification === "MODULE_STATUS") {
      

      add a new line and put this on the new line

      let self = this
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S 1 Reply Last reply Jan 9, 2022, 3:36 AM Reply Quote 1
      • S Offline
        sinbad339 @sdetweil
        last edited by Jan 9, 2022, 3:36 AM

        @sdetweil
        That worked! Thanks much for the quick reply and the fix.

        Being a noob, I probably wouldn’t understand the answer, but why did my basic installation work?

        S 1 Reply Last reply Jan 9, 2022, 4:05 AM Reply Quote 0
        • S Offline
          sdetweil @sinbad339
          last edited by Jan 9, 2022, 4:05 AM

          @sinbad339 because it didn’t use the function that was broken.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          1 / 1
          • First post
            1/4
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy