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.

    Problem installing new module (beginner), CalendarEXT3 not displaying

    Scheduled Pinned Locked Moved Solved Troubleshooting
    36 Posts 4 Posters 10.2k Views 4 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
      sdetweil @MMRIZE
      last edited by sdetweil

      @MMRIZE @Manino do

      pm2 stop all
      

      then u can do

      npm start 
      (ctrl-c to stop) 
      

      to test

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • M Offline
        Manino @MMRIZE
        last edited by Manino

        @MMRIZE @sdetweil Oh, tnx! This is what I got. Have no idea if this is correct either. Thanks for your patience.

        manino@raspberrypi:~ $ cd MagicMirror
        manino@raspberrypi:~/MagicMirror $ pm2 stop all
        [PM2] Applying action stopProcessId on app [all](ids: [ 0 ])
        [PM2] [MagicMirror](0) ✓
        ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
        │ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
        ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
        │ 0  │ MagicMirror        │ fork     │ 0    │ stopped   │ 0%       │ 0b       │
        └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
        manino@raspberrypi:~/MagicMirror $ npm start
        
        > magicmirror@2.24.0 start
        > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
        
        [22.09.2023 21:59.20.958] [LOG]   Starting MagicMirror: v2.24.0
        [22.09.2023 21:59.20.971] [LOG]   Loading config ...
        [22.09.2023 21:59.20.980] [DEBUG] config template file not exists, no envsubst
        [22.09.2023 21:59.20.989] [LOG]   Loading module helpers ...
        [22.09.2023 21:59.20.997] [LOG]   No helper found for module: MMM-CalendarExt3.
        [22.09.2023 21:59.21.413] [LOG]   Initializing new module helper ...
        [22.09.2023 21:59.21.414] [LOG]   Module helper loaded: calendar
        [22.09.2023 21:59.21.415] [LOG]   All module helpers loaded.
        [22.09.2023 21:59.21.436] [LOG]   Starting server on port 8080 ... 
        [22.09.2023 21:59.21.866] [LOG]   Server started ...
        [22.09.2023 21:59.21.869] [LOG]   Connecting socket for: calendar
        [22.09.2023 21:59.21.870] [LOG]   Starting node helper for: calendar
        [22.09.2023 21:59.21.872] [LOG]   Sockets connected & modules started ...
        [22.09.2023 21:59.21.950] [LOG]   Launching application.
        MESA-LOADER: failed to retrieve device information
        MESA-LOADER: failed to retrieve device information
        MESA-LOADER: failed to retrieve device information
        ../../buildtools/third_party/libc++/trunk/include/vector:1471: assertion __n < size() failed: vector[] index out of bounds[1602:0922/215923.760165:ERROR:gpu_process_host.cc(954)] GPU process exited unexpectedly: exit_code=6
        MESA-LOADER: failed to retrieve device information
        MESA-LOADER: failed to retrieve device information
        MESA-LOADER: failed to retrieve device information
        ../../buildtools/third_party/libc++/trunk/include/vector:1471: assertion __n < size() failed: vector[] index out of bounds[1602:0922/215924.743937:ERROR:gpu_process_host.cc(954)] GPU process exited unexpectedly: exit_code=6
        MESA-LOADER: failed to retrieve device information
        MESA-LOADER: failed to retrieve device information
        MESA-LOADER: failed to retrieve device information
        ../../buildtools/third_party/libc++/trunk/include/vector:1471: assertion __n < size() failed: vector[] index out of bounds[1602:0922/215925.960665:ERROR:gpu_process_host.cc(954)] GPU process exited unexpectedly: exit_code=6
        [22.09.2023 21:59.25.999] [LOG]   Create new calendarfetcher for url: https://ics.calendarlabs.com/709/45a0bb64/Fun_Holidays.ics - Interval: 3600000
        [22.09.2023 21:59.26.871] [INFO]  Calendar-Fetcher: Broadcasting 59 events.
        [1645:0922/215926.898550:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
        ^C/home/manino/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
        
        S 2 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @Manino
          last edited by sdetweil

          @Manino

          ‘/home/manino/package.json’

          you are not in the MagicMirror folder

          cd MagicMirror
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Manino
            last edited by

            @Manino do this

            export ELECTRON_DISABLE_GPU=1
            npm start
            

            if that works, the add

            export ELECTRON_DISABLE_GPU=1
            

            in the ~/MagicMirror/installers/mm.sh

            on a new line before the line with npm start

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • M Offline
              Manino
              last edited by Manino

              @sdetweil @MMRIZE Sry did post before writing all text…

              I did try your thing @sdetweil but I could’nt get it right. Then I did the Install of the MM for 15 times or something, try different installation every time, change language and tested everything, and then one time I try this extra thing below. I am sure iv’e tried it before but that time it did’nt work. I don’t know why but now I have it.

              Every time I do the installation of the MM (after imager), I do got an error in the text. But the MM start running anyway. Maybe that’s the problem?

              Anyway this thing did work:
              “When some submodule seems not installed and updated properly, try this.”
              cd ~/MagicMirror/modules/MMM-CalendarExt3
              git submodule update --init --recursive

              2023-09-26-143841_1920x1080_scrot.png

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @Manino
                last edited by

                @Manino the question is, WHY did it not get installed properly…

                the install instructions

                npm install

                in the module folder SHOULD have done the work already…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  Manino @sdetweil
                  last edited by

                  @sdetweil This is exactly what I did.

                  In the terminal I wrote cd MagicMirror/modules
                  then wrote git clone https://github.com/MMRIZE/MMM-CalendarExt3
                  after that, I wrote npm install

                  Sometimes, I did get an error says I had to do npm audit fix. I did got it the last time and now as I said it’s working. But I don’t see that as a problem. Some of the times I did not got that, and it did not work anyway.

                  Then I did wrote git submodule update --init --recursive
                  even do the guide says needless (I did test with and without), don’t know if there was any difference.

                  But this should work or?

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @Manino
                    last edited by

                    @Manino said in Problem installing new module (beginner), CalendarEXT3 not displaying:

                    after that, I wrote npm install

                    after the git clone you do

                    cd MMM-CalendarExt3
                    

                    to position prompt with proper current directory

                    then issue

                    npm install
                    

                    then npm install runs and looks at package.json which has a postinstall step

                        "postinstall": "git submodule update --init --recursive",
                    

                    SO, IF you were in the correct folder, then this command would have been issued here …

                    same as you did manually… SO, that implies you did NOT use the cd command

                    I see the instructions also do not have that …

                    cd ~/MagicMirror/modules
                    git clone https://github.com/MMRIZE/MMM-CalendarExt3
                    cd MMM-CalendarExt3  # missing <-----------
                    npm install
                    git submodule update --init --recursive
                    

                    so that explains it…

                    in general, if the module instructions say npm install
                    you MUST manually position the terminal window in the module folder first… regardless if the instructions tell you or not…

                    @MMRIZE u need to fix readme

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    M M 2 Replies Last reply Reply Quote 0
                    • M Offline
                      MMRIZE @sdetweil
                      last edited by

                      @sdetweil
                      Thanks. I’ll do it right now.

                      I am so sorry that all the ppl have that issue due to wrong instructions.

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        Manino @sdetweil
                        last edited by

                        @sdetweil @MMRIZE Oh really! Thank you Sam for letting me know the real problem. And you 2 guys have learned me so much these days, I really appreciate you took your time helping me.

                        I have now reinstall MM and begin from start. And then i did install CalendarEXT3 the correct way.

                        1 Reply Last reply Reply Quote 0
                        • J JackHammer325 referenced this topic on
                        • 1
                        • 2
                        • 3
                        • 4
                        • 4 / 4
                        • First post
                          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