Jump to content

Unable to connect to Bridge after install of 3.2.14


Go to solution Solved by oneklakes,

Recommended Posts

Posted

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.

Posted (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 by Goose66
Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.4k
×
×
  • Create New...