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

Sentences not loaded in hello-Lucy

Scheduled Pinned Locked Moved Troubleshooting
19 Posts 2 Posters 2.1k 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.
  • S Offline
    sdetweil @Nicodil
    last edited by Apr 13, 2021, 4:34 PM

    @nicodil that’s the right path.is sentences.json in the module folder?

    computer says no

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    N 1 Reply Last reply Apr 13, 2021, 4:37 PM Reply Quote 0
    • N Offline
      Nicodil @sdetweil
      last edited by Apr 13, 2021, 4:37 PM

      @sdetweil Yes, i posted it in both folders, to get sure:

      ee328471-b8e5-4e55-9d5a-b44dd1399b26-image.png

      1 Reply Last reply Reply Quote 0
      • N Offline
        Nicodil
        last edited by Apr 14, 2021, 7:28 AM

        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 Apr 15, 2021, 12:43 PM Apr 15, 2021, 12:43 PM

          @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 Apr 15, 2021, 12:54 PM Reply Quote 0
          • S Offline
            sdetweil @Nicodil
            last edited by Apr 15, 2021, 12:54 PM

            @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 Apr 15, 2021, 1:13 PM Reply Quote 0
            • N Offline
              Nicodil @sdetweil
              last edited by Apr 15, 2021, 1:13 PM

              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 Apr 15, 2021, 1:22 PM Reply Quote 0
              • S Offline
                sdetweil @Nicodil
                last edited by Apr 15, 2021, 1:22 PM

                @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 Apr 15, 2021, 1:39 PM Reply Quote 0
                • N Offline
                  Nicodil @sdetweil
                  last edited by Apr 15, 2021, 1:39 PM

                  @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 Apr 15, 2021, 1:42 PM Reply Quote 0
                  • S Offline
                    sdetweil @Nicodil
                    last edited by sdetweil Apr 15, 2021, 1:44 PM Apr 15, 2021, 1:42 PM

                    @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 Apr 16, 2021, 8:30 AM Reply Quote 0
                    • N Offline
                      Nicodil @sdetweil
                      last edited by Apr 16, 2021, 8:30 AM

                      @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
                      2 / 2
                      • First post
                        14/19
                        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