home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.65k stars 30.41k forks source link

constant "script error" logging, possibly related to javascript frontend #14705

Closed Human closed 6 years ago

Human commented 6 years ago

Home Assistant release with the issue: 0.70.0

Last working Home Assistant release (if known): 0.69.x

Operating environment (Hass.io/Docker/Windows/etc.): Ubuntu 18.04 on Intel NUC

Component/platform: frontend

Description of problem: While I can discern no loss of function, the logs indicate that something is wrong with the frontend. I get long and fairly constant error logs.

Traceback (if applicable):

This is a single log line. They happen about once per second.

2018-05-30 09:43:37 ERROR (MainThread) [frontend.js.latest.201805264] data:text/javascript;charset=utf-8,!function()%7B%22use%20strict%22%3Bfunction%20t(t%2Ce)%7Blet%20a%3Dt%5Be%5D%3Bif(a)%7Bif(!t.hasOwnProperty(e))%7Ba%3Dt%5Be%5D%3DObject.create(t%5Be%5D)%3Bfor(let%20t%20in%20a)%7Blet%20e%3Da%5Bt%5D%2Cr%3Da%5Bt%5D%3DArray(e.length)%3Bfor(let%20t%3D0%3Bt%3Ce.length%3Bt%2B%2B)r%5Bt%5D%3De%5Bt%5D%7D%7D%7Delse%20a%3Dt%5Be%5D%3D%7B%7D%3Breturn%20a%7Dfunction%20e(t%2Ce%2Cr%2Ci%2Cs%2Cn)%7Bif(e)%7Blet%20o%3D!1%2Cl%3DE%2B%2B%3Bfor(let%20h%20in%20r)a(t%2Ce%2Cl%2Ch%2Cr%2Ci%2Cs%2Cn)%26%26(o%3D!0)%3Breturn%20o%7Dreturn!1%7Dfunction%20a(t%2Ce%2Ca%2Cr%2Ci%2Cs%2Cn%2Co)%7Blet%20l%3D!1%2Ch%3De%5Bn%3FPolymer.Path.root(r)%3Ar%5D%3Bif(h)for(let%20e%2C_%3D0%2Cd%3Dh.length%3B_%3Cd%26%26(e%3Dh%5B_%5D)%3B_%2B%2B)e.info%26%26e.info.lastRun%3D%3D%3Da%7C%7Cn%26%26!function(t%2Ce)%7Bif(e)%7Blet%20a%3De.name%3Breturn%20a%3D%3Dt%7C%7Ce.structured%26%26Polymer.Path.isAncestor(a%2Ct)%7C%7Ce.wildcard%26%26Polymer.Path.isDescendant(a%2Ct)%7Dreturn!0%7D(r%2Ce.trigger)%7C%7C(e.info%26%26(e.info.lastRun%3Da)%2Ce.fn(t%2Cr%2Ci%2Cs%2Ce.info%2Cn%2Co)%2Cl%3D!0)%3Breturn%20l%7Dfunction%20r(t%2Ce%2Ca%2Cr%2Ci)%7Blet%20s%3D%22string%22%3D%3Dtypeof%20i.method%3Ft%5Bi.method%5D%3Ai.method%2Cn%3Di.property%3Bs%3Fs.call(t%2Ct.__data%5Bn%5D%2Cr%5Bn%5D)%3Ai.dynamicFn%7C%7Cconsole.warn(%22observer%20method%20%60%22%2Bi.method%2B%22%60%20not%20defined%22)%7Dfunction%20i(t%2Ce%2Cr%2Ci%2Cn)%7Blet%20o%2Cl%3Dt%5BC.NOTIFY%5D%2Ch%3DE%2B%2B%3Bfor(let%20_%20in%20e)e%5B_%5D%26%26(l%26%26a(t%2Cl%2Ch%2C_%2Cr%2Ci%2Cn)%3Fo%3D!0%3An%26%26function(t%2Ce%2Ca)%7Blet%20r%3DPolymer.Path.root(e)%3Bif(r!%3D%3De)%7Blet%20i%3DPolymer.CaseMap.camelToDashCase(r)%2B%22-changed%22%3Breturn%20s(t%2Ci%2Ca%5Be%5D%2Ce)%2C!0%7Dreturn!1%7D(t%2C_%2Cr)%26%26(o%3D!0))%3Blet%20_%3Bo%26%26(_%3Dt.__dataHost)%26%26_._invalidateProperties%26%26_._invalidateProperties()%7Dfunction%20s(t%2Ce%2Ca%2Cr)%7Blet%20i%3D%7Bvalue%3Aa%2CqueueProperty%3A!0%7D%3Br%26%26(i.path%3Dr)%2Ct.dispatchEvent(new%20CustomEvent(e%2C%7Bdetail%3Ai%7D))%7Dfunction%20n(t%2Ce%2Ca%2Cr%2Ci%2Cn)%7Blet%20o%3D(n%3FPolymer.Path.root(e)%3Ae)!%3De%3Fe%3Anull%2Cl%3Do%3FPolymer.Path.get(t%2Co)%3At.__data%5Be%5D%3Bo%26%26void%200%3D%3D%3Dl%26%26(l%3Da%5Be%5D)%2Cs(t%2Ci.eventName%2Cl%2Co)%7Dfunction%20o(t%2Ce%2Ca%2Cr%2Ci)%7Blet%20s%3Dt.__data%5Be%5D%3BPolymer.sanitizeDOMValue%26%26(s%3DPolymer.sanitizeDOMValue(s%2Ci.attrName%2C%22attribute%22%2Ct))%2Ct._propertyToAttribute(e%2Ci.attrName%2Cs)%7Dfunction%20l(t%2Ce%2Ca%2Cr%2Ci)%7Blet%20s%3Df(t%2Ce%2Ca%2Cr%2Ci)%2Cn%3Di.methodInfo%3Bt.__dataHasAccessor%26%26t.__dataHasAccessor%5Bn%5D%3Ft._setPendingProperty(n%2Cs%2C!0)%3At%5Bn%5D%3Ds%7Dfunction%20h(t%2Ce%2Ca%2Cr%2Ci%2Cs%2Cn)%7Ba.bindings%3Da.bindings%7C%7C%5B%5D%3Blet%20o%3D%7Bkind%3Ar%2Ctarget%3Ai%2Cparts%3As%2Cliteral%3An%2CisCompound%3A1!%3D%3Ds.length%7D%3Bif(a.bindings.push(o)%2Cfunction(t)%7Breturn%20Boolean(t.target)%26%26%22attribute%22!%3Dt.kind%26%26%22text%22!%3Dt.kind%26%26!t.isCompound%26%26%22%7B%22%3D%3D%3Dt.parts%5B0%5D.mode%7D(o))%7Blet%7Bevent%3At%2Cnegate%3Ae%7D%3Do.parts%5B0%5D%3Bo.listenerEvent%3Dt%7C%7Cg.camelToDashCase(i)%2B%22-changed%22%2Co.listenerNegate%3De%7Dlet%20l%3De.nodeInfoList.length%3Bfor(let%20a%3D0%3Ba%3Co.parts.length%3Ba%2B%2B)%7Blet%20r%3Do.parts%5Ba%5D%3Br.compoundIndex%3Da%2Cfunction(t%2Ce%2Ca%2Cr%2Ci)%7Bif(!r.literal)if(%22attribute%22%3D%3D%3Da.kind%26%26%22-%22%3D%3D%3Da.target%5B0%5D)console.warn(%22Cannot%20set%20attribute%20%22%2Ba.target%2B'%20because%20%22-%22%20is%20not%20a%20valid%20attribute%20starting%20character')%3Belse%7Blet%20s%3Dr.dependencies%2Cn%3D%7Bindex%3Ai%2Cbinding%3Aa%2Cpart%3Ar%2Cevaluator%3At%7D%3Bfor(let%20a%3D0%3Ba%3Cs.length%3Ba%2B%2B)%7Blet%20r%3Ds%5Ba%5D%3B%22string%22%3D%3Dtypeof%20r%26%26((r%3DP(r)).wildcard%3D!0)%2Ct._addTemplatePropertyEffect(e%2Cr.rootProperty%2C%7Bfn%3A_%2Cinfo%3An%2Ctrigger%3Ar%7D)%7D%7D%7D(t%2Ce%2Co%2Cr%2Cl)%7D%7Dfunction%20_(t%2Ce%2Ca%2Cr%2Ci%2Cs%2Cn)%7Blet%20o%3Dn%5Bi.index%5D%2Cl%3Di.binding%2Ch%3Di.part%3Bif(s%26%26h.source%26%26e.length%3Eh.source.length%26%26%22property%22%3D%3Dl.kind%26%26!l.isCompound%26%26o.__isPropertyEffectsClient%26%26o.__dataHasAccessor%26%26o.__dataHasAccessor%5Bl.target%5D)%7Blet%20r%3Da%5Be%5D%3Be%3DPolymer.Path.translate(h.source%2Cl.target%2Ce)%2Co._setPendingPropertyOrPath(e%2Cr%2C!1%2C!0)%26%26t._enqueueClient(o)%7Delse%7B!function(t%2Ce%2Ca%2Cr%2Ci)%7Bi%3Dfunction(t%2Ce%2Ca%2Cr)%7Bif(a.isCompound)%7Blet%20i%3Dt.__dataCompoundStorage%5Ba.target%5D%3Bi%5Br.compoundIndex%5D%3De%2Ce%3Di.join(%22%22)%7Dreturn%22attribute%22!%3D%3Da.kind%26%26(%22textContent%22!%3D%3Da.target%26%26(%22value%22!%3D%3Da.target%7C%7C%22input%22!%3D%3Dt.localName%26%26%22textarea%22!%3D%3Dt.localName)%7C%7C(e%3Dvoid%200%3D%3De%3F%22%22%3Ae))%2Ce%7D(e%2Ci%2Ca%2Cr)%2CPolymer.sanitizeDOMValue%26%26(i%3DPolymer.sanitizeDOMValue(i%2Ca.target%2Ca.kind%2Ce))%3Bif(%22attribute%22%3D%3Da.kind)t._valueToNodeAttribute(e%2Ci%2Ca.target)%3Belse%7Blet%20r%3Da.target%3Be.__isPropertyEffectsClient%26%26e.__dataHasAccessor%26%26e.__dataHasAccessor%5Br%5D%3Fe%5BC.READ_ONLY%5D%26%26e%5BC.READ_ONLY%5D%5Br%5D%7C%7Ce._setPendingProperty(r%2Ci)%26%26t._enqueueClient(e)%3At._setUnmanagedPropertyToNode(e%2Cr%2Ci)%7D%7D(t%2Co%2Cl%2Ch%2Ci.evaluator._evaluateBinding(t%2Ch%2Ce%2Ca%2Cr%2Cs))%7D%7Dfunction%20d(t%2Ce)%7Blet%7BnodeList%3Aa%2CnodeInfoList%3Ar%7D%3De%3Bif(r.length)for(let%20e%3D0%3Be%3Cr.length%3Be%2B%2B)%7Blet%20i%3Dr%5Be%5D%2Cs%3Da%5Be%5D%2Cn%3Di.bindings%3Bif(n)for(let%20e%3D0%3Be%3Cn.length%3Be%2B%2B)%7Blet%20a%3Dn%5Be%5D%3B!function(t%2Ce)%7Bif(e.isCompound)%7Blet%20a%3Dt.__dataCompoundStorage%7C%7C(t.__dataCompoundStorage%3D%7B%7D)%2Cr%3De.parts%2Ci%3Dnew%20Array(r.length)%3Bfor(let%20t%3D0%3Bt%3Cr.length%3Bt%2B%2B)i%5Bt%5D%3Dr%5Bt%5D.literal%3Blet%20s%3De.target%3Ba%5Bs%5D%3Di%2Ce.literal%26%26%22property%22%3D%3De.kind%26%26(t%5Bs%5D%3De.literal)%7D%7D(s%2Ca)%2Cfunction(t%2Ce%2Ca)%7Bif(a.listenerEvent)%7Blet%20r%3Da.parts%5B0%5D%3Bt.addEventListener(a.listenerEvent%2Cfunction(t)%7B!function(t%2Ce%2Ca%2Cr%2Ci)%7Blet%20s%2Cn%3Dt.detail%2Co%3Dn%26%26n.path%3Bo%3F(r%3DPolymer.Path.translate(a%2Cr%2Co)%2Cs%3Dn%26%26n.value)%3As%3Dt.target%5Ba%5D%2Cs%3Di%3F!s%3As%2Ce%5BC.READ_ONLY%5D%26%26e%5BC.READ_ONLY%5D%5Br%5D%7C%7C!e._setPendingPropertyOrPath(r%2Cs%2C!0%2CBoolean(o))%7C%7Cn%26%26n.queueProperty%7C%7Ce._invalidateProperties()%7D(t%2Ce%2Ca.target%2Cr.source%2Cr.negate)%7D)%7D%7D(s%2Ct%2Ca)%7Ds.__dataHost%3Dt%7D%7Dfunction%20p(t%2Ce%2Ca%2Cr%2Ci%2Cs)%7Bs%3De.static%7C%7Cs%26%26(%22object%22!%3Dtypeof%20s%7C%7Cs%5Be.methodName%5D)%3Blet%20n%3D%7BmethodName%3Ae.methodName%2Cargs%3Ae.args%2CmethodInfo%3Ai%2CdynamicFn%3As%7D%3Bfor(let%20i%2Cs%3D0%3Bs%3Ce.args.length%26%26(i%3De.args%5Bs%5D)%3Bs%2B%2B)i.literal%7C%7Ct._addPropertyEffect(i.rootProperty%2Ca%2C%7Bfn%3Ar%2Cinfo%3An%2Ctrigger%3Ai%7D)%3Bs%26%26t._addPropertyEffect(e.methodName%2Ca%2C%7Bfn%3Ar%2Cinfo%3An%7D)%7Dfunction%20f(t%2Ce%2Ca%2Cr%2Ci)%7Blet%20s%3Dt._methodHost%7C%7Ct%2Cn%3Ds%5Bi.methodName%5D%3Bif(n)%7Blet%20r%3Dfunction(t%2Ce%2Ca%2Cr)%7Blet%20i%3D%5B%5D%3Bfor(let%20s%3D0%2Cn%3De.length%3Bs%3Cn%3Bs%2B%2B)%7Blet%20n%2Co%3De%5Bs%5D%2Cl%3Do.name%3Bif(o.literal%3Fn%3Do.value%3Ao.structured%3Fvoid%200%3D%3D%3D(n%3DPolymer.Path.get(t%2Cl))%26%26(n%3Dr%5Bl%5D)%3An%3Dt%5Bl%5D%2Co.wildcard)%7Blet%20t%3D0%3D%3D%3Dl.indexOf(a%2B%22.%22)%2Ce%3D0%3D%3D%3Da.indexOf(l)%26%26!t%3Bi%5Bs%5D%3D%7Bpath%3Ae%3Fa%3Al%2Cvalue%3Ae%3Fr%5Ba%5D%3An%2Cbase%3An%7D%7Delse%20i%5Bs%5D%3Dn%7Dreturn%20i%7D(t.__data%2Ci.args%2Ce%2Ca)%3Breturn%20n.apply(s%2Cr)%7Di.dynamicFn%7C%7Cconsole.warn(%22method%20%60%22%2Bi.methodName%2B%22%60%20not%20defined%22)%7Dfunction%20c(t)%7Blet%20e%3D%22%22%3Bfor(let%20a%3D0%3Ba%3Ct.length%3Ba%2B%2B)%7Be%2B%3Dt%5Ba%5D.literal%7C%7C%22%22%7Dreturn%20e%7Dfunction%20u(t)%7Blet%20e%3Dt.match(%2F(%5B%5E%5Cs%5D%2B%3F)%5C((%5B%5Cs%5CS%5D*)%5C)%2F)%3Bif(e)%7Blet%20t%3D%7BmethodName%3Ae%5B1%5D%2Cstatic%3A!0%2Cargs%3Ab%7D%3Bif(e%5B2%5D.trim())%7Breturn%20function(t%2Ce)%7Breturn%20e.args%3Dt.map(function(t)%7Blet%20a%3DP(t)%3Breturn%20a.literal%7C%7C(e.static%3D!1)%2Ca%7D%2Cthis)%2Ce%7D(e%5B2%5D.replace(%2F%5C%5C%2C%2Fg%2C%22%26comma%3B%22).split(%22%2C%22)%2Ct)%7Dreturn%20t%7Dreturn%20null%7Dfunction%20P(t)%7Blet%20e%3Dt.trim().replace(%2F%26comma%3B%2Fg%2C%22%2C%22).replace(%2F%5C%5C(.)%2Fg%2C%22%241%22)%2Ca%3D%7Bname%3Ae%2Cvalue%3A%22%22%2Cliteral%3A!1%7D%2Cr%3De%5B0%5D%3Bswitch(%22-%22%3D%3D%3Dr%26%26(r%3De%5B1%5D)%2Cr%3E%3D%220%22%26%26r%3C%3D%229%22%26%26(r%3D%22%23%22)%2Cr)%7Bcase%22'%22%3Acase'%22'%3Aa.value%3De.slice(1%2C-1)%2Ca.literal%3D!0%3Bbreak%3Bcase%22%23%22%3Aa.value%3DNumber(e)%2Ca.literal%3D!0%7Dreturn%20a.literal%7C%7C(a.rootProperty%3DPolymer.Path.root(e)%2Ca.structured%3DPolymer.Path.isPath(e)%2Ca.structured%26%26(a.wildcard%3D%22.*%22%3D%3De.slice(-2)%2Ca.wildcard%26%26(a.name%3De.slice(0%2C-2))))%2Ca%7Dfunction%20m(t%2Ce%2Ca%2Cr)%7Blet%20i%3Da%2B%22.splices%22%3Bt.notifyPath(i%2C%7BindexSplices%3Ar%7D)%2Ct.notifyPath(a%2B%22.length%22%2Ce.length)%2Ct.__data%5Bi%5D%3D%7BindexSplices%3Anull%7D%7Dfunction%20y(t%2Ce%2Ca%2Cr%2Ci%2Cs)%7Bm(t%2Ce%2Ca%2C%5B%7Bindex%3Ar%2CaddedCount%3Ai%2Cremoved%3As%2Cobject%3Ae%2Ctype%3A%22splice%22%7D%5D)%7Dconst%20g%3DPolymer.CaseMap%3Blet%20E%3D0%3Bconst%20C%3D%7BCOMPUTE%3A%22__computeEffects%22%2CREFLECT%3A%22__reflectEffects%22%2CNOTIFY%3A%22__notifyEffects%22%2CPROPAGATE%3A%22__propagateEffects%22%2COBSERVE%3A%22__observeEffects%22%2CREAD_ONLY%3A%22__readOnly%22%7D%2CO%3D%2F%5BA-Z%5D%2F%3Blet%20T%3Bconst%20b%3D%5B%5D%2CN%3Dnew%20RegExp(%22(%5C%5C%5B%5C%5C%5B%7C%7B%7B)%5C%5Cs*(%3F%3A(!)%5C%5Cs*)%3F((%3F%3A%5Ba-zA-Z_%24%5D%5B%5C%5Cw.%3A%24%5C%5C-*%5D*)%5C%5Cs*(%3F%3A%5C%5C(%5C%5Cs*(%3F%3A(%3F%3A(%3F%3A((%3F%3A%5Ba-zA-Z_%24%5D%5B%5C%5Cw.%3A%24%5C%5C-*%5D*)%7C(%3F%3A%5B-%2B%5D%3F%5B0-9%5D*%5C%5C.%3F%5B0-9%5D%2B(%3F%3A%5BeE%5D%5B-%2B%5D%3F%5B0-9%5D%2B)%3F)%7C(%3F%3A(%3F%3A'(%3F%3A%5B%5E'%5C%5C%5C%5C%5D%7C%5C%5C%5C%5C.)*')%7C(%3F%3A%5C%22(%3F%3A%5B%5E%5C%22%5C%5C%5C%5C%5D%7C%5C%5C%5C%5C.)*%5C%22)))%5C%5Cs*)(%3F%3A%2C%5C%5Cs*(%3F%3A((%3F%3A%5Ba-zA-Z_%24%5D%5B%5C%5Cw.%3A%24%5C%5C-*%5D*)%7C(%3F%3A%5B-%2B%5D%3F%5B0-9%5D*%5C%5C.%3F%5B0-9%5D%2B(%3F%3A%5BeE%5D%5B-%2B%5D%3F%5B0-9%5D%2B)%3F)%7C(%3F%3A(%3F%3A'(%3F%3A%5B%5E'%5C%5C%5C%5C%5D%7C%5C%5C%5C%5C.)*')%7C(%3F%3A%5C%22(%3F%3A%5B%5E%5C%22%5C%5C%5C%5C%5D%7C%5C%5C%5C%5C.)*%5C%22)))%5C%5Cs*))*)%3F)%5C%5C)%5C%5Cs*)%3F)(%3F%3A%5D%5D%7C%7D%7D)%22%2C%22g%22)%3BPolymer.PropertyEffects%3DPolymer.dedupingMixin(a%3D%3E%7Bconst%20s%3DPolymer.TemplateStamp(Polymer.PropertyAccessors(a))%3Bclass%20_%20extends%20s%7Bconstructor()%7Bsuper()%2Cthis.__isPropertyEffectsClient%3D!0%2Cthis.__dataCounter%3D0%2Cthis.__dataClientsReady%2Cthis.__dataPendingClients%2Cthis.__dataToNotify%2Cthis.__dataLinkedPaths%2Cthis.__dataHasPaths%2Cthis.__dataCompoundStorage%2Cthis.__dataHost%2Cthis.__dataTemp%2Cthis.__dataClientsInitialized%2Cthis.__data%2Cthis.__dataPending%2Cthis.__dataOld%2Cthis.__computeEffects%2Cthis.__reflectEffects%2Cthis.__notifyEffects%2Cthis.__propagateEffects%2Cthis.__observeEffects%2Cthis.__readOnly%2Cthis.__templateInfo%7Dget%20PROPERTY_EFFECT_TYPES()%7Breturn%20C%7D_initializeProperties()%7Bsuper._initializeProperties()%2Cv.registerHost(this)%2Cthis.__dataClientsReady%3D!1%2Cthis.__dataPendingClients%3Dnull%2Cthis.__dataToNotify%3Dnull%2Cthis.__dataLinkedPaths%3Dnull%2Cthis.__dataHasPaths%3D!1%2Cthis.__dataCompoundStorage%3Dthis.__dataCompoundStorage%7C%7Cnull%2Cthis.__dataHost%3Dthis.__dataHost%7C%7Cnull%2Cthis.__dataTemp%3D%7B%7D%2Cthis.__dataClientsInitialized%3D!1%7D_initializeProtoProperties(t)%7Bthis.__data%3DObject.create(t)%2Cthis.__dataPending%3DObject.create(t)%2Cthis.__dataOld%3D%7B%7D%7D_initializeInstanceProperties(t)%7Blet%20e%3Dthis%5BC.READ_ONLY%5D%3Bfor(let%20a%20in%20t)e%26%26e%5Ba%5D%7C%7C(this.__dataPending%3Dthis.__dataPending%7C%7C%7B%7D%2Cthis.__dataOld%3Dthis.__dataOld%7C%7C%7B%7D%2Cthis.__data%5Ba%5D%3Dthis.__dataPending%5Ba%5D%3Dt%5Ba%5D)%7D_addPropertyEffect(e%2Ca%2Cr)%7Bthis._createPropertyAccessor(e%2Ca%3D%3DC.READ_ONLY)%3Blet%20i%3Dt(this%2Ca)%5Be%5D%3Bi%7C%7C(i%3Dthis%5Ba%5D%5Be%5D%3D%5B%5D)%2Ci.push(r)%7D_removePropertyEffect(e%2Ca%2Cr)%7Blet%20i%3Dt(this%2Ca)%5Be%5D%2Cs%3Di.indexOf(r)%3Bs%3E%3D0%26%26i.splice(s%2C1)%7D_hasPropertyEffect(t%2Ce)%7Blet%20a%3Dthis%5Be%5D%3Breturn%20Boolean(a%26%26a%5Bt%5D)%7D_hasReadOnlyEffect(t)%7Breturn%20this._hasPropertyEffect(t%2CC.READ_ONLY)%7D_hasNotifyEffect(t)%7Breturn%20this._hasPropertyEffect(t%2CC.NOTIFY)%7D_hasReflectEffect(t)%7Breturn%20this._hasPropertyEffect(t%2CC.REFLECT)%7D_hasComputedEffect(t)%7Breturn%20this._hasPropertyEffect(t%2CC.COMPUTE)%7D_setPendingPropertyOrPath(t%2Ce%2Ca%2Cr)%7Bif(r%7C%7CPolymer.Path.root(Array.isArray(t)%3Ft%5B0%5D%3At)!%3D%3Dt)%7Bif(!r)%7Blet%20a%3DPolymer.Path.get(this%2Ct)%3Bif(!(t%3DPolymer.Path.set(this%2Ct%2Ce))%7C%7C!super._shouldPropertyChange(t%2Ce%2Ca))return!1%7Dif(this.__dataHasPaths%3D!0%2Cthis._setPendingProperty(t%2Ce%2Ca))return%20function(t%2Ce%2Ca)%7Blet%20r%3Dt.__dataLinkedPaths%3Bif(r)%7Blet%20i%3Bfor(let%20s%20in%20r)%7Blet%20n%3Dr%5Bs%5D%3BPolymer.Path.isDescendant(s%2Ce)%3F(i%3DPolymer.Path.translate(s%2Cn%2Ce)%2Ct._setPendingPropertyOrPath(i%2Ca%2C!0%2C!0))%3APolymer.Path.isDescendant(n%2Ce)%26%26(i%3DPolymer.Path.translate(n%2Cs%2Ce)%2Ct._setPendingPropertyOrPath(i%2Ca%2C!0%2C!0))%7D%7D%7D(this%2Ct%2Ce)%2C!0%7Delse%7Bif(this.__dataHasAccessor%26%26this.__dataHasAccessor%5Bt%5D)return%20this._setPendingProperty(t%2Ce%2Ca)%3Bthis%5Bt%5D%3De%7Dreturn!1%7D_setUnmanagedPropertyToNode(t%2Ce%2Ca)%7Ba%3D%3D%3Dt%5Be%5D%26%26%22object%22!%3Dtypeof%20a%7C%7C(t%5Be%5D%3Da)%7D_setPendingProperty(t%2Ce%2Ca)%7Blet%20r%3Dthis.__dataHasPaths%26%26Polymer.Path.isPath(t)%2Ci%3Dr%3Fthis.__dataTemp%3Athis.__data%3Breturn!!this._shouldPropertyChange(t%2Ce%2Ci%5Bt%5D)%26%26(this.__dataPending%7C%7C(this.__dataPending%3D%7B%7D%2Cthis.__dataOld%3D%7B%7D)%2Ct%20in%20this.__dataOld%7C%7C(this.__dataOld%5Bt%5D%3Dthis.__data%5Bt%5D)%2Cr%3Fthis.__dataTemp%5Bt%5D%3De%3Athis.__data%5Bt%5D%3De%2Cthis.__dataPending%5Bt%5D%3De%2C(r%7C%7Cthis%5BC.NOTIFY%5D%26%26this%5BC.NOTIFY%5D%5Bt%5D)%26%26(this.__dataToNotify%3Dthis.__dataToNotify%7C%7C%7B%7D%2Cthis.__dataToNotify%5Bt%5D%3Da)%2C!0)%7D_setProperty(t%2Ce)%7Bthis._setPendingProperty(t%2Ce%2C!0)%26%26this._invalidateProperties()%7D_invalidateProperties()%7Bthis.__dataReady%26%26this._flushProperties()%7D_enqueueClient(t)%7Bthis.__dataPendingClients%3Dthis.__dataPendingClients%7C%7C%5B%5D%2Ct!%3D%3Dthis%26%26this.__dataPendingClients.push(t)%7D_flushProperties()%7Bthis.__dataCounter%2B%2B%2Csuper._flushProperties()%2Cthis.__dataCounter--%7D_flushClients()%7Bthis.__dataClientsReady%3Fthis.__enableOrFlushClients()%3A(this.__dataClientsReady%3D!0%2Cthis._readyClients()%2Cthis.__dataReady%3D!0)%7D__enableOrFlushClients()%7Blet%20t%3Dthis.__dataPendingClients%3Bif(t)%7Bthis.__dataPendingClients%3Dnull%3Bfor(let%20e%3D0%3Be%3Ct.length%3Be%2B%2B)%7Blet%20a%3Dt%5Be%5D%3Ba.__dataEnabled%3Fa.__dataPending%26%26a._flushProperties()%3Aa._enableProperties()%7D%7D%7D_readyClients()%7Bthis.__enableOrFlushClients()%7DsetProperties(t%2Ce)%7Bfor(let%20a%20in%20t)!e%26%26this%5BC.READ_ONLY%5D%26%26this%5BC.READ_ONLY%5D%5Ba%5D%7C%7Cthis._setPendingPropertyOrPath(a%2Ct%5Ba%5D%2C!0)%3Bthis._invalidateProperties()%7Dready()%7Bthis._flushProperties()%2Cthis.__dataClientsReady%7C%7Cthis._flushClients()%2Cthis.__dataPending%26%26this._flushProperties()%7D_propertiesChanged(t%2Ca%2Cr)%7Blet%20s%3Dthis.__dataHasPaths%3Bthis.__dataHasPaths%3D!1%2Cfunction(t%2Ca%2Cr%2Ci)%7Blet%20s%3Dt%5BC.COMPUTE%5D%3Bif(s)%7Blet%20n%3Da%3Bfor(%3Be(t%2Cs%2Cn%2Cr%2Ci)%3B)Object.assign(r%2Ct.__dataOld)%2CObject.assign(a%2Ct.__dataPending)%2Cn%3Dt.__dataPending%2Ct.__dataPending%3Dnull%7D%7D(this%2Ca%2Cr%2Cs)%3Blet%20n%3Dthis.__dataToNotify%3Bthis.__dataToNotify%3Dnull%2Cthis._propagatePropertyChanges(a%2Cr%2Cs)%2Cthis._flushClients()%2Ce(this%2Cthis%5BC.REFLECT%5D%2Ca%2Cr%2Cs)%2Ce(this%2Cthis%5BC.OBSERVE%5D%2Ca%2Cr%2Cs)%2Cn%26%26i(this%2Cn%2Ca%2Cr%2Cs)%2C1%3D%3Dthis.__dataCounter%26%26(this.__dataTemp%3D%7B%7D)%7D_propagatePropertyChanges(t%2Ca%2Cr)%7Bthis%5BC.PROPAGATE%5D%26%26e(this%2Cthis%5BC.PROPAGATE%5D%2Ct%2Ca%2Cr)%3Blet%20i%3Dthis.__templateInfo%3Bfor(%3Bi%3B)e(this%2Ci.propertyEffects%2Ct%2Ca%2Cr%2Ci.nodeList)%2Ci%3Di.nextTemplateInfo%7DlinkPaths(t%2Ce)%7Bt%3DPolymer.Path.normalize(t)%2Ce%3DPolymer.Path.normalize(e)%2Cthis.__dataLinkedPaths%3Dthis.__dataLinkedPaths%7C%7C%7B%7D%2Cthis.__dataLinkedPaths%5Bt%5D%3De%7DunlinkPaths(t)%7Bt%3DPolymer.Path.normalize(t)%2Cthis.__dataLinkedPaths%26%26delete%20this.__dataLinkedPaths%5Bt%5D%7DnotifySplices(t%2Ce)%7Blet%20a%3D%7Bpath%3A%22%22%7D%3Bm(this%2CPolymer.Path.get(this%2Ct%2Ca)%2Ca.path%2Ce)%7Dget(t%2Ce)%7Breturn%20Polymer.Path.get(e%7C%7Cthis%2Ct)%7Dset(t%2Ce%2Ca)%7Ba%3FPolymer.Path.set(a%2Ct%2Ce)%3Athis%5BC.READ_ONLY%5D%26%26this%5BC.READ_ONLY%5D%5Bt%5D%7C%7Cthis._setPendingPropertyOrPath(t%2Ce%2C!0)%26%26this._invalidateProperties()%7Dpush(t%2C...e)%7Blet%20a%3D%7Bpath%3A%22%22%7D%2Cr%3DPolymer.Path.get(this%2Ct%2Ca)%2Ci%3Dr.length%2Cs%3Dr.push(...e)%3Breturn%20e.length%26%26y(this%2Cr%2Ca.path%2Ci%2Ce.length%2C%5B%5D)%2Cs%7Dpop(t)%7Blet%20e%3D%7Bpath%3A%22%22%7D%2Ca%3DPolymer.Path.get(this%2Ct%2Ce)%2Cr%3DBoolean(a.length)%2Ci%3Da.pop()%3Breturn%20r%26%26y(this%2Ca%2Ce.path%2Ca.length%2C0%2C%5Bi%5D)%2Ci%7Dsplice(t%2Ce%2Ca%2C...r)%7Blet%20i%3D%7Bpath%3A%22%22%7D%2Cs%3DPolymer.Path.get(this%2Ct%2Ci)%3Be%3C0%3Fe%3Ds.length-Math.floor(-e)%3Ae%26%26(e%3DMath.floor(e))%3Blet%20n%3Breturn%20n%3D2%3D%3D%3Darguments.length%3Fs.splice(e)%3As.splice(e%2Ca%2C...r)%2C(r.length%7C%7Cn.length)%26%26y(this%2Cs%2Ci.path%2Ce%2Cr.length%2Cn)%2Cn%7Dshift(t)%7Blet%20e%3D%7Bpath%3A%22%22%7D%2Ca%3DPolymer.Path.get(this%2Ct%2Ce)%2Cr%3DBoolean(a.length)%2Ci%3Da.shift()%3Breturn%20r%26%26y(this%2Ca%2Ce.path%2C0%2C0%2C%5Bi%5D)%2Ci%7Dunshift(t%2C...e)%7Blet%20a%3D%7Bpath%3A%22%22%7D%2Cr%3DPolymer.Path.get(this%2Ct%2Ca)%2Ci%3Dr.unshift(...e)%3Breturn%20e.length%26%26y(this%2Cr%2Ca.path%2C0%2Ce.length%2C%5B%5D)%2Ci%7DnotifyPath(t%2Ce)%7Blet%20a%3Bif(1%3D%3Darguments.length)%7Blet%20r%3D%7Bpath%3A%22%22%7D%3Be%3DPolymer.Path.get(this%2Ct%2Cr)%2Ca%3Dr.path%7Delse%20a%3DArray.isArray(t)%3FPolymer.Path.normalize(t)%3At%3Bthis._setPendingPropertyOrPath(a%2Ce%2C!0%2C!0)%26%26this._invalidateProperties()%7D_createReadOnlyProperty(t%2Ce)%7Bthis._addPropertyEffect(t%2CC.READ_ONLY)%2Ce%26%26(this%5B%22_set%22%2Bfunction(t)%7Breturn%20t%5B0%5D.toUpperCase()%2Bt.substring(1)%7D(t)%5D%3Dfunction(e)%7Bthis._setProperty(t%2Ce)%7D)%7D_createPropertyObserver(t%2Ce%2Ca)%7Blet%20i%3D%7Bproperty%3At%2Cmethod%3Ae%2CdynamicFn%3ABoolean(a)%7D%3Bthis._addPropertyEffect(t%2CC.OBSERVE%2C%7Bfn%3Ar%2Cinfo%3Ai%2Ctrigger%3A%7Bname%3At%7D%7D)%2Ca%26%26this._addPropertyEffect(e%2CC.OBSERVE%2C%7Bfn%3Ar%2Cinfo%3Ai%2Ctrigger%3A%7Bname%3Ae%7D%7D)%7D_createMethodObserver(t%2Ce)%7Blet%20a%3Du(t)%3Bif(!a)throw%20new%20Error(%22Malformed%20observer%20expression%20'%22%2Bt%2B%22'%22)%3Bp(this%2Ca%2CC.OBSERVE%2Cf%2Cnull%2Ce)%7D_createNotifyingProperty(t)%7Bthis._addPropertyEffect(t%2CC.NOTIFY%2C%7Bfn%3An%2Cinfo%3A%7BeventName%3Ag.camelToDashCase(t)%2B%22-changed%22%2Cproperty%3At%7D%7D)%7D_createReflectedProperty(t)%7Blet%20e%3Dthis.constructor.attributeNameForProperty(t)%3B%22-%22%3D%3D%3De%5B0%5D%3Fconsole.warn(%22Property%20%22%2Bt%2B%22%20cannot%20be%20reflected%20to%20attribute%20%22%2Be%2B'%20because%20%22-%22%20is%20not%20a%20valid%20starting%20attribute%20name.%20Use%20a%20lowercase%20first%20letter%20for%20the%20property%20instead.')%3Athis._addPropertyEffect(t%2CC.REFLECT%2C%7Bfn%3Ao%2Cinfo%3A%7BattrName%3Ae%7D%7D)%7D_createComputedProperty(t%2Ce%2Ca)%7Blet%20r%3Du(e)%3Bif(!r)throw%20new%20Error(%22Malformed%20computed%20expression%20'%22%2Be%2B%22'%22)%3Bp(this%2Cr%2CC.COMPUTE%2Cl%2Ct%2Ca)%7Dstatic%20addPropertyEffect(t%2Ce%2Ca)%7Bthis.prototype._addPropertyEffect(t%2Ce%2Ca)%7Dstatic%20createPropertyObserver(t%2Ce%2Ca)%7Bthis.prototype._createPropertyObserver(t%2Ce%2Ca)%7Dstatic%20createMethodObserver(t%2Ce)%7Bthis.prototype._createMethodObserver(t%2Ce)%7Dstatic%20createNotifyingProperty(t)%7Bthis.prototype._createNotifyingProperty(t)%7Dstatic%20createReadOnlyProperty(t%2Ce)%7Bthis.prototype._createReadOnlyProperty(t%2Ce)%7Dstatic%20createReflectedProperty(t)%7Bthis.prototype._createReflectedProperty(t)%7Dstatic%20createComputedProperty(t%2Ce%2Ca)%7Bthis.prototype._createComputedProperty(t%2Ce%2Ca)%7Dstatic%20bindTemplate(t)%7Breturn%20this.prototype._bindTemplate(t)%7D_bindTemplate(t%2Ce)%7Blet%20a%3Dthis.constructor._parseTemplate(t)%2Cr%3Dthis.__templateInfo%3D%3Da%3Bif(!r)for(let%20t%20in%20a.propertyEffects)this._createPropertyAccessor(t)%3Bif(e%26%26(a%3DObject.create(a)%2Ca.wasPreBound%3Dr%2C!r%26%26this.__templateInfo))%7Blet%20t%3Dthis.__templateInfoLast%7C%7Cthis.__templateInfo%3Breturn%20this.__templateInfoLast%3Dt.nextTemplateInfo%3Da%2Ca.previousTemplateInfo%3Dt%2Ca%7Dreturn%20this.__templateInfo%3Da%7Dstatic%20_addTemplatePropertyEffect(t%2Ce%2Ca)%7B(t.hostProps%3Dt.hostProps%7C%7C%7B%7D)%5Be%5D%3D!0%3Blet%20r%3Dt.propertyEffects%3Dt.propertyEffects%7C%7C%7B%7D%3B(r%5Be%5D%3Dr%5Be%5D%7C%7C%5B%5D).push(a)%7D_stampTemplate(t)%7Bv.beginHosting(this)%3Blet%20a%3Dsuper._stampTemplate(t)%3Bv.endHosting(this)%3Blet%20r%3Dthis._bindTemplate(t%2C!0)%3Bif(r.nodeList%3Da.nodeList%2C!r.wasPreBound)%7Blet%20t%3Dr.childNodes%3D%5B%5D%3Bfor(let%20e%3Da.firstChild%3Be%3Be%3De.nextSibling)t.push(e)%7Dreturn%20a.templateInfo%3Dr%2Cd(this%2Cr)%2Cthis.__dataReady%26%26e(this%2Cr.propertyEffects%2Cthis.__data%2Cnull%2C!1%2Cr.nodeList)%2Ca%7D_removeBoundDom(t)%7Blet%20e%3Dt.templateInfo%3Be.previousTemplateInfo%26%26(e.previousTemplateInfo.nextTemplateInfo%3De.nextTemplateInfo)%2Ce.nextTemplateInfo%26%26(e.nextTemplateInfo.previousTemplateInfo%3De.previousTemplateInfo)%2Cthis.__templateInfoLast%3D%3De%26%26(this.__templateInfoLast%3De.previousTemplateInfo)%2Ce.previousTemplateInfo%3De.nextTemplateInfo%3Dnull%3Blet%20a%3De.childNodes%3Bfor(let%20t%3D0%3Bt%3Ca.length%3Bt%2B%2B)%7Blet%20e%3Da%5Bt%5D%3Be.parentNode.removeChild(e)%7D%7Dstatic%20_parseTemplateNode(t%2Ce%2Ca)%7Blet%20r%3Dsuper._parseTemplateNode(t%2Ce%2Ca)%3Bif(t.nodeType%3D%3D%3DNode.TEXT_NODE)%7Blet%20i%3Dthis._parseBindings(t.textContent%2Ce)%3Bi%26%26(t.textContent%3Dc(i)%7C%7C%22%20%22%2Ch(this%2Ce%2Ca%2C%22text%22%2C%22textContent%22%2Ci)%2Cr%3D!0)%7Dreturn%20r%7Dstatic%20_parseTemplateNodeAttribute(t%2Ce%2Ca%2Cr%2Ci)%7Blet%20s%3Dthis._parseBindings(i%2Ce)%3Bif(s)%7Blet%20i%3Dr%2Cn%3D%22property%22%3BO.test(r)%3Fn%3D%22attribute%22%3A%22%24%22%3D%3Dr%5Br.length-1%5D%26%26(r%3Dr.slice(0%2C-1)%2Cn%3D%22attribute%22)%3Blet%20o%3Dc(s)%3Breturn%20o%26%26%22attribute%22%3D%3Dn%26%26t.setAttribute(r%2Co)%2C%22input%22%3D%3D%3Dt.localName%26%26%22value%22%3D%3D%3Di%26%26t.setAttribute(i%2C%22%22)%2Ct.removeAttribute(i)%2C%22property%22%3D%3D%3Dn%26%26(r%3DPolymer.CaseMap.dashToCamelCase(r))%2Ch(this%2Ce%2Ca%2Cn%2Cr%2Cs%2Co)%2C!0%7Dreturn%20super._parseTemplateNodeAttribute(t%2Ce%2Ca%2Cr%2Ci)%7Dstatic%20_parseTemplateNestedTemplate(t%2Ce%2Ca)%7Blet%20r%3Dsuper._parseTemplateNestedTemplate(t%2Ce%2Ca)%2Ci%3Da.templateInfo.hostProps%3Bfor(let%20t%20in%20i)%7Bh(this%2Ce%2Ca%2C%22property%22%2C%22_host_%22%2Bt%2C%5B%7Bmode%3A%22%7B%22%2Csource%3At%2Cdependencies%3A%5Bt%5D%7D%5D)%7Dreturn%20r%7Dstatic%20_parseBindings(t%2Ce)%7Blet%20a%2Cr%3D%5B%5D%2Ci%3D0%3Bfor(%3Bnull!%3D%3D(a%3DN.exec(t))%3B)%7Ba.index%3Ei%26%26r.push(%7Bliteral%3At.slice(i%2Ca.index)%7D)%3Blet%20s%3Da%5B1%5D%5B0%5D%2Cn%3DBoolean(a%5B2%5D)%2Co%3Da%5B3%5D.trim()%2Cl%3D!1%2Ch%3D%22%22%2C_%3D-1%3B%22%7B%22%3D%3Ds%26%26(_%3Do.indexOf(%22%3A%3A%22))%3E0%26%26(h%3Do.substring(_%2B2)%2Co%3Do.substring(0%2C_)%2Cl%3D!0)%3Blet%20d%3Du(o)%2Cp%3D%5B%5D%3Bif(d)%7Blet%7Bargs%3At%2CmethodName%3Aa%7D%3Dd%3Bfor(let%20e%3D0%3Be%3Ct.length%3Be%2B%2B)%7Blet%20a%3Dt%5Be%5D%3Ba.literal%7C%7Cp.push(a)%7Dlet%20r%3De.dynamicFns%3B(r%26%26r%5Ba%5D%7C%7Cd.static)%26%26(p.push(a)%2Cd.dynamicFn%3D!0)%7Delse%20p.push(o)%3Br.push(%7Bsource%3Ao%2Cmode%3As%2Cnegate%3An%2CcustomEvent%3Al%2Csignature%3Ad%2Cdependencies%3Ap%2Cevent%3Ah%7D)%2Ci%3DN.lastIndex%7Dif(i%26%26i%3Ct.length)%7Blet%20e%3Dt.substring(i)%3Be%26%26r.push(%7Bliteral%3Ae%7D)%7Dreturn%20r.length%3Fr%3Anull%7Dstatic%20_evaluateBinding(t%2Ce%2Ca%2Cr%2Ci%2Cs)%7Blet%20n%3Breturn%20n%3De.signature%3Ff(t%2Ca%2Cr%2C0%2Ce.signature)%3Aa!%3De.source%3FPolymer.Path.get(t%2Ce.source)%3As%26%26Polymer.Path.isPath(a)%3FPolymer.Path.get(t%2Ca)%3At.__data%5Ba%5D%2Ce.negate%26%26(n%3D!n)%2Cn%7D%7Dreturn%20T%3D_%2C_%7D)%3Blet%20v%3D%7Bstack%3A%5B%5D%2CregisterHost(t)%7Bif(this.stack.length)%7Bthis.stack%5Bthis.stack.length-1%5D._enqueueClient(t)%7D%7D%2CbeginHosting(t)%7Bthis.stack.push(t)%7D%2CendHosting(t)%7Blet%20e%3Dthis.stack.length%3Be%26%26this.stack%5Be-1%5D%3D%3Dt%26%26this.stack.pop()%7D%7D%7D()%3B%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fhass.igo%3A8123%2Ffrontend_latest%2Ffrontend-5e514eaa96c72f520ed5e9502c7bb537.html%3F_sw-precache%3D2bf964c6d3342296bacca0c893e71b59-12.js%0A:0:0 Script error.

Additional information:

This definitely didn't happen until the upgrade to 0.70.0. I have a 1.1GB log after running for a couple of hours, so this is going to fill up the disk soon.

dshokouhi commented 6 years ago

Are you using any Custom UI? Release notes mentioned you need to update or disable it.

Human commented 6 years ago

@dshokouhi I'm using a theme. Is that "Custom UI"?

dshokouhi commented 6 years ago

@Human no it is not, but if you have any custom components it may be. That error really suggests you may be using some kind of Custom UI.

Such as: https://github.com/andrey-git/home-assistant-custom-ui

Human commented 6 years ago

@dshokouhi Aha. I do have a custom component, but not custom UI. I'll disable it and see if the chaos ceases. Thanks for the lead :)

dshokouhi commented 6 years ago

@Human its quite possible the custom component has some custom UI in it too, try to see if it has an update first as some of them have already been updated :)

Human commented 6 years ago

@dshokouhi Thanks! That was definitely it. I'll check for a component update.