iPhone Locator error
-
AltUI is somewhat more informative
an error occurred while displaying the javascript tab. devid: 0-261 err:iphone_Settings is not defined
stack:ReferenceError: iphone_Settings is not defined
at eval (eval at _deviceDrawControlPanelJSTab (http://192.168.70.6/port_3480/J_ALTUI_uimgr.js:3022:17), :1:1)
at _deviceDrawControlPanelJSTab (http://192.168.70.6/port_3480/J_ALTUI_uimgr.js:3022:17)
at _deviceDrawControlPanelOneTabContent (http://192.168.70.6/port_3480/J_ALTUI_uimgr.js:3717:8)
at _displayActiveDeviceTab (http://192.168.70.6/port_3480/J_ALTUI_uimgr.js:3744:4)
at HTMLAnchorElement. (http://192.168.70.6/port_3480/J_ALTUI_uimgr.js:7036:4)
at HTMLDivElement.dispatch (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:42571)
at HTMLDivElement.v.handle (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:40572)
at Object.trigger (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:70627)
at HTMLAnchorElement. (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:71222)
at Function.each (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:2777)C
-
OK Just FYI here's the error from the Map tab
an error occurred while displaying the javascript tab. devid: 0-261 err:iphone_Map is not defined
stack:ReferenceError: iphone_Map is not defined
at eval (eval at _deviceDrawControlPanelJSTab (http://192.168.70.6/port_3480/J_ALTUI_uimgr.js:3022:17), :1:1)
at _deviceDrawControlPanelJSTab (http://192.168.70.6/port_3480/J_ALTUI_uimgr.js:3022:17)
at _deviceDrawControlPanelOneTabContent (http://192.168.70.6/port_3480/J_ALTUI_uimgr.js:3717:8)
at _displayActiveDeviceTab (http://192.168.70.6/port_3480/J_ALTUI_uimgr.js:3744:4)
at HTMLAnchorElement. (http://192.168.70.6/port_3480/J_ALTUI_uimgr.js:7036:4)
at HTMLDivElement.dispatch (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:42571)
at HTMLDivElement.v.handle (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:40572)
at Object.trigger (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:70627)
at HTMLAnchorElement. (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:71222)
at Function.each (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:2777)C
-
I just posted the update 2.52x on github... As for you errors, it is looking for functions which are in the J_IPhone.js file. It is either missing the file or the pointer to it. Make sure that all the files are present in the vera: Run the full update from the vera app store and then drop in the files from GitHub.
-
Given the fact that I run the Here version just fine on openLuup and that I made no changes to these functions, this is getting really weird.
Are you trying to access the settings from UI7 or from ALTUI?If from ALTUI, maybe go look at the ALTUI device and under settings/config field and find the sections calling out IPhoneLocator.
I suspect there is something going on there which got modified.
I am also wondering if the file gets compressed and/or placed in the wrong location and can't be found when you upload it from the UI on the new vera firmware being part of the problem. -
If you want, we can brute force our way through this by merging the two user-data.json from before the update (backup) with your current one. I have done this in the past... I can walk you through it if you want. Not much risk if you have a backup although it is very error prone and might get you very frustrated...
-
-rw-r--r-- 1 root root 67935 Jun 9 22:16 L_IPhone.lua
-rw-r--r-- 1 root root 26729 Jun 9 21:45 L_IPhone.lua.lzo-rw-r--r-- 1 root root 43216 Jun 9 22:16 J_IPhone.js
-rw-r--r-- 1 root root 17241 Jun 9 21:45 J_IPhone.js.lzoI've reloaded Luup
Using UI7 I get
Error executing function iphone_Settings(): on the settings tab
Error executing function iphone_Map(): on the Map tab.Although the address location is correct
In AltUI settings tab:
an error occurred while displaying the javascript tab. devid: 0-246 err:iphone_Settings is not defined
stack:ReferenceError: iphone_Settings is not defined
at eval (eval at _deviceDrawControlPanelJSTab (http://192.168.70.6/port_3480/J_ALTUI_uimgr.js:3022:17), :1:1)
at _deviceDrawControlPanelJSTab (http://192.168.70.6/port_3480/J_ALTUI_uimgr.js:3022:17)
at _deviceDrawControlPanelOneTabContent (http://192.168.70.6/port_3480/J_ALTUI_uimgr.js:3717:8)
at _displayActiveDeviceTab (http://192.168.70.6/port_3480/J_ALTUI_uimgr.js:3744:4)
at HTMLAnchorElement. (http://192.168.70.6/port_3480/J_ALTUI_uimgr.js:7036:4)
at HTMLDivElement.dispatch (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:42571)
at HTMLDivElement.v.handle (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:40572)
at Object.trigger (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:70627)
at HTMLAnchorElement. (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:71222)
at Function.each (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:2777)And in Map tab
an error occurred while displaying the javascript tab. devid: 0-246 err:iphone_Map is not defined
stack:ReferenceError: iphone_Map is not defined
at eval (eval at _deviceDrawControlPanelJSTab (http://192.168.70.6/port_3480/J_ALTUI_uimgr.js:3022:17), :1:1)
at _deviceDrawControlPanelJSTab (http://192.168.70.6/port_3480/J_ALTUI_uimgr.js:3022:17)
at _deviceDrawControlPanelOneTabContent (http://192.168.70.6/port_3480/J_ALTUI_uimgr.js:3717:8)
at _displayActiveDeviceTab (http://192.168.70.6/port_3480/J_ALTUI_uimgr.js:3744:4)
at HTMLAnchorElement. (http://192.168.70.6/port_3480/J_ALTUI_uimgr.js:7036:4)
at HTMLDivElement.dispatch (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:42571)
at HTMLDivElement.v.handle (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:40572)
at Object.trigger (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:70627)
at HTMLAnchorElement. (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:71222)
at Function.each (http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js:2:2777)That would be cool, but late for me now. I'll get a backup tomorrow and perhaps we can try then?
As ever, appreciate your help!
C