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

Syntax error in python-shell

Scheduled Pinned Locked Moved Solved Troubleshooting
7 Posts 2 Posters 1.7k Views 2 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
    last edited by Dec 8, 2018, 9:34 PM

    usually that error means that somehow an object was passed into the JSON.parse() routine, which expects are string…

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • R Offline
      Radu_Stancu
      last edited by Dec 9, 2018, 7:42 PM

      Yea, I kind of found out what is triggering it, however I`m not sure how to stop it. The flick Large module is sending direction == OUTPUT messages continuously for some reason. Any idea what this is or how to make a filter to stop it?

      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil
        last edited by Dec 10, 2018, 2:42 AM

        Sorry know nothing about flick

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • R Offline
          Radu_Stancu
          last edited by Dec 10, 2018, 8:05 AM

          https://forum.magicmirror.builders/topic/8907/flick-large-gesture-control

          Here is the code I`ve written and adapted to work as MMM module.

          1 Reply Last reply Reply Quote 0
          • R Offline
            Radu_Stancu
            last edited by Dec 10, 2018, 6:12 PM

            Solved. It was actually the GPIO library for the ASUS tinker board, its RPi.GPIO implementation actually. It had a useless printf that sent that annoying message that messed up the json message. I removed that line and rebuilt from source and now it`s working flawlessly. Thanks.

            S 1 Reply Last reply Dec 10, 2018, 6:49 PM Reply Quote 1
            • S Offline
              sdetweil @Radu_Stancu
              last edited by Dec 10, 2018, 6:49 PM

              @radu_stancu great debugging! and thanks for the detailed feedback… someone else might fall into this same trouble

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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