thewebgeek Posted January 11, 2023 Posted January 11, 2023 Other than the username and password configuration items, is there something else you need to configure to get the node server to start?
tazman Posted January 12, 2023 Posted January 12, 2023 No is there anything in the log file that might shed some light on what is happening?
thewebgeek Posted January 13, 2023 Author Posted January 13, 2023 Quote No is there anything in the log file that might shed some light on what is happening? No - it doesn't seem to be generating any logs.
tazman Posted January 13, 2023 Posted January 13, 2023 What hardware and software versions are you running on? Have you checked the PG3 log and restarted PG3 after install?
thewebgeek Posted January 13, 2023 Author Posted January 13, 2023 (edited) Got the log (I'm an idiot, but thats a story for another day) Is there a way I can manually install the missing module on my ISY? 2023-01-13 15:33:29,570 MainThread udi_interface INFO polylogger:set_basic_config: set_basic_config: enable=True level=30 2023-01-13 15:33:29,975 MainThread udi_interface INFO __init__:<module>: UDI Python Interface for Polyglot version 3 3.0.51 Starting... 2023-01-13 15:33:29,976 MainThread udi_interface ERROR udi_interface:write: Traceback (most recent call last): 2023-01-13 15:33:29,976 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/0021b9025f8a_3/vue.py", line 10, in <module> 2023-01-13 15:33:29,977 MainThread udi_interface ERROR udi_interface:write: import pyemvue 2023-01-13 15:33:29,977 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/0021b9025f8a_3/pyemvue/__init__.py", line 2, in <module> 2023-01-13 15:33:29,977 MainThread udi_interface ERROR udi_interface:write: from pyemvue.pyemvue import PyEmVue 2023-01-13 15:33:29,977 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/0021b9025f8a_3/pyemvue/pyemvue.py", line 8, in <module> 2023-01-13 15:33:29,977 MainThread udi_interface ERROR udi_interface:write: import boto3 2023-01-13 15:33:29,977 MainThread udi_interface ERROR udi_interface:write: ModuleNotFoundError 2023-01-13 15:33:29,978 MainThread udi_interface ERROR udi_interface:write: : 2023-01-13 15:33:29,978 MainThread udi_interface ERROR udi_interface:write: No module named 'boto3' Edited January 13, 2023 by thewebgeek
thewebgeek Posted January 13, 2023 Author Posted January 13, 2023 Update - I tried installing the missing package, and made progress, but now something else is missing. sudo pkg install py39-boto3 - this fixed the missing boto3 module. See below for new missing item. I did some searching, but I'm not sure what package satisfies this one. 2023-01-13 15:57:00,630 MainThread udi_interface INFO polylogger:set_basic_config: set_basic_config: enable=True level=30 2023-01-13 15:57:01,035 MainThread udi_interface INFO __init__:<module>: UDI Python Interface for Polyglot version 3 3.0.51 Starting... 2023-01-13 15:57:01,120 MainThread udi_interface ERROR udi_interface:write: Traceback (most recent call last): 2023-01-13 15:57:01,120 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/0021b9025f8a_3/vue.py", line 10, in <module> 2023-01-13 15:57:01,120 MainThread udi_interface ERROR udi_interface:write: import pyemvue 2023-01-13 15:57:01,120 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/0021b9025f8a_3/pyemvue/__init__.py", line 2, in <module> 2023-01-13 15:57:01,120 MainThread udi_interface ERROR udi_interface:write: from pyemvue.pyemvue import PyEmVue 2023-01-13 15:57:01,121 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/0021b9025f8a_3/pyemvue/pyemvue.py", line 10, in <module> 2023-01-13 15:57:01,121 MainThread udi_interface ERROR udi_interface:write: from warrant import Cognito 2023-01-13 15:57:01,121 MainThread udi_interface ERROR udi_interface:write: ModuleNotFoundError 2023-01-13 15:57:01,121 MainThread udi_interface ERROR udi_interface:write: : 2023-01-13 15:57:01,121 MainThread udi_interface ERROR udi_interface:write: No module named 'warrant'
bpwwer Posted January 13, 2023 Posted January 13, 2023 Some node servers need to build the required modules and to do that they need development libraries installed. You can install the development libraryies with 'sudo /usr/local/etc/udx.d/static/udxops.sh install.dev.pkgs'
thewebgeek Posted January 13, 2023 Author Posted January 13, 2023 27 minutes ago, bpwwer said: build the required modules and to do that they need development libraries installed. You can install the development libraryies wit Ok, we're making progress. I installed those packages, and re-installed the Vue node server. See below for the new errors from the log file. 023-01-13 17:06:10,904 MainThread udi_interface INFO polylogger:set_basic_config: set_basic_config: enable=True level=30 2023-01-13 17:06:11,314 MainThread udi_interface INFO __init__:<module>: UDI Python Interface for Polyglot version 3 3.0.51 Starting... 2023-01-13 17:06:11,472 MainThread udi_interface ERROR udi_interface:write: Traceback (most recent call last): 2023-01-13 17:06:11,473 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/0021b9025f8a_3/vue.py", line 10, in <module> 2023-01-13 17:06:11,473 MainThread udi_interface ERROR udi_interface:write: import pyemvue 2023-01-13 17:06:11,473 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/0021b9025f8a_3/pyemvue/__init__.py", line 2, in <module> 2023-01-13 17:06:11,473 MainThread udi_interface ERROR udi_interface:write: from pyemvue.pyemvue import PyEmVue 2023-01-13 17:06:11,473 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/0021b9025f8a_3/pyemvue/pyemvue.py", line 10, in <module> 2023-01-13 17:06:11,474 MainThread udi_interface ERROR udi_interface:write: from warrant import Cognito 2023-01-13 17:06:11,474 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/0021b9025f8a_3/.local/lib/python3.9/site-packages/warrant/__init__.py", line 8, in <module> 2023-01-13 17:06:11,474 MainThread udi_interface ERROR udi_interface:write: from jose import jwt, JWTError 2023-01-13 17:06:11,474 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/0021b9025f8a_3/.local/lib/python3.9/site-packages/jose/jwt.py", line 11, in <module> 2023-01-13 17:06:11,474 MainThread udi_interface ERROR udi_interface:write: from jose import jws 2023-01-13 17:06:11,474 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/0021b9025f8a_3/.local/lib/python3.9/site-packages/jose/jws.py", line 8, in <module> 2023-01-13 17:06:11,475 MainThread udi_interface ERROR udi_interface:write: from jose import jwk 2023-01-13 17:06:11,475 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/0021b9025f8a_3/.local/lib/python3.9/site-packages/jose/jwk.py", line 10, in <module> 2023-01-13 17:06:11,475 MainThread udi_interface ERROR udi_interface:write: from jose.backends.base import Key 2023-01-13 17:06:11,475 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/0021b9025f8a_3/.local/lib/python3.9/site-packages/jose/backends/__init__.py", line 3, in <module> 2023-01-13 17:06:11,475 MainThread udi_interface ERROR udi_interface:write: from jose.backends.pycrypto_backend import RSAKey 2023-01-13 17:06:11,476 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/0021b9025f8a_3/.local/lib/python3.9/site-packages/jose/backends/pycrypto_backend.py", line 7, in <module> 2023-01-13 17:06:11,476 MainThread udi_interface ERROR udi_interface:write: from Crypto.PublicKey import RSA 2023-01-13 17:06:11,476 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/0021b9025f8a_3/.local/lib/python3.9/site-packages/Crypto/PublicKey/RSA.py", line 137 2023-01-13 17:06:11,476 MainThread udi_interface ERROR udi_interface:write: e, d, n, p, q, u = [self._key[comp] for comp in 'e', 'd', 'n', 'p', 'q', 'u'] 2023-01-13 17:06:11,476 MainThread udi_interface ERROR udi_interface:write: ^ 2023-01-13 17:06:11,476 MainThread udi_interface ERROR udi_interface:write: SyntaxError 2023-01-13 17:06:11,476 MainThread udi_interface ERROR udi_interface:write: : 2023-01-13 17:06:11,477 MainThread udi_interface ERROR udi_interface:write: invalid syntax
smileyw Posted February 21, 2023 Posted February 21, 2023 Did this get worked out? I have the same issue with the same log error (missing boto3) on a brand new eISY. I can install the dev libraries/modules, but will that fix it completely?
bpwwer Posted February 21, 2023 Posted February 21, 2023 when the right versions of the libraries are installed, the node server works. Getting the right versions installed when things seem to change daily on the system is the challenge.
TJF1960 Posted May 7, 2023 Posted May 7, 2023 Not to hijack this string, I just upgraded from Polisy to eisy, followed all instructions and found Vue ns had the same problem as the op @thewebgeek . I upgraded the dev packages as @bpwwer suggested and followed @thewebgeeklead and installed sudo pkg install py39-boto3, rebooted and Vue is now working beautifully! Thank you to both of you for forging the path! -Tim 1
Recommended Posts