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

No Web UI with MMM-FastNotes

Scheduled Pinned Locked Moved Solved Troubleshooting
20 Posts 3 Posters 1.0k 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 @rvnbrg
    last edited by Jul 26, 2024, 5:36 PM

    @rvnbrg ok, looking at the code, it looks like there is a python script that provides that UI

    so, in the module folder do

    python3 FastNotes.py --host 192.168.178.30 --port 5000 --debug

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    R 1 Reply Last reply Jul 26, 2024, 5:39 PM Reply Quote 0
    • R Offline
      rvnbrg @sdetweil
      last edited by Jul 26, 2024, 5:39 PM

      @sdetweil That gives me this:

      xavier@raspberrypi:~/MagicMirror/modules/MMM-FastNotes $ python3 FastNotes.py --host 192.168.178.30 --port 5000 --debug
      Traceback (most recent call last):
      File “/home/xavier/MagicMirror/modules/MMM-FastNotes/FastNotes.py”, line 2, in
      from backend.fast_notes import start
      File “/home/xavier/MagicMirror/modules/MMM-FastNotes/backend/fast_notes.py”, line 1, in
      import flask
      File “/usr/local/lib/python3.11/dist-packages/flask/init.py”, line 14, in
      from jinja2 import escape
      ImportError: cannot import name ‘escape’ from ‘jinja2’ (/usr/lib/python3/dist-packages/jinja2/init.py)

      S M 2 Replies Last reply Jul 26, 2024, 5:47 PM Reply Quote 0
      • S Offline
        sdetweil @rvnbrg
        last edited by Jul 26, 2024, 5:47 PM

        @rvnbrg said in No Web UI with MMM-FastNotes:

        ImportError: cannot import name ‘escape’ from ‘jinja2’ (/usr/lib/python3/dist-packages/jinja2/init.py)

        that explains the error

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        R 1 Reply Last reply Jul 26, 2024, 5:58 PM Reply Quote 0
        • R Offline
          rvnbrg @sdetweil
          last edited by Jul 26, 2024, 5:58 PM

          @sdetweil how can I resolve that?

          S 1 Reply Last reply Jul 26, 2024, 6:04 PM Reply Quote 0
          • S Offline
            sdetweil @rvnbrg
            last edited by Jul 26, 2024, 6:04 PM

            @rvnbrg that I don’t know

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            R 1 Reply Last reply Jul 26, 2024, 6:32 PM Reply Quote 0
            • R Offline
              rvnbrg @sdetweil
              last edited by Jul 26, 2024, 6:32 PM

              @sdetweil Thank you for your help so far

              S 1 Reply Last reply Jul 26, 2024, 6:38 PM Reply Quote 0
              • S Offline
                sdetweil @rvnbrg
                last edited by Jul 26, 2024, 6:38 PM

                @rvnbrg i would ask the author

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                R 1 Reply Last reply Jul 26, 2024, 7:06 PM Reply Quote 0
                • R Offline
                  rvnbrg @sdetweil
                  last edited by Jul 26, 2024, 7:06 PM

                  @sdetweil i did so but no response yet

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    mumblebaj Module Developer @rvnbrg
                    last edited by Jul 28, 2024, 11:26 AM

                    @rvnbrg Jinja is a dependency of Flask and Flask V1.X.X uses the escape module from Jinja, however recently support for the escape module was dropped in newer versions of Jinja

                    To fix this issue, simply update to the newer version of Flask V2.X.X in your requirements.txt where Flask no longer uses the escape module from Jinja.

                    I see there is a requirements.txt where the version of Flask is specified. Maybe updating that to 2.1.1, which is the recommended version that no longer has a dependency on escape would resolve this.

                    This is all just guessing. Was trying to figure out how this module hangs together. 🫣

                    Check out my modules at: https://github.com/mumblebaj?tab=repositories

                    R 1 Reply Last reply Jul 28, 2024, 8:07 PM Reply Quote 1
                    • R Offline
                      rvnbrg @mumblebaj
                      last edited by Jul 28, 2024, 8:07 PM

                      @mumblebaj YES! Got it working! Thank you very very much

                      1 Reply Last reply Reply Quote 2
                      • S sdetweil has marked this topic as solved on Jul 28, 2024, 8:30 PM
                      • 1
                      • 2
                      • 2 / 2
                      2 / 2
                      • First post
                        15/20
                        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