MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Turtle
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    T
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 27
    • Groups 0

    Turtle

    @Turtle

    2
    Reputation
    285
    Profile views
    27
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Turtle Unfollow Follow

    Best posts made by Turtle

    • Black screen when starting MM...

      Hello all,

      So, it’s been a while since I’ve worked on MM. So, I just recently upgraded my PI3 and updated MM as well to the latest version. I’m getting a black screen whenever I’m starting MM. This is what I’m getting after running /npm start…(any help is appreciated)

      >magicmirror@2.21.0 start /home/pi/MagicMirror
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      
      [17.10.2022 05:48.57.151] [LOG]   Starting MagicMirror: v2.21.0
      [17.10.2022 05:48.57.182] [LOG]   Loading config ...
      [17.10.2022 05:48.57.218] [LOG]   Loading module helpers ...
      [17.10.2022 05:48.57.231] [LOG]   No helper found for module: alert.
      [17.10.2022 05:48.57.307] [LOG]   Initializing new module helper ...
      [17.10.2022 05:48.57.312] [LOG]   Module helper loaded: updatenotification
      [17.10.2022 05:48.57.319] [LOG]   No helper found for module: clock.
      [17.10.2022 05:48.57.350] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'valid-url'
      Require stack:
      - /home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js
      - /home/pi/MagicMirror/js/app.js
      - /home/pi/MagicMirror/js/electron.js
      - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      - 
      [17.10.2022 05:48.57.356] [LOG]   Loading module helpers ...
      [17.10.2022 05:48.57.362] [LOG]   No helper found for module: alert.
      [17.10.2022 05:48.57.367] [LOG]   Initializing new module helper ...
      [17.10.2022 05:48.57.370] [LOG]   Module helper loaded: updatenotification
      [17.10.2022 05:48.57.374] [LOG]   No helper found for module: clock.
      [17.10.2022 05:48.57.398] [ERROR] App threw an error during load
      [17.10.2022 05:48.57.406] [ERROR] Error: Cannot find module 'valid-url'
      Require stack:
      - /home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js
      - /home/pi/MagicMirror/js/app.js
      - /home/pi/MagicMirror/js/electron.js
      - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      - 
          at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
          at n._resolveFilename (node:electron/js2c/browser_init:245:1105)
          at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
          at Module._load (node:internal/modules/cjs/loader:785:27)
          at c._load (node:electron/js2c/asar_bundle:5:13343)
          at Module.require (node:internal/modules/cjs/loader:1012:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js:3:18)
          at Module._compile (node:internal/modules/cjs/loader:1118:14)
          at Module._extensions..js (node:internal/modules/cjs/loader:1173:10)
      [17.10.2022 05:48.57.413] [ERROR] Whoops! There was an uncaught exception...
      [17.10.2022 05:48.57.445] [ERROR] Error: Cannot find module 'valid-url'
      Require stack:
      - /home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js
      - /home/pi/MagicMirror/js/app.js
      - /home/pi/MagicMirror/js/electron.js
      - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      - 
          at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
          at n._resolveFilename (node:electron/js2c/browser_init:245:1105)
          at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
          at Module._load (node:internal/modules/cjs/loader:785:27)
          at c._load (node:electron/js2c/asar_bundle:5:13343)
          at Module.require (node:internal/modules/cjs/loader:1012:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js:3:18)
          at Module._compile (node:internal/modules/cjs/loader:1118:14)
          at Module._extensions..js (node:internal/modules/cjs/loader:1173:10) {
        code: 'MODULE_NOT_FOUND',
        requireStack: [
          '/home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js',
          '/home/pi/MagicMirror/js/app.js',
          '/home/pi/MagicMirror/js/electron.js',
          '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',
          undefined
        ]
      }
      [17.10.2022 05:48.57.458] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [17.10.2022 05:48.57.460] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      [17.10.2022 05:48.58.962] [LOG]   Launching application.
      [1049:1017/054900.709871:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
      [1076:1017/054901.244060:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
      
      

      Turtle

      posted in Troubleshooting
      T
      Turtle
    • RE: Black screen when starting MM...

      @sdetweil - thank you for the help. It’s finally working with your help. My calendar is up and running. But another quick question, I’m using npm start to start the calendar. How would I stop the calendar? Again, Thank you!

      Turtle

      posted in Troubleshooting
      T
      Turtle

    Latest posts made by Turtle

    • RE: Black screen when starting MM...

      @sdetweil - well, that explains it…I was using ctrl-r and wondering why it wasn’t working. Eventually, I was just “x” out of the terminal window. Again, thank you for the help.

      Turtle

      posted in Troubleshooting
      T
      Turtle
    • RE: Black screen when starting MM...

      @sdetweil - thank you for the help. It’s finally working with your help. My calendar is up and running. But another quick question, I’m using npm start to start the calendar. How would I stop the calendar? Again, Thank you!

      Turtle

      posted in Troubleshooting
      T
      Turtle
    • Black screen when starting MM...

      Hello all,

      So, it’s been a while since I’ve worked on MM. So, I just recently upgraded my PI3 and updated MM as well to the latest version. I’m getting a black screen whenever I’m starting MM. This is what I’m getting after running /npm start…(any help is appreciated)

      >magicmirror@2.21.0 start /home/pi/MagicMirror
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      
      [17.10.2022 05:48.57.151] [LOG]   Starting MagicMirror: v2.21.0
      [17.10.2022 05:48.57.182] [LOG]   Loading config ...
      [17.10.2022 05:48.57.218] [LOG]   Loading module helpers ...
      [17.10.2022 05:48.57.231] [LOG]   No helper found for module: alert.
      [17.10.2022 05:48.57.307] [LOG]   Initializing new module helper ...
      [17.10.2022 05:48.57.312] [LOG]   Module helper loaded: updatenotification
      [17.10.2022 05:48.57.319] [LOG]   No helper found for module: clock.
      [17.10.2022 05:48.57.350] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'valid-url'
      Require stack:
      - /home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js
      - /home/pi/MagicMirror/js/app.js
      - /home/pi/MagicMirror/js/electron.js
      - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      - 
      [17.10.2022 05:48.57.356] [LOG]   Loading module helpers ...
      [17.10.2022 05:48.57.362] [LOG]   No helper found for module: alert.
      [17.10.2022 05:48.57.367] [LOG]   Initializing new module helper ...
      [17.10.2022 05:48.57.370] [LOG]   Module helper loaded: updatenotification
      [17.10.2022 05:48.57.374] [LOG]   No helper found for module: clock.
      [17.10.2022 05:48.57.398] [ERROR] App threw an error during load
      [17.10.2022 05:48.57.406] [ERROR] Error: Cannot find module 'valid-url'
      Require stack:
      - /home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js
      - /home/pi/MagicMirror/js/app.js
      - /home/pi/MagicMirror/js/electron.js
      - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      - 
          at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
          at n._resolveFilename (node:electron/js2c/browser_init:245:1105)
          at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
          at Module._load (node:internal/modules/cjs/loader:785:27)
          at c._load (node:electron/js2c/asar_bundle:5:13343)
          at Module.require (node:internal/modules/cjs/loader:1012:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js:3:18)
          at Module._compile (node:internal/modules/cjs/loader:1118:14)
          at Module._extensions..js (node:internal/modules/cjs/loader:1173:10)
      [17.10.2022 05:48.57.413] [ERROR] Whoops! There was an uncaught exception...
      [17.10.2022 05:48.57.445] [ERROR] Error: Cannot find module 'valid-url'
      Require stack:
      - /home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js
      - /home/pi/MagicMirror/js/app.js
      - /home/pi/MagicMirror/js/electron.js
      - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      - 
          at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
          at n._resolveFilename (node:electron/js2c/browser_init:245:1105)
          at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
          at Module._load (node:internal/modules/cjs/loader:785:27)
          at c._load (node:electron/js2c/asar_bundle:5:13343)
          at Module.require (node:internal/modules/cjs/loader:1012:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js:3:18)
          at Module._compile (node:internal/modules/cjs/loader:1118:14)
          at Module._extensions..js (node:internal/modules/cjs/loader:1173:10) {
        code: 'MODULE_NOT_FOUND',
        requireStack: [
          '/home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js',
          '/home/pi/MagicMirror/js/app.js',
          '/home/pi/MagicMirror/js/electron.js',
          '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',
          undefined
        ]
      }
      [17.10.2022 05:48.57.458] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [17.10.2022 05:48.57.460] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      [17.10.2022 05:48.58.962] [LOG]   Launching application.
      [1049:1017/054900.709871:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
      [1076:1017/054901.244060:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
      
      

      Turtle

      posted in Troubleshooting
      T
      Turtle
    • RE: AI face talking

      I guess @Mahault fell off the face of the earth? Looks like we answered his questions! lol

      posted in Requests
      T
      Turtle
    • RE: AI face talking

      @Mahault - is this what you might be trying for? Hacker Schack’s YouTube Video

      Turtle

      posted in Requests
      T
      Turtle
    • RE: MMM-CalendarExt2

      Thank you @sdetweil and @BKeyport for the information.

      posted in Utilities
      T
      Turtle
    • RE: MMM-CalendarExt2

      This weekend I’m going to be working some more on the MM especially the CSS to get the calendars the way I want. So, I’m going to be making the “custom.css” file. Which of the current “.css” file am I going to us to fill the “custom.css” file? Also, on the next updating of MM am I going to lose the “custom.css” file?

      Turtle

      posted in Utilities
      T
      Turtle
    • RE: MMM-CalendarExt2

      @Sean said in MMM-CalendarExt2:

      @Turtle
      I suspect maxItems of each view, but not confirm the reason without real ical data. send me your ical’s URL to inspect what happens. (eouia0819@gmail.com)

      @Sean - it was sent. Thank you!

      posted in Utilities
      T
      Turtle
    • RE: MMM-CalendarExt2

      I’m confusing myself with all these examples I’m looking out from the main documentation to other people’s examples. When MM starts, I get the monthly calendar the entire screen but with none of my information from any of the four calendars that I have. Also, I do get the “Upcoming” view in the top_left hand corner with only my information from “Turtle’s Calendar” but not the other calendar. Here is my code…

      config: {
          				calendars : [
            					{
      					name: "Turtle's Calendar",        					
      					url: "",
            					},
      					{
      					name: "Work Calendar",
      					url: "",
      					},
      					{
      					name: "Bill Calendar",
      					url: "",
      					},
      					{
      					name: "Payday Calendar",
      					url: "",
      					},
          					],
          				views: [
            					{
      						name: "MONTHVIEW",        					
      						mode: "month",
      						position: "bottom_bar",
      						calendars: ["Turtle's Calendar", "Work Calendar", "Bill Calendar", "Payday Calendar"],
            					},
      
      					{
      						name: "DAILYVIEW",        					
      						mode: "upcoming",
      						Title: "Upcoming Events",
      						slotCount: 10,
      						hideOverflow: false,
      						filterPassedEvent: true,
      						calendars: ["Turtle's Calendar", "Work Calendar", "Bill Calendar", "Payday Calendar"],
            					},
          					],
          				scenes: [
            					{
              					name: "DEFAULT",
      						views: ["MONTHVIEW", "DAILYVIEW"],
            					},
      					
          				],
        			},
      		},
      		
      	]
      
      posted in Utilities
      T
      Turtle
    • RE: MMM-CalendarExt2

      @sdetweil - thank you again…I got it up and working. Just got to do some tweaking!

      posted in Utilities
      T
      Turtle