Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After Upgrade Re-Installation raises an error #77

Closed
whoami-pi opened this issue Aug 21, 2023 · 5 comments
Closed

After Upgrade Re-Installation raises an error #77

whoami-pi opened this issue Aug 21, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@whoami-pi
Copy link

Hi,

have upgraded to version 1.2.3 running on HA 10.5 with 2023.8.3.

I've Nilan integrated via Serial, which was working now for a while.

Now after the HACS Upgrade, restart of HA and unplug/plug of Nilan USB, I've clicked on "Add Integration" and have selected the Interface type "Serial".

Normally next step is the selection of the usb path but now the system is throwing a popup with title "Fehler" without any further information.
image

Enabling log, restart HA and trying same to find this in the system log.

Any idea how to solve it?

`Logger: aiohttp.server
Source: data_entry_flow.py:398
First occurred: 19:24:21 (1 occurrences)
Last logged: 19:24:21

Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 85, in security_filter_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 148, in handle
result = await handler(request, **request.match_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 181, in post
return await super().post(request, flow_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper
result = await method(view, request, data, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
result = await self._flow_mgr.async_configure(flow_id, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 292, in async_configure
result = await self._async_handle_step(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 398, in _async_handle_step
if not isinstance(result["type"], FlowResultType):
~~~~~~^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
`

@veista
Copy link
Owner

veista commented Aug 22, 2023

Hi, that is odd. Can you test if version 1.1.x works?

@whoami-pi
Copy link
Author

Hi, that is odd. Can you test if version 1.1.x works?

Hi, thanks for your quick response. Going back to version 1.1.19 works perfectly again.

@veista veista added the bug Something isn't working label Aug 22, 2023
@veista
Copy link
Owner

veista commented Aug 22, 2023

Great. It will take some time to get this issue fixed since I am on a business trip atm.

@jires
Copy link

jires commented Aug 22, 2023

I encountered same issue. Revert to 1.1.19 last working version.

@veista
Copy link
Owner

veista commented Aug 23, 2023

This issue should now be resolved in 1.2.4. I don't know how but an indentation got slipped into the serial part breaking it. It was a simple fix.

@veista veista closed this as completed Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants