UniversalDevicesInc / UD-Mobile-iOS

Issue-only repository for tracking issues related to the UD Mobile iOS App
6 stars 0 forks source link

Empty Editor should not show as ERROR #51

Closed macjeff closed 2 years ago

macjeff commented 2 years ago

I installed Pg3 and updated most nodeservers but still a few not ready for Pg3 so also running Pg2.

I just did my first sync on UD Mobile since then. Attached is screenshot of error code. I have no network resources so that error is normal but its the first one.

thanks,

Jef Screenshot 2022-02-17 at 8 02 14 PM f

JavierRefuerzo commented 2 years ago

Hi Jeff,

Number 2 can be ignored.

Number 1: What Node Server is installed in slot 11? Is the same error presented every time synchronization occurs?

macjeff commented 2 years ago

Tried 3 syncs. Same error code. With that said...Slot 11 was INVENTORY under Pg2 but he renamed it to ST Inventory for PG3 so I had to delete it from PG2 and Add it (Same slot) in PG3. Its a simple one for you to install. You just put your ISY IP and user name and password for ISY and it does an inventory of all your apps, programs, nodes, etc.

That brings up a possibility. One of the nodes inside that nodeserver has the number of Network Resources. I dont use them and version 1.0 kept crashing. He told me it was because it was bringing in NULL data. So he pushed a new version that allows for Null Data. So I wonder if error 1 that I had is basically the same error as #2 error I sent. Its telling me I dont have any network resources. Not 100% sure but it would make sense. The node in that node server is GV9 which is zero. This might not be it.

You can install it and its so easy to configure I could install and uninstall it in 5 min tomorrow.

JavierRefuerzo commented 2 years ago

Hi Jeff,

Number 1 and 2 are not related in the the app. Number 2 is null, so that could have caused the issue in the Node Server.

It is possible, although I have not encountered this before, that the Node Server does not have an editor file. If this is the case the error can be ignored and I will change the error message to "Possible error" in the future. The possible errors are only to alert user in case the app is not functioning correctly. This allows us to have a starting point for diagnostic.

Is the node server in slot 11 working correctly in the app? Can you post the output of the Node Server files request? /rest/profiles/family/10/files

macjeff commented 2 years ago

I just get this 404

this is URL I am using http://macjeff:#######@172.16.1.225:58888//rest/profiles/family/10/files

macjeff commented 2 years ago

also emailed the developer of the nodeserver to check on adding editor file

JavierRefuerzo commented 2 years ago

If using chrome and on the local network, the browser will prompt for credentials so no need to add them in the url. The url posted also has two forward slashes before "rest". Assuming this is on Polisy the default port is 8080. If this is remote and you have ISY portal replace ipaddres:8080 with URL to ISY. http://ipaddress:8080/rest/profiles/family/10/files

macjeff commented 2 years ago

Now I get a login and then the UD logo in the FavIcon so I know I am there. but page is blank

JavierRefuerzo commented 2 years ago

Sorry, I just noticed that part of my url was removed due to formatting should be something like this, fix org comment. http://192.168.1.160:8080/rest/profiles/family/10/files what url are you using?

macjeff commented 2 years ago
<profiles>
<profile family="10" id="1">
<files dir="NLS">
<file name="EN_US.TXT"/>
</files>
<files dir="EDITOR">
<file name="I_EDIT.XML"/>
</files>
<files dir="NODEDEF">
<file name="I_NDEFS.XML"/>
</files>
</profile>
<profile family="10" id="2">
<files dir="NLS">
<file name="EN_US.TXT"/>
</files>
<files dir="NODEDEF">
<file name="NODEDEFS.XML"/>
</files>
<files dir="EDITOR">
<file name="EDITORS.XML"/>
</files>
</profile>
<profile family="10" id="3">
<files dir="NODEDEF">
<file name="NODEDEFS.XML"/>
</files>
<files dir="EDITOR">
<file name="EDITORS.XML"/>
</files>
<files dir="NLS">
<file name="EN_US.TXT"/>
</files>
</profile>
<profile family="10" id="4">
<files dir="NODEDEF">
<file name="NODEDEFS.XML"/>
<file name="CUSTOM.XML"/>
</files>
<files dir="EDITOR">
<file name="EDITORS.XML"/>
<file name="CUSTOM.XML"/>
</files>
<files dir="NLS">
<file name="EN_US.TXT"/>
</files>
</profile>
<profile family="10" id="5">
<files dir="NODEDEF">
<file name="NODEDEFS.XML"/>
</files>
<files dir="EDITOR">
<file name="EDITORS.XML"/>
</files>
<files dir="NLS">
<file name="EN_US.TXT"/>
</files>
</profile>
<profile family="10" id="6">
<files dir="NODEDEF">
<file name="NODEDEFS.XML"/>
</files>
<files dir="EDITOR">
<file name="EDITORS.XML"/>
</files>
<files dir="NLS">
<file name="EN_US.TXT"/>
</files>
</profile>
<profile family="10" id="7">
<files dir="NODEDEF">
<file name="NODEDEF.XML"/>
</files>
<files dir="EDITOR">
<file name="EDITORS.XML"/>
</files>
<files dir="NLS">
<file name="EN_US.TXT"/>
</files>
</profile>
<profile family="10" id="8">
<files dir="NODEDEF">
<file name="NODEDEFS.XML"/>
</files>
<files dir="EDITOR">
<file name="EDITORS.XML"/>
</files>
<files dir="NLS">
<file name="EN_US.TXT"/>
</files>
</profile>
<profile family="10" id="9">
<files dir="NODEDEF">
<file name="NODEDEFS.XML"/>
</files>
<files dir="EDITOR">
<file name="EDITORS.XML"/>
</files>
<files dir="NLS">
<file name="EN_US.TXT"/>
</files>
</profile>
<profile family="10" id="10">
<files dir="NODEDEF">
<file name="NODEDEFS.XML"/>
<file name="CUSTOM.XML"/>
</files>
<files dir="EDITOR">
<file name="CUSTOM.XML"/>
<file name="EDITORS.XML"/>
</files>
<files dir="NLS">
<file name="EN_US.TXT"/>
</files>
</profile>
<profile family="10" id="11">
<files dir="NODEDEF">
<file name="NODEDEFS.XML"/>
</files>
<files dir="EDITOR">
<file name="EDITORS.XML"/>
</files>
<files dir="NLS">
<file name="EN_US.TXT"/>
</files>
</profile>
<profile family="10" id="12">
<files dir="NODEDEF">
<file name="NODEDEFS.XML"/>
</files>
<files dir="EDITOR">
<file name="EDITORS.XML"/>
</files>
<files dir="NLS">
<file name="EN_US.TXT"/>
</files>
</profile>
<profile family="10" id="13">
<files dir="NODEDEF">
<file name="NODEDEF.XML"/>
</files>
<files dir="EDITOR">
<file name="EDITORS.XML"/>
</files>
<files dir="NLS">
<file name="EN_US.TXT"/>
</files>
</profile>
<profile family="10" id="14">
<files dir="NODEDEF">
<file name="NODEDEFS.XML"/>
</files>
<files dir="EDITOR">
<file name="EDITORS.XML"/>
</files>
<files dir="NLS">
<file name="EN_US.TXT"/>
</files>
</profile>
<profile family="10" id="15">
<files dir="NODEDEF">
<file name="NODEDEFS.XML"/>
<file name="ISYHOME.XML"/>
</files>
<files dir="EDITOR">
<file name="EDITORS.XML"/>
<file name="CUSTOM.XML"/>
<file name="ISYHOME.XML"/>
</files>
<files dir="NLS">
<file name="EN_US.TXT"/>
</files>
</profile>
<profile family="10" id="16">
<files dir="EDITOR">
<file name="EDITORS.XML"/>
</files>
<files dir="NODEDEF">
<file name="NODEDEF.XML"/>
</files>
<files dir="NLS">
<file name="EN_US.TXT"/>
</files>
</profile>
<profile family="10" id="17">
<files dir="NLS">
<file name="EN_US.TXT"/>
</files>
</profile>
<profile family="10" id="18">
<files dir="NODEDEF">
<file name="NODEDEF.XML"/>
</files>
<files dir="EDITOR">
<file name="EDITORS.XML"/>
</files>
<files dir="NLS">
<file name="EN_US.TXT"/>
</files>
</profile>
<profile family="10" id="19">
<files dir="NODEDEF">
<file name="NODEDEFS.XML"/>
</files>
<files dir="EDITOR">
<file name="EDITORS.XML"/>
</files>
<files dir="NLS">
<file name="EN_US.TXT"/>
</files>
</profile>
<profile family="10" id="20">
<files dir="NLS">
<file name="EN_US.TXT"/>
</files>
</profile>
<profile family="10" id="21">
<files dir="NODEDEF">
<file name="NODEDEF.XML"/>
</files>
<files dir="EDITOR">
<file name="EDITORS.XML"/>
</files>
<files dir="NLS">
<file name="EN_US.TXT"/>
</files>
</profile>
<profile family="10" id="22">
<files dir="NODEDEF">
<file name="NODEDEF.XML"/>
</files>
<files dir="NLS">
<file name="EN_US.TXT"/>
</files>
<files dir="EDITOR">
<file name="EDITORS.XML"/>
</files>
</profile>
<profile family="10" id="23">
<files dir="NODEDEF">
<file name="NODEDEFS.XML"/>
</files>
<files dir="EDITOR">
<file name="EDITORS.XML"/>
</files>
<files dir="NLS">
<file name="EN_US.TXT"/>
</files>
</profile>
</profiles>
macjeff commented 2 years ago

can you ready what I just sent. I cant see it on my end just in case I uploaded a txt file output.txt .

JavierRefuerzo commented 2 years ago

Thanks added formatting to your comment

JavierRefuerzo commented 2 years ago

Great. Looks like it has and editor. Please request the editor file and post here. The code button at the top of comments will allow it to be formatted correctly if pasted between the "`" symbols

http://192.168.1.160:8080/rest/profiles/family/10/profile/11/download/EDITOR/EDITORS.XML

macjeff commented 2 years ago

sorry now you lost me. I went to that file and got this This XML file does not appear to have any style information associated with it. The document tree is shown below. <editors></editors> so what do I do now?

JavierRefuerzo commented 2 years ago

Perfect, you have isolated the issue. I opened and issue with the developer below. Thanks for you assistance! https://github.com/simplextech/pg3_docs/issues/2

JavierRefuerzo commented 2 years ago

Jeff, Looks like the formatting was missed in your reply, I have edited it to show the correct values.

Is the node server working as intended? The Node server dev says it is empty, so this may fall under the possible errors category.

macjeff commented 2 years ago

Data is all good in the app and ISY. Just the error

JavierRefuerzo commented 2 years ago

Great. Empty Editor will be changed to a possible error.

JavierRefuerzo commented 2 years ago

Fixed in version 0.6.8