Stuck at "waiting initial data"

after updating to latest AltUI Version on openLuup the page is stuck.
In the console there are these errors:

jsapi?autoload={"modules":[{"name":"visualization","version":"1","packages":["gauge","table"]}]}:22 A parser-blocking, cross site (i.e. different eTLD+1) script, https://www.google.com/uds/api/visualization/1.0/40ff64b1d9d6b3213524485974f36cc0/format+de,default+de,ui+de,table+de,gauge+de.I.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.
google.loader.f @ jsapi?autoload={"modules":[{"name":"visualization","version":"1","packages":["gauge","table"]}]}:22
(anonymous) @ jsapi?autoload={"modules":[{"name":"visualization","version":"1","packages":["gauge","table"]}]}:54
J_ALTUI_multibox.js:221 controller Main did not respond. disabling it
J_ALTUI_multibox.js:798 Uncaught TypeError: Cannot read property 'controller' of undefined
    at Object._getFileContent [as getFileContent] (J_ALTUI_multibox.js:798)
    at Object._getFileContent [as getFileContent] (J_ALTUI_utils.js:4047)
    at Object._updateDeviceTypeUPnpDB [as updateDeviceTypeUPnpDB] (J_ALTUI_multibox.js:76)
    at Object.<anonymous> (J_ALTUI_verabox.js:1762)
    at Function.each (jquery.min.js:2)
    at _loadUserData (J_ALTUI_verabox.js:1758)
    at J_ALTUI_verabox.js:1815
    at J_ALTUI_verabox.js:1136
    at Object._unproxifyResult [as unproxifyResult] (J_ALTUI_upnp.js:39)
    at Object.<anonymous> (J_ALTUI_verabox.js:1134)
_getFileContent @ J_ALTUI_multibox.js:798
_getFileContent @ J_ALTUI_utils.js:4047
_updateDeviceTypeUPnpDB @ J_ALTUI_multibox.js:76
(anonymous) @ J_ALTUI_verabox.js:1762
each @ jquery.min.js:2
_loadUserData @ J_ALTUI_verabox.js:1758
(anonymous) @ J_ALTUI_verabox.js:1815
(anonymous) @ J_ALTUI_verabox.js:1136
_unproxifyResult @ J_ALTUI_upnp.js:39
(anonymous) @ J_ALTUI_verabox.js:1134
u @ jquery.min.js:2
fireWith @ jquery.min.js:2
k @ jquery.min.js:2
(anonymous) @ jquery.min.js:2
load (async)
send @ jquery.min.js:2
ajax @ jquery.min.js:2
_httpGet @ J_ALTUI_verabox.js:1132
_initDataEngine @ J_ALTUI_verabox.js:1809
initEngine @ J_ALTUI_verabox.js:2738
(anonymous) @ J_ALTUI_multibox.js:233
each @ jquery.min.js:2
_initEngine @ J_ALTUI_multibox.js:232
(anonymous) @ J_ALTUI_uimgr.js:15103
(anonymous) @ J_ALTUI_uimgr.js:1639
(anonymous) @ J_ALTUI_utils.js:2501
each @ jquery.min.js:2
_publishEvent @ J_ALTUI_utils.js:2499
notifyTermination @ J_ALTUI_uimgr.js:1674
_initDB @ J_ALTUI_uimgr.js:1678
_initEngine @ J_ALTUI_uimgr.js:5202
_onInitLocalization2 @ J_ALTUI_uimgr.js:15102
_onInitLocalization @ J_ALTUI_uimgr.js:15127
(anonymous) @ J_ALTUI_uimgr.js:15164
l @ jquery.min.js:2
c @ jquery.min.js:2
setTimeout (async)
(anonymous) @ jquery.min.js:2
u @ jquery.min.js:2
fireWith @ jquery.min.js:2
fire @ jquery.min.js:2
u @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
_ @ jquery.min.js:2
jquery.min.js:2 jQuery.Deferred exception: Cannot read property 'controller' of undefined TypeError: Cannot read property 'controller' of undefined
    at Object.getBoxInfo (J_ALTUI_multibox.js:909:70)
    at _refreshFooter (http://192.168.2.129:3480/J_ALTUI_uimgr.js:4445:25)
    at Object.signal (http://192.168.2.129:3480/J_ALTUI_uimgr.js:14934:5)
    at Object.<anonymous> (J_ALTUI_utils.js:2501:21)
    at Function.each (http://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js:2:2573)
    at Object._publishEvent [as publishEvent] (J_ALTUI_utils.js:2499:6)
    at Array.<anonymous> (http://192.168.2.129:3480/J_ALTUI_uimgr.js:15114:14)
    at l (http://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js:2:29375)
    at c (http://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js:2:29677) undefined

[quote=“pls90, post:1, topic:199217”]after updating to latest AltUI Version on openLuup the page is stuck.
In the console there are these errors:

jsapi?autoload={"modules":[{"name":"visualization","version":"1","packages":["gauge","table"]}]}:22 A parser-blocking, cross site (i.e. different eTLD+1) script, https://www.google.com/uds/api/visualization/1.0/40ff64b1d9d6b3213524485974f36cc0/format+de,default+de,ui+de,table+de,gauge+de.I.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.
google.loader.f @ jsapi?autoload={"modules":[{"name":"visualization","version":"1","packages":["gauge","table"]}]}:22
(anonymous) @ jsapi?autoload={"modules":[{"name":"visualization","version":"1","packages":["gauge","table"]}]}:54
J_ALTUI_multibox.js:221 controller Main did not respond. disabling it
J_ALTUI_multibox.js:798 Uncaught TypeError: Cannot read property 'controller' of undefined
    at Object._getFileContent [as getFileContent] (J_ALTUI_multibox.js:798)
    at Object._getFileContent [as getFileContent] (J_ALTUI_utils.js:4047)
    at Object._updateDeviceTypeUPnpDB [as updateDeviceTypeUPnpDB] (J_ALTUI_multibox.js:76)
    at Object.<anonymous> (J_ALTUI_verabox.js:1762)
    at Function.each (jquery.min.js:2)
    at _loadUserData (J_ALTUI_verabox.js:1758)
    at J_ALTUI_verabox.js:1815
    at J_ALTUI_verabox.js:1136
    at Object._unproxifyResult [as unproxifyResult] (J_ALTUI_upnp.js:39)
    at Object.<anonymous> (J_ALTUI_verabox.js:1134)
_getFileContent @ J_ALTUI_multibox.js:798
_getFileContent @ J_ALTUI_utils.js:4047
_updateDeviceTypeUPnpDB @ J_ALTUI_multibox.js:76
(anonymous) @ J_ALTUI_verabox.js:1762
each @ jquery.min.js:2
_loadUserData @ J_ALTUI_verabox.js:1758
(anonymous) @ J_ALTUI_verabox.js:1815
(anonymous) @ J_ALTUI_verabox.js:1136
_unproxifyResult @ J_ALTUI_upnp.js:39
(anonymous) @ J_ALTUI_verabox.js:1134
u @ jquery.min.js:2
fireWith @ jquery.min.js:2
k @ jquery.min.js:2
(anonymous) @ jquery.min.js:2
load (async)
send @ jquery.min.js:2
ajax @ jquery.min.js:2
_httpGet @ J_ALTUI_verabox.js:1132
_initDataEngine @ J_ALTUI_verabox.js:1809
initEngine @ J_ALTUI_verabox.js:2738
(anonymous) @ J_ALTUI_multibox.js:233
each @ jquery.min.js:2
_initEngine @ J_ALTUI_multibox.js:232
(anonymous) @ J_ALTUI_uimgr.js:15103
(anonymous) @ J_ALTUI_uimgr.js:1639
(anonymous) @ J_ALTUI_utils.js:2501
each @ jquery.min.js:2
_publishEvent @ J_ALTUI_utils.js:2499
notifyTermination @ J_ALTUI_uimgr.js:1674
_initDB @ J_ALTUI_uimgr.js:1678
_initEngine @ J_ALTUI_uimgr.js:5202
_onInitLocalization2 @ J_ALTUI_uimgr.js:15102
_onInitLocalization @ J_ALTUI_uimgr.js:15127
(anonymous) @ J_ALTUI_uimgr.js:15164
l @ jquery.min.js:2
c @ jquery.min.js:2
setTimeout (async)
(anonymous) @ jquery.min.js:2
u @ jquery.min.js:2
fireWith @ jquery.min.js:2
fire @ jquery.min.js:2
u @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
_ @ jquery.min.js:2
jquery.min.js:2 jQuery.Deferred exception: Cannot read property 'controller' of undefined TypeError: Cannot read property 'controller' of undefined
    at Object.getBoxInfo (J_ALTUI_multibox.js:909:70)
    at _refreshFooter (http://192.168.2.129:3480/J_ALTUI_uimgr.js:4445:25)
    at Object.signal (http://192.168.2.129:3480/J_ALTUI_uimgr.js:14934:5)
    at Object.<anonymous> (J_ALTUI_utils.js:2501:21)
    at Function.each (http://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js:2:2573)
    at Object._publishEvent [as publishEvent] (J_ALTUI_utils.js:2499:6)
    at Array.<anonymous> (http://192.168.2.129:3480/J_ALTUI_uimgr.js:15114:14)
    at l (http://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js:2:29375)
    at c (http://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js:2:29677) undefined
[/code][/quote]

same answer as http://forum.micasaverde.com/index.php/topic,84031.msg387874.html#msg387874
or you can play with line 209 of J_ALTUI_Multibox.js and increase the 2000 value by something bigger ( it is in millisec ) until it works.
I am curious what is the good value

[code]EventBus.waitForAll("on_ui_userDataLoaded", _getAllEvents("on_ui_userDataLoaded"), this, null , 2000 )

[quote=“amg0”][quote=“pls90, post:1, topic:199217”]after updating to latest AltUI Version on openLuup the page is stuck.
In the console there are these errors:

jsapi?autoload={"modules":[{"name":"visualization","version":"1","packages":["gauge","table"]}]}:22 A parser-blocking, cross site (i.e. different eTLD+1) script, https://www.google.com/uds/api/visualization/1.0/40ff64b1d9d6b3213524485974f36cc0/format+de,default+de,ui+de,table+de,gauge+de.I.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details. google.loader.f @ jsapi?autoload={"modules":[{"name":"visualization","version":"1","packages":["gauge","table"]}]}:22 (anonymous) @ jsapi?autoload={"modules":[{"name":"visualization","version":"1","packages":["gauge","table"]}]}:54 J_ALTUI_multibox.js:221 controller Main did not respond. disabling it J_ALTUI_multibox.js:798 Uncaught TypeError: Cannot read property 'controller' of undefined at Object._getFileContent [as getFileContent] (J_ALTUI_multibox.js:798) at Object._getFileContent [as getFileContent] (J_ALTUI_utils.js:4047) at Object._updateDeviceTypeUPnpDB [as updateDeviceTypeUPnpDB] (J_ALTUI_multibox.js:76) at Object.<anonymous> (J_ALTUI_verabox.js:1762) at Function.each (jquery.min.js:2) at _loadUserData (J_ALTUI_verabox.js:1758) at J_ALTUI_verabox.js:1815 at J_ALTUI_verabox.js:1136 at Object._unproxifyResult [as unproxifyResult] (J_ALTUI_upnp.js:39) at Object.<anonymous> (J_ALTUI_verabox.js:1134) _getFileContent @ J_ALTUI_multibox.js:798 _getFileContent @ J_ALTUI_utils.js:4047 _updateDeviceTypeUPnpDB @ J_ALTUI_multibox.js:76 (anonymous) @ J_ALTUI_verabox.js:1762 each @ jquery.min.js:2 _loadUserData @ J_ALTUI_verabox.js:1758 (anonymous) @ J_ALTUI_verabox.js:1815 (anonymous) @ J_ALTUI_verabox.js:1136 _unproxifyResult @ J_ALTUI_upnp.js:39 (anonymous) @ J_ALTUI_verabox.js:1134 u @ jquery.min.js:2 fireWith @ jquery.min.js:2 k @ jquery.min.js:2 (anonymous) @ jquery.min.js:2 load (async) send @ jquery.min.js:2 ajax @ jquery.min.js:2 _httpGet @ J_ALTUI_verabox.js:1132 _initDataEngine @ J_ALTUI_verabox.js:1809 initEngine @ J_ALTUI_verabox.js:2738 (anonymous) @ J_ALTUI_multibox.js:233 each @ jquery.min.js:2 _initEngine @ J_ALTUI_multibox.js:232 (anonymous) @ J_ALTUI_uimgr.js:15103 (anonymous) @ J_ALTUI_uimgr.js:1639 (anonymous) @ J_ALTUI_utils.js:2501 each @ jquery.min.js:2 _publishEvent @ J_ALTUI_utils.js:2499 notifyTermination @ J_ALTUI_uimgr.js:1674 _initDB @ J_ALTUI_uimgr.js:1678 _initEngine @ J_ALTUI_uimgr.js:5202 _onInitLocalization2 @ J_ALTUI_uimgr.js:15102 _onInitLocalization @ J_ALTUI_uimgr.js:15127 (anonymous) @ J_ALTUI_uimgr.js:15164 l @ jquery.min.js:2 c @ jquery.min.js:2 setTimeout (async) (anonymous) @ jquery.min.js:2 u @ jquery.min.js:2 fireWith @ jquery.min.js:2 fire @ jquery.min.js:2 u @ jquery.min.js:2 fireWith @ jquery.min.js:2 ready @ jquery.min.js:2 _ @ jquery.min.js:2 jquery.min.js:2 jQuery.Deferred exception: Cannot read property 'controller' of undefined TypeError: Cannot read property 'controller' of undefined at Object.getBoxInfo (J_ALTUI_multibox.js:909:70) at _refreshFooter (http://192.168.2.129:3480/J_ALTUI_uimgr.js:4445:25) at Object.signal (http://192.168.2.129:3480/J_ALTUI_uimgr.js:14934:5) at Object.<anonymous> (J_ALTUI_utils.js:2501:21) at Function.each (http://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js:2:2573) at Object._publishEvent [as publishEvent] (J_ALTUI_utils.js:2499:6) at Array.<anonymous> (http://192.168.2.129:3480/J_ALTUI_uimgr.js:15114:14) at l (http://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js:2:29375) at c (http://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js:2:29677) undefined [/quote]

same answer as http://forum.micasaverde.com/index.php/topic,84031.msg387874.html#msg387874
or you can play with line 209 of J_ALTUI_Multibox.js and increase the 2000 value by something bigger ( it is in millisec ) until it works.
I am curious what is the good value

EventBus.waitForAll("on_ui_userDataLoaded", _getAllEvents("on_ui_userDataLoaded"), this, null , 2000 ) [/quote]3000 did the trick.
Thank you!

Gesendet von meinem SM-G930F mit Tapatalk

According to Google Developers article, you can:

  • Use asynchronous script loading, using <script src="..." async> or element.appendChild() ,

It is better don’t use document.write for jQuery CDN, here is workaround:

var script = document.createElement('script');  
script.src = "....";  
document.head.appendChild(script);