MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-eswordoftheday not showing words

    Troubleshooting
    4
    9
    255
    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.
    • R
      RGN01 last edited by

      MMM-eswordoftheday has been working fine for a few weeks but suddenly it does not show any Spanish words. When MM starts up it says ‘Spanish Word of the Day’ and ‘Loading’ and then it seems to time out and replace ‘Loading’ with the 1. and 2. where the examples were - but no Spanish words, English translations or examples.

      The Pi can access https://www.spanishdict.com/wordoftheday from the Chromium browser so it is not a network access issue, I don’t think.

      I’ve removed and re-installed MMM-eswordoftheday but that didn’t help.

      Does anyone have any suggestions for correcting this, please?

      Thank you!

      SpanishWordOfTheDay.png

      1 Reply Last reply Reply Quote 0
      • R
        RGN01 last edited by

        Being a novice at MM and js, I’m slowly building my knowledge while trying to figure this out!

        I’ve discovered the Developers Window but am not yet clear on what all it does!

        I have found this, though, and it seems to indicate that the return from https://www.spanishdict.com/wordoftheday is blank / null.

        SpanishWordOfTheDay1.png

        My current hypothesis is that the website has changed something but I am pretty much going by trial and error as I’m way out of my depth so if anyone can throw any light I’d be very grateful!

        S 1 Reply Last reply Reply Quote 1
        • S
          sdetweil @RGN01 last edited by

          @rgn01 very good detective work!

          now we need the module author to figure out how to fix this.

          u can open an issue on the module github page

          Sam

          Create a working config
          How to add modules

          R 1 Reply Last reply Reply Quote 0
          • R
            RGN01 @sdetweil last edited by

            @sdetweil thank you. Yup, I figured that out, too! A steep learning curve but well worth it!

            As you say, hopefully the module author can assist. 🤞

            R 1 Reply Last reply Reply Quote 0
            • R
              RGN01 @RGN01 last edited by

              Author (@daniel-windsor) has responded on the Git issue I logged - and has said he will try to fix - so 🤞

              https://github.com/daniel-windsor/MMM-eswordoftheday/issues/2

              Thanks all!

              R 1 Reply Last reply Reply Quote 0
              • R
                RGN01 @RGN01 last edited by

                Unfortunately I have not heard from Daniel again. I have tried editing the code but am waaaaay out of my depth!

                Does anyone know of an alternative, or be willing to have a go to fix this, please?

                R 1 Reply Last reply Reply Quote 0
                • R
                  RGN01 @RGN01 last edited by

                  Great news - Daniel has fixed it and has the details on his GitHub …

                  Fix was so easy to implement once he posted that. I simply edited the updated the node_helper.js file as follows:

                  //const container = $(".entry--1qTEOKKt")[0];
                  const container = $("._1qTEOKKt")[0];
                  

                  Then rebooted.

                  @daniel-windsor, thank you, sir!

                  1 Reply Last reply Reply Quote 0
                  • S
                    shurtugal last edited by

                    @daniel-windsor it appears the site has changed once again. I have tried using your module and it is not working. Just showing the 1. and 2. followed by blanks. I have tried searching for the specific container that your node_helper.js file is pulling from but I cannot. A little help please?

                    mumblebaj 1 Reply Last reply Reply Quote 0
                    • mumblebaj
                      mumblebaj Project Sponsor @shurtugal last edited by mumblebaj

                      @shurtugal I have forked the module and made some changes and it is working. You can clone my fork until I submit the PR to the module creator and he accepts the changes. Not sure if this will fix the issue of things changing in future but fixes the issue for now.

                      a730e80c-0b8d-4e6c-95ee-51109f4d8c34-image.png

                      You can find the fork here.
                      https://github.com/mumblebaj/MMM-eswordoftheday.git

                      1 Reply Last reply Reply Quote 1
                      • 1 / 1
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy