Kevin Posted September 6, 2023 Posted September 6, 2023 I had to reinstall FreeBSD on my polisy and the I updated to pg3x and now I cant get the node to connect. IOX v 5.6.4 pg3x v 3.2.3 all my other NS installed and I have DEV Packages installed 2023-09-06 09:05:03,501 MainThread udi_interface INFO polylogger:set_basic_config: set_basic_config: enable=True level=30 2023-09-06 09:05:05,913 MainThread udi_interface INFO __init__:<module>: UDI Python Interface for Polyglot version 3 3.1.0 Starting... 2023-09-06 09:05:05,922 MainThread udi_interface ERROR udi_interface:write: Traceback (most recent call last): 2023-09-06 09:05:05,922 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db95edfb4_6/vue.py", line 10, in <module> 2023-09-06 09:05:05,924 MainThread udi_interface ERROR udi_interface:write: import pyemvue 2023-09-06 09:05:05,925 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db95edfb4_6/pyemvue/__init__.py", line 2, in <module> 2023-09-06 09:05:05,927 MainThread udi_interface ERROR udi_interface:write: from pyemvue.pyemvue import PyEmVue 2023-09-06 09:05:05,928 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db95edfb4_6/pyemvue/pyemvue.py", line 8, in <module> 2023-09-06 09:05:05,929 MainThread udi_interface ERROR udi_interface:write: import boto3 2023-09-06 09:05:05,931 MainThread udi_interface ERROR udi_interface:write: ModuleNotFoundError 2023-09-06 09:05:05,932 MainThread udi_interface ERROR udi_interface:write: : 2023-09-06 09:05:05,933 MainThread udi_interface ERROR udi_interface:write: No module named 'boto3' 2023-09-06 09:05:07,443 MainThread udi_interface INFO polylogger:set_basic_config: set_basic_config: enable=True level=30
bpwwer Posted September 6, 2023 Posted September 6, 2023 Try this: From the Admin Console Configuration tab, press the "Install Dev. Packages" button. Give it a minute or two to install Re-install the Vue node server
Kevin Posted September 6, 2023 Author Posted September 6, 2023 (edited) I uninstalled VUE and then ran the install Dev Pakage and the installed VUE and set the config. It did not work I get the same errors I have FreeBSD 13.1 I did an upgrade from the admin screen and a restore from backup before i did the upgrade dev package. I don't know the version number before I crashed the system but it was pg3x Edited September 6, 2023 by Kevin
bpwwer Posted September 6, 2023 Posted September 6, 2023 As background, some of the Python packages that are required to use the Emporia Vue library aren't available pre-compiled for FreeBSD. So, when installing the node server, those Python packages have to be built from source. If they fail to build, then you get the error that the module can't be found when trying to run the node server. By default, the Polisy doesn't have the tools installed to compile these packages from source. The Install Dev. Packages should install the tools needed. I just re-installed the node server and it installed correctly and runs without error. The install process does keep a log of what happens while installing the Python modules. It's in the node server's directory. In your case /var/polyglot/pg3/ns/000db95edfb4_6/install.log. From the command line you can do sudo more /var/polyglot/pg3/ns/000db95edfb4_6/install.log to look through the log. Failures that show up there are going to be OS related, not node server related.
Kevin Posted September 6, 2023 Author Posted September 6, 2023 I have know idea what went wrong or where but I do have and error at the end. Any Idea on how I can fix it. I could go back and reload the ssd with the image file but I am not sure what I did wrong. So I most likely end up hours later with the same thing.
bpwwer Posted September 6, 2023 Posted September 6, 2023 I don't know why it's failing either. Mine finishes with status 'done'. I think your best bet is to open a support ticket with UDI since this seems to be related to the system and not the node server.
Recommended Posts