Read the statement by Michael Teeuw here.
[MMM-JaST] Just another Stock Ticker (new: version 2.x)
-
@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.
-
M mishman referenced this topic on
-
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 $ -
@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
-
@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 -
@sdetweil
I have doubled swap space and added heap settings in config.js but it did not change anything, Still same crash as beforeMaybe 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 $ -
@leonids ok it’s something else
-
@leonids do you get this error during module installation or during runtime?
-
@Jalibu
I get error when I try “npm install” from MMM-JaST directory -
This post is deleted! -
@leonids yes, I guess 1G RAM is not enough.
-
Hello @Jalibu ,
many thanks for this great module.
I lately upgrade the module to get rid of the Yahoo crumb error, but I still get an error like:
1|mm | [07.05.2024 09:04.57.536] [WARN]
1|mm | API request for MSFT failed: request to https://query2.finance.yahoo.com/v10/finance/quoteSummary/MSFT?formatted=false&modules=price&crumb=EIJ.XkWSxQd failed, reason: connect ECONNREFUSED 0.0.0.0:443Any idea on how to fix this ?
Many thanks
Clas
-
@Askedal
have you tried to delete and re-clone the module with a fresh npm install? -
Hi @Jalibu,
yes, I did a uninstall, wiped the directory and then re-cloned the module, but the error is still the same.
Thanks
Clas -
@Askedal please open an issue on GitHub and provide all the information asked.
-
@Jalibu I figured it out, I put in the query2.yahoo… page in my pihole blacklist several years ago. After taking it out it worked for some time.
Now it works from time to time, when it is not working I see these errors in the log:
[14.05.2024 22:45.58.221] [WARN] API request for MSFT failed: request to https://finance.yahoo.com/quote/AAPL failed, reason: connect ENETUNREACH 87.248.119.252:443 - Local (0.0.0.0:0)
I have MSFT (Microsoft) in my list, but not AAPL (Apple), so I don’t know where the error is coming from.
Many thanks for your help
-
@Askedal please open an issue on GitHub and provide all the information asked.
-
@Jalibu What information do you need ? I don’t see any description in GitHub what should be provided when opening an issue. Does MMM-Jast writing a special log or so ?
-
-
@MZ-BER What exactly did you enter for ETFs so that they would be displayed? I don’t have any stocks, just five ETFs in my savings. Can I have those displayed as well?
How does this work, for example: WKN A1JMDF ?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login