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

[MMM-JaST] Just another Stock Ticker (new: version 2.x)

Scheduled Pinned Locked Moved Utilities
166 Posts 37 Posters 171.0k Views 39 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.
  • J Offline
    Jalibu Module Developer @Jalibu
    last edited by Apr 17, 2024, 8:49 AM

    Dear fans and users of this module,

    unfortunately Yahoo has switched off the Stock API in its previous form. The module is therefore currently unable to retrieve data (an error appears in the log).

    The author of the library that Jast uses to retrieve data from Yahoo is working on a solution. At the moment, however, it is unclear whether there will/can be one.

    I will monitor the progress of the development and keep you informed.

    I am sorry that there is nothing else I can do at the moment but wait and see.

    J 1 Reply Last reply Apr 17, 2024, 3:55 PM Reply Quote 1
    • J Offline
      Jalibu Module Developer @Jalibu
      last edited by Jalibu Apr 17, 2024, 4:21 PM Apr 17, 2024, 3:55 PM

      Update: The issue was fixed.

      Please read the version’s release notes for instructions for updating this module.

      S L 2 Replies Last reply Apr 17, 2024, 4:28 PM Reply Quote 1
      • S Offline
        sethzarny @Jalibu
        last edited by Apr 17, 2024, 4:28 PM

        @Jalibu Thank you for making the change to resolve the API format modification made by Yahoo. My timing was perfect. I was diagnosing the issue on my mirror when you updated your changes. They are working perfectly. Appreciate it.

        1 Reply Last reply Reply Quote 0
        • M mishman referenced this topic on Apr 17, 2024, 9:10 PM
        • L Offline
          leonids @Jalibu
          last edited by Apr 19, 2024, 12:25 AM

          @Jalibu

          I had tried to install MMM-Jast module several times but always get this error:
          I run Magic Mirror on Raspberry Pi2B . Is this a problem?

          (???) ? idealTree:MMM-Jast: sill idealTree buildDeps
          <— Last few GCs —>

          [28023:0x57d41a8] 57937 ms: Mark-Compact (reduce) 225.8 (233.7) -> 225.7 (233.9) MB, 270.99 / 0.02 ms (+ 84.6 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 445 ms) (average mu = 0.932, current mu = 0.608) a[28023:0x57d41a8] 58305 ms: Mark-Compact (reduce) 226.1 (233.9) -> 226.1 (234.4) MB, 356.64 / 0.00 ms (average mu = 0.834, current mu = 0.030) allocation failure; scavenge might not succeed

          <— JS stacktrace —>

          FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
          ----- Native stack trace -----

          Aborted
          leonid@magicmirror:~/MagicMirror/modules/MMM-Jast $

          S J 2 Replies Last reply Apr 19, 2024, 12:57 AM Reply Quote 0
          • S Offline
            sdetweil @leonids
            last edited by sdetweil Apr 19, 2024, 12:58 AM Apr 19, 2024, 12:57 AM

            @leonids you need to increase the swap space size

            and maybe the heap size

            for the heap size in config.js before the
            modules:[

            add

            electronSwitches:{ "js-flags": "--max-old-space-size=8192"},
            

            that will allocate 8 Meg of heap. you can make it bigger…

            make sure you increase the swap space

            I’ll leave that to a Google search for you

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            L 2 Replies Last reply Apr 19, 2024, 1:11 AM Reply Quote 0
            • L Offline
              leonids @sdetweil
              last edited by Apr 19, 2024, 1:11 AM

              @sdetweil
              Thanks,
              I have tried both of these things and nothing helped :(

              leonid@magicmirror:~/MagicMirror/modules/MMM-Jast $ free -h
              total used free shared buff/cache available
              Mem: 922Mi 164Mi 441Mi 8.0Mi 316Mi 695Mi

              1 Reply Last reply Reply Quote 0
              • L Offline
                leonids @sdetweil
                last edited by Apr 19, 2024, 1:40 AM

                @sdetweil
                I have doubled swap space and added heap settings in config.js but it did not change anything, Still same crash as before

                Maybe 1G RAM is too small for this program?

                leonid@magicmirror:~/MagicMirror/modules/MMM-Jast $ free -h
                total used free shared buff/cache available
                Mem: 922Mi 247Mi 221Mi 31Mi 453Mi 589Mi
                Swap: 199Mi 54Mi 145Mi
                leonid@magicmirror:~/MagicMirror/modules/MMM-Jast $

                S 1 Reply Last reply Apr 19, 2024, 3:01 AM Reply Quote 0
                • S Offline
                  sdetweil @leonids
                  last edited by Apr 19, 2024, 3:01 AM

                  @leonids ok it’s something else

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    Jalibu Module Developer @leonids
                    last edited by Apr 19, 2024, 4:30 AM

                    @leonids do you get this error during module installation or during runtime?

                    L 1 Reply Last reply Apr 20, 2024, 12:26 AM Reply Quote 0
                    • L Offline
                      leonids @Jalibu
                      last edited by Apr 20, 2024, 12:26 AM

                      @Jalibu
                      I get error when I try “npm install” from MMM-JaST directory

                      J 2 Replies Last reply Apr 20, 2024, 4:44 AM Reply Quote 0
                      • 1
                      • 2
                      • 13
                      • 14
                      • 15
                      • 16
                      • 17
                      • 15 / 17
                      15 / 17
                      • First post
                        150/166
                        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