oneklakes Posted July 20 Posted July 20 I installed the new version and it doesn't find my bridge. Log shows the following errors: 024-07-19 16:28:05.442 MainThread udi_interface ERROR udi_interface:write: Traceback (most recent call last): 2024-07-19 16:28:05.442 MainThread udi_interface ERROR udi_interface:write: Traceback (most recent call last): 2024-07-19 16:28:05.443 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db95945a0_2/main.py", line 9, in <module> 2024-07-19 16:28:05.445 MainThread udi_interface ERROR udi_interface:write: from bondns import BondNS 2024-07-19 16:28:05.446 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db95945a0_2/bondns/__init__.py", line 5, in <module> 2024-07-19 16:28:05.443 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db95945a0_2/main.py", line 9, in <module> 2024-07-19 16:28:05.445 MainThread udi_interface ERROR udi_interface:write: from bondns import BondNS 2024-07-19 16:28:05.446 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db95945a0_2/bondns/__init__.py", line 5, in <module> 2024-07-19 16:28:05.448 MainThread udi_interface ERROR udi_interface:write: from .bondns import BondNS 2024-07-19 16:28:05.449 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db95945a0_2/bondns/bondns.py", line 14, in <module> 2024-07-19 16:28:05.448 MainThread udi_interface ERROR udi_interface:write: from .bondns import BondNS 2024-07-19 16:28:05.449 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db95945a0_2/bondns/bondns.py", line 14, in <module> 2024-07-19 16:28:05.451 MainThread udi_interface ERROR udi_interface:write: from .nodes import Bridge, Generic, CeilingFan, Light, NoDimLight, Shade, Fireplace, KeypadButton 2024-07-19 16:28:05.452 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db95945a0_2/bondns/nodes.py", line 13, in <module> 2024-07-19 16:28:05.454 MainThread udi_interface ERROR udi_interface:write: from .bondapi import * 2024-07-19 16:28:05.451 MainThread udi_interface ERROR udi_interface:write: from .nodes import Bridge, Generic, CeilingFan, Light, NoDimLight, Shade, Fireplace, KeypadButton 2024-07-19 16:28:05.452 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db95945a0_2/bondns/nodes.py", line 13, in <module> 2024-07-19 16:28:05.454 MainThread udi_interface ERROR udi_interface:write: from .bondapi import * 2024-07-19 16:28:05.455 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db95945a0_2/bondns/bondapi.py", line 177, in <module> 2024-07-19 16:28:05.458 MainThread udi_interface ERROR udi_interface:write: class bondBridgeConnection(object): 2024-07-19 16:28:05.459 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db95945a0_2/bondns/bondapi.py", line 180, in bondBridgeConnection 2024-07-19 16:28:05.455 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db95945a0_2/bondns/bondapi.py", line 177, in <module> 2024-07-19 16:28:05.458 MainThread udi_interface ERROR udi_interface:write: class bondBridgeConnection(object): 2024-07-19 16:28:05.459 MainThread udi_interface ERROR udi_interface:write: File "/var/polyglot/pg3/ns/000db95945a0_2/bondns/bondapi.py", line 180, in bondBridgeConnection 2024-07-19 16:28:05.461 MainThread udi_interface ERROR udi_interface:write: def __init__(self, hostName: str, token: str, stateCallback: Callable | None = None, eventCallback: Callable | None = None, logger: logging.Logger = _LOGGER): 2024-07-19 16:28:05.462 MainThread udi_interface ERROR udi_interface:write: TypeError 2024-07-19 16:28:05.463 MainThread udi_interface ERROR udi_interface:write: : 2024-07-19 16:28:05.464 MainThread udi_interface ERROR udi_interface:write: unsupported operand type(s) for |: '_CallableType' and 'NoneType' 2024-07-19 16:28:05.461 MainThread udi_interface ERROR udi_interface:write: def __init__(self, hostName: str, token: str, stateCallback: Callable | None = None, eventCallback: Callable | None = None, logger: logging.Logger = _LOGGER): 2024-07-19 16:28:05.462 MainThread udi_interface ERROR udi_interface:write: TypeError 2024-07-19 16:28:05.463 MainThread udi_interface ERROR udi_interface:write: : 2024-07-19 16:28:05.464 MainThread udi_interface ERROR udi_interface:write: unsupported operand type(s) for |: '_CallableType' and 'NoneType' I tried entering the IP and token manually and also reinstalled the plugin but neither of these steps worked. Currently running PG3X 3.2.22 and IoX 5.8.3 on Polisy.
Goose66 Posted July 20 Posted July 20 (edited) That’s an error I would have expected if you were still on IoX 5.8.0 (Python 3.9). Are you sure your IoX upgrade went OK? Edited July 20 by Goose66
oneklakes Posted July 20 Author Posted July 20 @Goose66 I think so. AC, PG3 and UD Mobile all show 5.8.3. I did the upgrade a while ago and this is the first hiccup since then.
oneklakes Posted July 22 Author Posted July 22 @Goose66Just checking back if there is a solution. If not, is there a way I can just re-install v3.1.x of the plugin since that was working before? Thanks!
Solution oneklakes Posted July 26 Author Solution Posted July 26 I was able to get the plugin running by updating my Polisy to 5.8.4 1
Recommended Posts