• 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.

MMM-CalendarExt3 and MMM-MonthlyCalendar blank

Scheduled Pinned Locked Moved Solved Troubleshooting
56 Posts 2 Posters 2.5k 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 Away
    sdetweil @Scott-M
    last edited by Mar 29, 2025, 1:59 PM

    @Scott-M thank you very much

    ok, I’ve updated raspberry.sh on the v231 branch
    let me know what you find when u can

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    S 1 Reply Last reply Mar 29, 2025, 3:00 PM Reply Quote 0
    • S Online
      Scott-M @sdetweil
      last edited by Mar 29, 2025, 3:00 PM

      @sdetweil

      These seems to be a subtle difference between our keyboard layouts perhaps,

      raspberry.sh has this line

      upgrade_result=$(sudo apt-get -y  -o Dpkg::Options::=“–force-confdef” -o Dpkg::Options::=“–force-confnew” full-upgrade | pv -l -p)
      

      but the quotes around –force-confdef and –force-confnew are the wrong type . Should be:

      upgrade_result=$(sudo apt-get -y  -o Dpkg::Options::="–force-confdef" -o Dpkg::Options::="–force-confnew" full-upgrade | pv -l -p)
      

      It causes this error:

      dpkg: error: need an action option
      
      Type dpkg --help for help about installing and deinstalling packages [*];
      Use 'apt' or 'aptitude' for user-friendly package management;
      Type dpkg -Dhelp for a list of dpkg debug flag values;
      Type dpkg --force-help for a list of forcing options;
      Type dpkg-deb --help for help about manipulating *.deb files;
      
      Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
      E: Sub-process dpkg --set-selections returned an error code (2)
      E: Couldn't record the approved state changes as dpkg selection states
      
      

      Maybe just replace the quotes rather than copy and pase. I noticed the same thing when I copied the link you sent previously for the test branch.

      S 1 Reply Last reply Mar 29, 2025, 3:07 PM Reply Quote 0
      • S Away
        sdetweil @Scott-M
        last edited by sdetweil Mar 29, 2025, 3:11 PM Mar 29, 2025, 3:07 PM

        @Scott-M I copied directly from your original post, it also shows the curved quotes

        pushed fix

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        S S 2 Replies Last reply Mar 29, 2025, 3:08 PM Reply Quote 0
        • S Online
          Scott-M @sdetweil
          last edited by Mar 29, 2025, 3:08 PM

          @sdetweil So it does, not sure why, I copied it from the terminal window.

          S 1 Reply Last reply Mar 29, 2025, 3:14 PM Reply Quote 1
          • S Away
            sdetweil @Scott-M
            last edited by Mar 29, 2025, 3:14 PM

            @Scott-M said in MMM-CalendarExt3 and MMM-MonthlyCalendar blank:

            So it does, not sure why, I copied it from the terminal window.

            the MagicMirror forums assume word processing for quotes unless in a code block

            once you save it, poof… it will never change back automatically
            so it looks like you decided to add the code black later… (just experience )

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Away
              sdetweil @sdetweil
              last edited by Mar 29, 2025, 3:15 PM

              @Scott-M note this latest fix also changes MagicMirror.sh to detect which window manager is running (wayland or labwc) and use the different start command if detected

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              S 1 Reply Last reply Mar 29, 2025, 5:52 PM Reply Quote 0
              • S Online
                Scott-M @sdetweil
                last edited by Mar 29, 2025, 5:52 PM

                @sdetweil
                I probably did add the code block after. Lesson learned! And this is partly why I am having more issues with this. It has been very frustating, after it worked last night, it isn’t now.

                I think I know what the issue is but it is time consuming writing the SD image and running the script so if you can bear with me. I want to test it at least twice before I update here.

                I suspect the 2 dashes before

                --force-confdef
                --force-confnew
                

                have been replaced by a single dash of a different character type. Again, because I put the code block around the text after I copied it.

                This should be the correct code but let me test again to make sure. It has worked once, just want to do it again and will update.

                sudo apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" full-upgrade
                

                In the mean time, the above code will auto select the default option if one is available and then answer Yes if there is no default. In the case of the prompt that was appearing, the old configuration file ‘/etc/xdg/labwc-greeter/autostart’ is kept. If you want the package maintainers file instead just remove the first option:

                -o Dpkg::Options::="--force-confdef"
                
                S 1 Reply Last reply Mar 29, 2025, 6:04 PM Reply Quote 1
                • S Away
                  sdetweil @Scott-M
                  last edited by Mar 29, 2025, 6:04 PM

                  @Scott-M yes the double dash was replaced with single… new update pushed…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  S 1 Reply Last reply Mar 29, 2025, 6:40 PM Reply Quote 0
                  • S Online
                    Scott-M @sdetweil
                    last edited by Mar 29, 2025, 6:40 PM

                    @sdetweil

                    It seemed to get through the upgrade stage very quickly and

                    apt-get upgrade  started
                    apt-get upgrade result =rc=0 Reading package lists...
                    Building dependency tree...
                    

                    in the log seems to show the upgrade didn’t work. I will run the script locally on the pi and send the output to the termnial to see what is happening but it won’t be tonight, I have to go out now.

                    Update tomorrow…

                    S 1 Reply Last reply Mar 29, 2025, 6:42 PM Reply Quote 1
                    • S Online
                      Scott-M @Scott-M
                      last edited by Mar 29, 2025, 6:42 PM

                      @sdetweil

                      MagicMirror did run though…

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 5 / 6
                      5 / 6
                      • First post
                        46/56
                        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