Giter VIP home page Giter VIP logo

Comments (6)

Limych avatar Limych commented on May 30, 2024

Thank you.
But, please correct the bug report according to the provided template.

from ha-gismeteo.

shadowpanther avatar shadowpanther commented on May 30, 2024

Same error here.
Trying to add the integration via the Integrations list (as opposed to going through the config file).
Found Gismeteo, clicked. The message popped up "Error. Config flow could not be loaded".
In the log there is almost the same stacktrace as @bigbrother72 pasted. My copy follows:

home-assistant   | 2021-03-06 04:24:47 ERROR (MainThread) [aiohttp.server] Error handling request
home-assistant   | Traceback (most recent call last):
home-assistant   |   File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
home-assistant   |     resp = await self._request_handler(request)
home-assistant   |   File "/usr/local/lib/python3.8/site-packages/aiohttp/web_app.py", line 499, in _handle
home-assistant   |     resp = await handler(request)
home-assistant   |   File "/usr/local/lib/python3.8/site-packages/aiohttp/web_middlewares.py", line 119, in impl
home-assistant   |     return await handler(request)
home-assistant   |   File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 56, in security_filter_middleware
home-assistant   |     return await handler(request)
home-assistant   |   File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 172, in forwarded_middleware
home-assistant   |     return await handler(request)
home-assistant   |   File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 18, in request_context_middleware
home-assistant   |     return await handler(request)
home-assistant   |   File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 72, in ban_middleware
home-assistant   |     return await handler(request)
home-assistant   |   File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 129, in auth_middleware
home-assistant   |     return await handler(request)
home-assistant   |   File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 129, in handle
home-assistant   |     result = await result
home-assistant   |   File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 117, in post
home-assistant   |     return await super().post(request)
home-assistant   |   File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 60, in wrapper
home-assistant   |     result = await method(view, request, *args, **kwargs)
home-assistant   |   File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 69, in post
home-assistant   |     result = await self._flow_mgr.async_init(
home-assistant   |   File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 133, in async_init
home-assistant   |     result = await self._async_handle_step(
home-assistant   |   File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 216, in _async_handle_step
home-assistant   |     result: Dict = await getattr(flow, method)(user_input)
home-assistant   |   File "/config/custom_components/gismeteo/config_flow.py", line 93, in async_step_user
home-assistant   |     default=self.hass.config.get(CONF_FORECAST, False),
home-assistant   | AttributeError: 'Config' object has no attribute 'get'

Home Assistant 2021.3.1
ha-gismeteo 2.1.1

Adding through the config works fine.

from ha-gismeteo.

Masterz69 avatar Masterz69 commented on May 30, 2024

Home Assistant OS 5.12, core-2021.3.0, HACS Gismeteo 2.1.1

Add-on installed Ok.
When try to add Integrations - "Config flow could not be loaded".

Core log - same as pasted @shadowpanther.

from ha-gismeteo.

barawkaa avatar barawkaa commented on May 30, 2024

Dont work
`2021-03-13 09:18:00 ERROR (MainThread) [aiohttp.server] Error handling request

Traceback (most recent call last):

File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request

resp = await self._request_handler(request)

File "/usr/local/lib/python3.8/site-packages/aiohttp/web_app.py", line 499, in _handle

resp = await handler(request)

File "/usr/local/lib/python3.8/site-packages/aiohttp/web_middlewares.py", line 119, in impl

return await handler(request)

File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 56, in security_filter_middleware

return await handler(request)

File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 18, in request_context_middleware

return await handler(request)

File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 72, in ban_middleware

return await handler(request)

File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 129, in auth_middleware

return await handler(request)

File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 129, in handle

result = await result

File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 117, in post

return await super().post(request)

File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 60, in wrapper

result = await method(view, request, *args, **kwargs)

File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 69, in post

result = await self._flow_mgr.async_init(

File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 133, in async_init

result = await self._async_handle_step(

File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 216, in _async_handle_step

result: Dict = await getattr(flow, method)(user_input)

File "/config/custom_components/gismeteo/config_flow.py", line 93, in async_step_user

default=self.hass.config.get(CONF_FORECAST, False),

AttributeError: 'Config' object has no attribute 'get'`

from ha-gismeteo.

no-response avatar no-response commented on May 30, 2024

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

from ha-gismeteo.

github-actions avatar github-actions commented on May 30, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from ha-gismeteo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.