Closed vinceg0267 closed 2 months ago
Describe the bug Configuration failed
Attach the debug log Registratore: homeassistant.config_entries Fonte: config_entries.py:604 Prima occorrenza: 18:19:08 (2 occorrenze) Ultima registrazione: 18:19:09
Error setting up entry 192.168.1.134 for solarman Error setting up entry Inverter for solarman Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/solarman/init.py", line 70, in async_setup_entry inverter = Inverter(inverter_host, inverter_serial, inverter_port, inverter_mb_slave_id, inverter_passthrough) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/solarman/api.py", line 149, in init super().init(address, serial, port, mb_slave_id, passthrough) File "/config/custom_components/solarman/api.py", line 27, in init super().init(address, serial, port = port, mb_slave_id = mb_slave_id, logger = _LOGGER, auto_reconnect = AUTO_RECONNECT, socket_timeout = TIMINGS_SOCKET_TIMEOUT) File "/usr/local/lib/python3.12/site-packages/pysolarmanv5/pysolarmanv5_async.py", line 65, in init self.data_wanted_ev = Event() ^^^^^^^ File "/usr/local/lib/python3.12/multiprocessing/context.py", line 93, in Event return Event(ctx=self.get_context()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/multiprocessing/synchronize.py", line 331, in init self._cond = ctx.Condition(ctx.Lock()) ^^^^^^^^^^ File "/usr/local/lib/python3.12/multiprocessing/context.py", line 68, in Lock return Lock(ctx=self.get_context()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/multiprocessing/synchronize.py", line 169, in init SemLock.init(self, SEMAPHORE, 1, 1, ctx=ctx) File "/usr/local/lib/python3.12/multiprocessing/synchronize.py", line 57, in init sl = self._semlock = _multiprocessing.SemLock( ^^^^^^^^^^^^^^^^^^^^^^^^^ OSError: [Errno 30] Read-only file system
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Metadata: Version: [e.g. v24.08.14]
Additional context Add any other context about the problem here.
Duplicate of #39
Sorry, I'm not an expert, what should I do to fix it?
Run: ha core rebuild in the HA's cli.
ha core rebuild
Describe the bug Configuration failed
Attach the debug log Registratore: homeassistant.config_entries Fonte: config_entries.py:604 Prima occorrenza: 18:19:08 (2 occorrenze) Ultima registrazione: 18:19:09
Error setting up entry 192.168.1.134 for solarman Error setting up entry Inverter for solarman Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/solarman/init.py", line 70, in async_setup_entry inverter = Inverter(inverter_host, inverter_serial, inverter_port, inverter_mb_slave_id, inverter_passthrough) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/solarman/api.py", line 149, in init super().init(address, serial, port, mb_slave_id, passthrough) File "/config/custom_components/solarman/api.py", line 27, in init super().init(address, serial, port = port, mb_slave_id = mb_slave_id, logger = _LOGGER, auto_reconnect = AUTO_RECONNECT, socket_timeout = TIMINGS_SOCKET_TIMEOUT) File "/usr/local/lib/python3.12/site-packages/pysolarmanv5/pysolarmanv5_async.py", line 65, in init self.data_wanted_ev = Event() ^^^^^^^ File "/usr/local/lib/python3.12/multiprocessing/context.py", line 93, in Event return Event(ctx=self.get_context()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/multiprocessing/synchronize.py", line 331, in init self._cond = ctx.Condition(ctx.Lock()) ^^^^^^^^^^ File "/usr/local/lib/python3.12/multiprocessing/context.py", line 68, in Lock return Lock(ctx=self.get_context()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/multiprocessing/synchronize.py", line 169, in init SemLock.init(self, SEMAPHORE, 1, 1, ctx=ctx) File "/usr/local/lib/python3.12/multiprocessing/synchronize.py", line 57, in init sl = self._semlock = _multiprocessing.SemLock( ^^^^^^^^^^^^^^^^^^^^^^^^^ OSError: [Errno 30] Read-only file system
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Metadata: Version: [e.g. v24.08.14]
Additional context Add any other context about the problem here.