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.

    Sentences not loaded in hello-Lucy

    Scheduled Pinned Locked Moved Troubleshooting
    19 Posts 2 Posters 2.3k Views 3 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.
    • N Offline
      Nicodil
      last edited by

      It looks like it is reading now the sentences.json. Im not sure why, the error was not shown anymore after a few restarts and changes.

      BUT still Lucy understands only nonsence, only the words in the words.json…
      The Array of the sentences is there, like in your picture, so it is read.

      She still cannot understand “Show modules” or “Hide Modules”, only words like “the”, “who” , …

      Any idea?

      1 Reply Last reply Reply Quote 0
      • N Offline
        Nicodil
        last edited by Nicodil

        @sdetweil Your changes creating some errors for some reason. Exactly the same line (15):

        ef69f98d-4bd2-4ee0-984c-0085a5864c0b-image.png

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

          @nicodil Mykle has updated the repo

          so you can git pull to update

          but u need to restore the file first

          in the module folder do

          git checkout HelloLucy.js
          

          then

          git pull
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          N 1 Reply Last reply Reply Quote 0
          • N Offline
            Nicodil @sdetweil
            last edited by

            Hi @sdetweil ,
            im sorry to say that but this is an error after the Update.

            ab53487e-4eab-4527-8c51-82db9254ba62-image.png

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

              @nicodil ok, so you will have to go into the developers window to help me

              ctrl-shift-i
              select the sources tab
              find the module in the left nav, and Hello-Lucy.js
              and click the number on the left column
              for line 15 var sfn=

              then hit f5 refresh
              it will stop at line 15, then using the mouse hove over the .src of document.currentSrc.src

              take a screen shot of that

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              N 1 Reply Last reply Reply Quote 0
              • N Offline
                Nicodil @sdetweil
                last edited by

                @sdetweil said in Sentences not loaded in hello-Lucy:

                d the module in the left nav, and

                Thanks for your time and help!

                aa2ef5df-b4ec-4080-b1f0-483c318a6a82-image.png

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

                  @nicodil ok, then tap the button next o the blue arrow >

                  then hover over sfn

                  then put stops on line 9 and 22 and hit run (blue arrow)

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  N 1 Reply Last reply Reply Quote 0
                  • N Offline
                    Nicodil @sdetweil
                    last edited by

                    @sdetweil
                    f8d02dbf-023d-4344-ac2e-88d9352e7baf-image.png

                    3e519fa0-919d-45c9-911b-8ac11ccd84ec-image.png

                    It works fine when i dont load the RemoteControl, no error -Module… But the error with the RemoteControl is pointing to line 15, thats strange…

                    b2f65f49-11d7-4936-9dcc-20c23ba130a8-image.png

                    1 Reply Last reply Reply Quote 0
                    • 1
                    • 2
                    • 2 / 2
                    • 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