pkauf Posted May 8, 2023 Share Posted May 8, 2023 I just converted my old ISY994i to Polisy Pro, and needed to convert my old PG2 Node servers to PG3. I installed the trial version of the Envisalink-DSC and get this error in the log file when it tries to start. Any idea what's wrong? 2023-05-08 10:46:25,857 MainThread udi_interface INFO __init__:<module>: UDI Python Interface for Polyglot version 3 3.0.59 Starting... 2023-05-08 10:46:25,869 MainThread udi_interface ERROR udi_interface:write: Traceback (most recent call last): 2023-05-08 10:46:25,870 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db9594074_3/./evldscns.py", line 11, in <module> 2023-05-08 10:46:25,871 MainThread udi_interface ERROR udi_interface:write: import evldscns 2023-05-08 10:46:25,872 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db9594074_3/evldscns/__init__.py", line 2, in <module> 2023-05-08 10:46:25,872 MainThread udi_interface ERROR udi_interface:write: from .nslib import Nodeserver, Node, getValidNodeAddress, getValidNodeName 2023-05-08 10:46:25,873 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db9594074_3/evldscns/nslib.py", line 1 2023-05-08 10:46:25,873 MainThread udi_interface ERROR udi_interface:write: poly 2023-05-08 10:46:25,874 MainThread udi_interface ERROR udi_interface:write: IndentationError 2023-05-08 10:46:25,874 MainThread udi_interface ERROR udi_interface:write: : 2023-05-08 10:46:25,875 MainThread udi_interface ERROR udi_interface:write: unexpected indent Link to comment
gzahar Posted May 8, 2023 Share Posted May 8, 2023 (edited) 14 minutes ago, pkauf said: I just converted my old ISY994i to Polisy Pro, and needed to convert my old PG2 Node servers to PG3. I installed the trial version of the Envisalink-DSC and get this error in the log file when it tries to start. Any idea what's wrong? 2023-05-08 10:46:25,857 MainThread udi_interface INFO __init__:<module>: UDI Python Interface for Polyglot version 3 3.0.59 Starting... 2023-05-08 10:46:25,869 MainThread udi_interface ERROR udi_interface:write: Traceback (most recent call last): 2023-05-08 10:46:25,870 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db9594074_3/./evldscns.py", line 11, in <module> 2023-05-08 10:46:25,871 MainThread udi_interface ERROR udi_interface:write: import evldscns 2023-05-08 10:46:25,872 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db9594074_3/evldscns/__init__.py", line 2, in <module> 2023-05-08 10:46:25,872 MainThread udi_interface ERROR udi_interface:write: from .nslib import Nodeserver, Node, getValidNodeAddress, getValidNodeName 2023-05-08 10:46:25,873 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db9594074_3/evldscns/nslib.py", line 1 2023-05-08 10:46:25,873 MainThread udi_interface ERROR udi_interface:write: poly 2023-05-08 10:46:25,874 MainThread udi_interface ERROR udi_interface:write: IndentationError 2023-05-08 10:46:25,874 MainThread udi_interface ERROR udi_interface:write: : 2023-05-08 10:46:25,875 MainThread udi_interface ERROR udi_interface:write: unexpected indent Not sure about the error, but make sure PG2 node server is stopped. The EVL interface can only have one (TPI) client interface logged in at a time. Edited May 8, 2023 by gzahar Link to comment
Geddy Posted May 8, 2023 Share Posted May 8, 2023 @pkauf when posting error logs to the forums please use the code block function (in the menu bar looks like "<>")and paste as plain text. Using the code block will format it nicer/cleaner and be easier to read for people trying to help. It will also get rid of the black background you see in your original post. Just using ctrl+shift+v will paste as plain text and be easier to read, but many developers have asked to use the code block if just posting a portion of the log file. Otherwise, downloading the full log and sending it to them in PM is the preferred (more private) method. Usually the developer will reply to the post asking for the log file, then send in PM. Link to comment
DennisC Posted May 9, 2023 Share Posted May 9, 2023 Besides everything mentioned above, check to make sure everything is correct on the Configuration tab of the node server. Link to comment
bpwwer Posted May 9, 2023 Share Posted May 9, 2023 Just to follow up, I spent some time with @pkauf and this is what we found. Node servers that install from a .zip package are getting installed with some of the files (seems like mostly the Python files) corrupted. The files contents are all there, but the order in the file is wrong. Usually a chunk of the code from the middle of the file ends up at the beginning. This causes the Python interpreter to fail, no surprise. Node servers that install from a git repository are fine. No idea why this is happening. I replaced all the PG3 files on the system and replaced the node.js module that does the unzipping in PG3 with no change. The FreeBSD unzip program works fine unzipping the same files. If anyone has any ideas, let us know. 1 Link to comment
pkauf Posted May 9, 2023 Author Share Posted May 9, 2023 Want to also say thanks to @bpwwer for spending a couple hours remotely on my system trying to figure this out. Very bizarre problem, doesn't make sense. Really learned a lot about the entire config by watching him troubleshoot. Thanks again! 2 Link to comment
Recommended Posts