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-Random Fact

    Scheduled Pinned Locked Moved Education
    59 Posts 12 Posters 36.1k Views 11 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer
      last edited by

      I just downloaded the most recent version and fired it up.

      0_1542076167970_Screenshot from 2018-11-12 21-28-00.png

      Create a working config
      How to add modules

      R 1 Reply Last reply Reply Quote 0
      • lavolp3L Offline
        lavolp3 Module Developer
        last edited by lavolp3

        Well for me this module does not work as well (only showing “Eine Tatsache bekommen” in German) and I have again Unhandled Rejection Warnings, which are not errors however… but I have the feeling they are related to the problem.

        (node:25288) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error
        0|mm       | (node:25288) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
        0|mm       | (node:25288) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error
        

        I only get these when I activate this module

        How to troubleshoot modules
        MMM-soccer v2, MMM-AVStock

        Mykle1M 1 Reply Last reply Reply Quote 1
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @lavolp3
          last edited by

          @lavolp3 said in Random Fact:

          I only get these when I activate this module

          I’m not seeing that at all and I have plenty of modules loading along with it. Have you tried running this module by itself?

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • joela85J Offline
            joela85
            last edited by

            Is there a config option to show/hide the “Random Fact” title if you just want the fact?
            Alternatively, would positioning and colour customisation of the title be done in CSS?

            Mykle1M 1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @joela85
              last edited by

              @joela85

              Both can be achieved in custom.css file

              .MMM-rfacts .title {
                  display:none;
                  (or positioning and colour customisation)
              }
              
              .MMM-rfacts .description  {
                  (positioning and colour customisation code here)
              }

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 3
              • joela85J Offline
                joela85
                last edited by

                Great, thank you. I will take a look at that when I have a little bit of spare time.

                1 Reply Last reply Reply Quote 0
                • R Offline
                  Ramez @Mykle1
                  last edited by Ramez

                  @mykle1 yep, it does work ONLY when set to english but other languages has a problem as stated here due to error in promise.all() function Here …please try to change your language to any other to confirm the error and let us know.

                  @lavolp3 it’s the same error of mine.

                  Mykle1M 1 Reply Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @Ramez
                    last edited by

                    @ramez

                    Ahh ok. I’m sure the author will address the issue when he has time.

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 0
                    • cowboysdudeC Offline
                      cowboysdude Module Developer
                      last edited by cowboysdude

                      Is fixed…git pull…enjoy your weekend. Thanks @Mykle1

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        dirkie
                        last edited by

                        I’m getting the same issues.
                        entry in config:
                        {
                        disabled: false,
                        module: ‘MMM-rfacts’,
                        position: ‘bottom_bar’
                        },
                        but it only shows “Ein Tatsache bekommen…”. I did “git pull” today and I am up to date.

                        Any hint?

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