eth-netstats icon indicating copy to clipboard operation
eth-netstats copied to clipboard

Error: [$interpolate:interr]

Open headyj opened this issue 7 years ago • 5 comments
trafficstars

Hello,

I'm having some issues on the dashboard. It looks like the data are not properly refreshed (I have to manually restart the dashboard to update it) and the console is sending a lot of error logs like this one:

netstats.min.js:110 Error: [$interpolate:interr] http://errors.angularjs.org/1.2.28/$interpolate/interr?p0=%7B%7B%20lastDifficulty%20%7C%20totalDifficultyFilter%20%7D%7D&p1=TypeError%3A%20result.toFixed%20is%20not%20a%20function at netstats.min.js:24 at Object.p (netstats.min.js:98) at h.$digest (netstats.min.js:128) at h.$apply (netstats.min.js:131) at netstats.min.js:362 (anonymous) @ netstats.min.js:110 (anonymous) @ netstats.min.js:86 p @ netstats.min.js:99 $digest @ netstats.min.js:128 $apply @ netstats.min.js:131 (anonymous) @ netstats.min.js:362

Could you please help me fixing this issue?

EDIT: the corrected link leads to this page: https://docs.angularjs.org/error/$interpolate/interr?p0=%7B%7B%20lastDifficulty%20%7C%20totalDifficultyFilter%20%7D%7D&p1=TypeError:%20result.toFixed%20is%20not%20a%20function

Thanks

headyj avatar Aug 10 '18 07:08 headyj

I am seeing the same issue.is there any fix for this ?

nelaturuk avatar Aug 29 '18 17:08 nelaturuk

TypeError: result.toFixed is not a function I would check to make sure that call is returning a valid result and not null or undefined

mikeyb avatar Aug 29 '18 19:08 mikeyb

Same issue here, any updates?

Im using the latest version

marcosmartinez7 avatar Dec 11 '18 13:12 marcosmartinez7

Does it also happen with https://github.com/goerli/ethstats-server ?

5chdn avatar Dec 11 '18 21:12 5chdn

This happens since the filter function doesn't check the input type, adding a simple type test would address this issue.

ghost avatar Jun 08 '22 23:06 ghost