| 7 Nov 2024 |
K900 | Good god | 06:20:25 |
symphorien | thank you for the merge | 07:19:56 |
Sandro 🐧 | In reply to @hexa:lossy.network bla, kernel 6.6.58 I had this actually already 3 weeks ago and couldn't figure out what it was | 13:28:42 |
K900 | Oh no | 18:47:09 |
K900 | Does the build HASS from source PR really need an electron | 18:47:17 |
@hexa:lossy.network | huh | 20:07:24 |
@hexa:lossy.network | K900: what are you seeing? | 20:07:32 |
K900 | It's downloading an electron | 20:08:29 |
@hexa:lossy.network | what for? | 20:08:35 |
K900 |  Download {DDD9FB21-7D4C-4A00-8199-B5F88F278318}.png | 20:09:00 |
@hexa:lossy.network | oh no | 20:09:10 |
@hexa:lossy.network | that is the new matter source build 🫠 | 20:09:17 |
symphorien | I saw Sandro found a way to remove the dependency on electron | 23:04:00 |
symphorien | I'll have a look tomorrow | 23:04:11 |
mattleon | We probably want electron_31-bin, not electron_31, right? | 23:09:09 |
@hexa:lossy.network | so we build the wheels from source, but use the binary electron for it? | 23:09:54 |
@hexa:lossy.network | that feels wrong | 23:10:07 |
| 8 Nov 2024 |
mattleon | In reply to @k900:0upti.me Does the build HASS from source PR really need an electron To answer the direct question, yes, zap-chip is an electron app with a gui, that we execute as a cli-only app to generate files needed for the hass chip wheels build from source | 00:44:12 |
Sandro 🐧 | In reply to @symphorien:xlumurb.eu I saw Sandro found a way to remove the dependency on electron It is super hacky to be honest | 01:08:10 |
Sandro 🐧 | Also I am not sure if some part is not just swallowing the errors. It all deployed and build but I don't have matter devices | 01:08:52 |
| liv [she/her] changed their display name from olivia to liv [she/her]. | 04:17:37 |
K900 | In reply to@mattleon:matrix.org To answer the direct question, yes, zap-chip is an electron app with a gui, that we execute as a cli-only app to generate files needed for the hass chip wheels build from source Yeah that was more of a rhetorical question | 05:50:41 |
K900 | Hm, I wonder if I can get this Google TV box added to Home Assistant as a Thread gateway | 12:19:10 |
K900 | It's supposed to have the hardware | 12:19:16 |
K900 | Nov 08 13:01:19 qb matter-server[733517]: 2024-11-08 13:01:19.967 (MainThread) INFO [matter_server.server.stack] Initializing CHIP/Matter Logging...
Nov 08 13:01:19 qb matter-server[733517]: 2024-11-08 13:01:19.968 (MainThread) INFO [matter_server.server.stack] Initializing CHIP/Matter Controller Stack...
Nov 08 13:01:19 qb matter-server[733517]: 2024-11-08 13:01:19.968 (MainThread) ERROR [root] Uncaught exception
Nov 08 13:01:19 qb matter-server[733517]: Traceback (most recent call last):
Nov 08 13:01:19 qb matter-server[733517]: File "/nix/store/0aqlw4i2k039flcqmzfcxmj4qs3q9zig-python3.12-python-matter-server-6.6.0/bin/.matter-server-wrapped", line 9, in <module>
Nov 08 13:01:19 qb matter-server[733517]: sys.exit(main())
Nov 08 13:01:19 qb matter-server[733517]: ^^^^^^
Nov 08 13:01:19 qb matter-server[733517]: File "/nix/store/0aqlw4i2k039flcqmzfcxmj4qs3q9zig-python3.12-python-matter-server-6.6.0/lib/python3.12/site-packages/matter_server/server/__main__.py", line 220, in >
Nov 08 13:01:19 qb matter-server[733517]: server = MatterServer(
Nov 08 13:01:19 qb matter-server[733517]: ^^^^^^^^^^^^^
Nov 08 13:01:19 qb matter-server[733517]: File "/nix/store/0aqlw4i2k039flcqmzfcxmj4qs3q9zig-python3.12-python-matter-server-6.6.0/lib/python3.12/site-packages/matter_server/server/server.py", line 138, in __>
Nov 08 13:01:19 qb matter-server[733517]: self.stack = MatterStack(self, bluetooth_adapter_id, enable_server_interactions)
Nov 08 13:01:19 qb matter-server[733517]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 13:01:19 qb matter-server[733517]: File "/nix/store/0aqlw4i2k039flcqmzfcxmj4qs3q9zig-python3.12-python-matter-server-6.6.0/lib/python3.12/site-packages/matter_server/server/stack.py", line 108, in __i>
Nov 08 13:01:19 qb matter-server[733517]: chip.native.Init(999 if bluetooth_adapter_id is None else bluetooth_adapter_id)
Nov 08 13:01:19 qb matter-server[733517]: File "/nix/store/b28kzyikpj0fzp87l0wb5xy165lzwbpl-python3.12-home-assistant-chip-core-2024.9.0/lib/python3.12/site-packages/chip/native/__init__.py", line 247, in In>
Nov 08 13:01:19 qb matter-server[733517]: handle = _GetLibraryHandle(Library.CONTROLLER, False)
Nov 08 13:01:19 qb matter-server[733517]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 13:01:19 qb matter-server[733517]: File "/nix/store/b28kzyikpj0fzp87l0wb5xy165lzwbpl-python3.12-home-assistant-chip-core-2024.9.0/lib/python3.12/site-packages/chip/native/__init__.py", line 220, in _G>
Nov 08 13:01:19 qb matter-server[733517]: handle = _Handle(ctypes.CDLL(FindNativeLibraryPath(lib)))
Nov 08 13:01:19 qb matter-server[733517]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 13:01:19 qb matter-server[733517]: File "/nix/store/zkzg2gaacmhc2i9ggp35dbl5x0y49531-python3-3.12.7/lib/python3.12/ctypes/__init__.py", line 379, in __init__
Nov 08 13:01:19 qb matter-server[733517]: self._handle = _dlopen(self._name, mode)
Nov 08 13:01:19 qb matter-server[733517]: ^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 13:01:19 qb matter-server[733517]: OSError: libnl-route-3.so.200: cannot open shared object file: No such file or directory
| 13:02:59 |
K900 | Uh oh | 13:03:00 |
K900 | Ping @symphorien @hexa | 13:04:27 |
mattleon | Another issue I discovered: since 2024.10.3, some change to nix's toYaml function caused "on" and "off" to be serialized to yaml as on and off, whereas they used to be 'on' and 'off'. It looks like home-assistant uses yaml 1.1, where these are literal bools, and nix is now outputting yaml 1.2, where quoteless on and off are interpreted as string literals. I tried double quoting them in nix, but then it's serialized to a double-quoted string in yaml, which doesn't parse either | 13:11:53 |
mattleon | In reply to @k900:0upti.me
Nov 08 13:01:19 qb matter-server[733517]: 2024-11-08 13:01:19.967 (MainThread) INFO [matter_server.server.stack] Initializing CHIP/Matter Logging...
Nov 08 13:01:19 qb matter-server[733517]: 2024-11-08 13:01:19.968 (MainThread) INFO [matter_server.server.stack] Initializing CHIP/Matter Controller Stack...
Nov 08 13:01:19 qb matter-server[733517]: 2024-11-08 13:01:19.968 (MainThread) ERROR [root] Uncaught exception
Nov 08 13:01:19 qb matter-server[733517]: Traceback (most recent call last):
Nov 08 13:01:19 qb matter-server[733517]: File "/nix/store/0aqlw4i2k039flcqmzfcxmj4qs3q9zig-python3.12-python-matter-server-6.6.0/bin/.matter-server-wrapped", line 9, in <module>
Nov 08 13:01:19 qb matter-server[733517]: sys.exit(main())
Nov 08 13:01:19 qb matter-server[733517]: ^^^^^^
Nov 08 13:01:19 qb matter-server[733517]: File "/nix/store/0aqlw4i2k039flcqmzfcxmj4qs3q9zig-python3.12-python-matter-server-6.6.0/lib/python3.12/site-packages/matter_server/server/__main__.py", line 220, in >
Nov 08 13:01:19 qb matter-server[733517]: server = MatterServer(
Nov 08 13:01:19 qb matter-server[733517]: ^^^^^^^^^^^^^
Nov 08 13:01:19 qb matter-server[733517]: File "/nix/store/0aqlw4i2k039flcqmzfcxmj4qs3q9zig-python3.12-python-matter-server-6.6.0/lib/python3.12/site-packages/matter_server/server/server.py", line 138, in __>
Nov 08 13:01:19 qb matter-server[733517]: self.stack = MatterStack(self, bluetooth_adapter_id, enable_server_interactions)
Nov 08 13:01:19 qb matter-server[733517]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 13:01:19 qb matter-server[733517]: File "/nix/store/0aqlw4i2k039flcqmzfcxmj4qs3q9zig-python3.12-python-matter-server-6.6.0/lib/python3.12/site-packages/matter_server/server/stack.py", line 108, in __i>
Nov 08 13:01:19 qb matter-server[733517]: chip.native.Init(999 if bluetooth_adapter_id is None else bluetooth_adapter_id)
Nov 08 13:01:19 qb matter-server[733517]: File "/nix/store/b28kzyikpj0fzp87l0wb5xy165lzwbpl-python3.12-home-assistant-chip-core-2024.9.0/lib/python3.12/site-packages/chip/native/__init__.py", line 247, in In>
Nov 08 13:01:19 qb matter-server[733517]: handle = _GetLibraryHandle(Library.CONTROLLER, False)
Nov 08 13:01:19 qb matter-server[733517]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 13:01:19 qb matter-server[733517]: File "/nix/store/b28kzyikpj0fzp87l0wb5xy165lzwbpl-python3.12-home-assistant-chip-core-2024.9.0/lib/python3.12/site-packages/chip/native/__init__.py", line 220, in _G>
Nov 08 13:01:19 qb matter-server[733517]: handle = _Handle(ctypes.CDLL(FindNativeLibraryPath(lib)))
Nov 08 13:01:19 qb matter-server[733517]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 13:01:19 qb matter-server[733517]: File "/nix/store/zkzg2gaacmhc2i9ggp35dbl5x0y49531-python3-3.12.7/lib/python3.12/ctypes/__init__.py", line 379, in __init__
Nov 08 13:01:19 qb matter-server[733517]: self._handle = _dlopen(self._name, mode)
Nov 08 13:01:19 qb matter-server[733517]: ^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 13:01:19 qb matter-server[733517]: OSError: libnl-route-3.so.200: cannot open shared object file: No such file or directory
I can repro this on aarch64: OSError: libnl-route-3.so.200: cannot open shared object file: No such file or directory | 13:12:32 |
mattleon | * Another issue I discovered: since 2024.10.3, some change to nix's toYaml function caused "on" and "off" to be serialized to yaml as on and off, whereas they used to be 'on' and 'off'. It looks like home-assistant uses yaml 1.1, where these are literal bools, and nix is now outputting yaml 1.2, where quoteless on and off are interpreted as string literals. I tried double quoting them in nix, but then it's serialized to a double-quoted string in yaml, which doesn't parse properly in hass either | 13:13:29 |