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-GQuotes

    Scheduled Pinned Locked Moved Entertainment
    62 Posts 5 Posters 61.6k Views 6 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.
    • P Offline
      pauabaer
      last edited by

      @Mykle1 said in MMM-GQuotes:

      As did I.

      Me too.

      1 Reply Last reply Reply Quote 1
      • FistandantilusF Offline
        Fistandantilus
        last edited by

        @cowboysdude: this is exactly the procedure I was following. Could it probably be caused by some shared ressources with another module?

        The following modules are installed:

        iFrame
        MMM-FHEM
        MMM-nasaastropic
        MMM-SystemStats
        MMM-iCloud-Client
        MMM-RadioDe
        MMM-GQuotes

        F.

        1 Reply Last reply Reply Quote 0
        • FistandantilusF Offline
          Fistandantilus
          last edited by

          Just tested with only GQuotes activated - screen stays black.
          The following error shows up:

          0_1493923829692_Bildschirmfoto 2017-05-04 um 20.49.04.png

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

            @Fistandantilus I can’t begin to imagine what the issue is. You’re the only one having it. Three of us have uninstalled and reinstalled the module and no one is getting any errors.

            There is the module running with other modules and my developers window… no errors.

            So unless it’s conflicting with another module I don’t have an answer for you.

            0_1493932813886_Capture.PNG

            1 Reply Last reply Reply Quote 0
            • FistandantilusF Offline
              Fistandantilus
              last edited by Fistandantilus

              I´m using a RPi 2 B+ with the latest Jessie release. In addidion to MM2 I have installed midnight commander, x11vnc, cec-utils and xscreensaver.

              Does the error give any hint what I could look at?

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

                No that error is a MM error… Cannot read property ‘appendChild’ of undefined and ‘getElementByClassName’ of null…

                It’s a getDom function error but like I said unless there’s a conflict of some type… do me a favor and open the ‘package.json’ file you have with GQuotes and tell me what the dependencies say…

                1 Reply Last reply Reply Quote 0
                • FistandantilusF Offline
                  Fistandantilus
                  last edited by

                  "qs-iconv": "^1.0.4",
                  "request": "^2.81.0",
                  "xml2js": "^0.4.17"
                  
                  1 Reply Last reply Reply Quote 0
                  • cowboysdudeC Offline
                    cowboysdude Module Developer
                    last edited by

                    OK that looks good… you have the newest version…

                    What I would do is run GQuotes and disable all the other modules… and enable one at a time until you get a conflict… that may go a long way to helping figure out what’s wrong here.

                    1 Reply Last reply Reply Quote 0
                    • FistandantilusF Offline
                      Fistandantilus
                      last edited by

                      That is what I already did. Just running GQuote itself without other modules also shows the mentioned error.

                      1 Reply Last reply Reply Quote 0
                      • FistandantilusF Offline
                        Fistandantilus
                        last edited by

                        Just run a “npm outdated” with the following result:

                        Package Current Wanted Latest Location
                        electron 1.6.6 1.6.8 1.6.6 magicmirror
                        grunt-markdownlint 1.0.33 1.0.37 1.0.37 magicmirror
                        iconv-lite 0.4.16 0.4.17 0.4.17 magicmirror

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

                          @Fistandantilus said in MMM-GQuotes:

                          qs-iconv

                          Yes but if you go into the MMM-GQuote dir and run “npm outdated” it returns nothing… soooooo that’s not the issue…

                          iconv-lite only appears when you run it from the MagicMirror root dir…

                          Which means GQuotes is using all the latest version of npm modules…

                          This is my config:
                          {
                          module: ‘MMM-GQuotes’,
                          position: ‘top_left’,
                          config: {
                          maxWidth: “100%”,
                          header: “Zitat des Tages”,
                          }
                          },

                          I cannot find anything wrong with the module that would cause that error.

                          1 Reply Last reply Reply Quote 0
                          • FistandantilusF Offline
                            Fistandantilus
                            last edited by Fistandantilus

                            Same as my config:
                            {
                            module: ‘MMM-GQuotes’,
                            position: ‘top_right’,
                            config: {
                            maxWidth: “100%”,
                            header: “Zitat des Tages”,
                            }
                            },

                            Maybe we find some other users for testing. Cannot imagine that I´am the only one…

                            cowboysdudeC Mykle1M 2 Replies Last reply Reply Quote 0
                            • cowboysdudeC Offline
                              cowboysdude Module Developer @Fistandantilus
                              last edited by cowboysdude

                              @Fistandantilus So far you are the only one… if you look above there are others testing it… they are having no issues either…

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

                                @Fistandantilus said in MMM-GQuotes:

                                Maybe we find some other users for testing. Cannot imagine that I´am the only one…

                                I don’t see anything wrong with this module. It does not report any errors in the console or the terminal. It does not affect other modules. See my picture below. GQuotes is running happily in between two other modules. Perhaps there was some failure in your install of MM, or the Pi you are using. Have you changed any of the system or module files?
                                0_1493944666811_test.JPG

                                Create a working config
                                How to add modules

                                1 Reply Last reply Reply Quote 1
                                • FistandantilusF Offline
                                  Fistandantilus
                                  last edited by

                                  Hi guys,

                                  I just found the reason that was causing the error. There was a typo in the position in the config :face_palm:
                                  Sorry for causing such trouble! Now it is working like a charm :)

                                  F.

                                  cowboysdudeC 1 Reply Last reply Reply Quote 2
                                  • P Offline
                                    pauabaer
                                    last edited by

                                    That’s good @Fistandantilus :))

                                    @cowboysdude i noticed today, that the quote did not updated. Any suggestion why?

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

                                      Wow . . . and . . . wow

                                      Create a working config
                                      How to add modules

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

                                        @Fistandantilus LOL well it happens…

                                        1 Reply Last reply Reply Quote 0
                                        • P Offline
                                          pauabaer
                                          last edited by

                                          hi @cowboysdude
                                          at which time does the quotes getting updated? does it change at a specific time? depends this time on your timezone?

                                          every morning (CEST) i see the same quote like in the evening. at the homepage it is getting updated at 02.00 a.m. that would be nice if your module is getting updated at the same time. so i see each morning the new quote.

                                          is this possible?

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

                                            @pauabaer It checks the date on the file…

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 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