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

Error during setup of component assist_pipeline, Pls Help! #105725

Closed
yetio opened this issue Dec 14, 2023 · 3 comments
Closed

Error during setup of component assist_pipeline, Pls Help! #105725

yetio opened this issue Dec 14, 2023 · 3 comments

Comments

@yetio
Copy link

yetio commented Dec 14, 2023

The problem

Logger: homeassistant.setup
Source: setup.py:288
First occurred: 18:11:36 (1 occurrences)
Last logged: 18:11:36

Error during setup of component assist_pipeline
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 288, in _async_setup_component
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/assist_pipeline/init.py", line 64, in async_setup
await async_setup_pipeline_store(hass)
File "/usr/src/homeassistant/homeassistant/helpers/singleton.py", line 41, in async_wrapped
result = await func(hass)
^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/assist_pipeline/pipeline.py", line 1683, in async_setup_pipeline_store
await pipeline_store.async_load()
File "/usr/src/homeassistant/homeassistant/helpers/collection.py", line 267, in async_load
if not (raw_storage := await self._async_load_data()):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/assist_pipeline/pipeline.py", line 1434, in _async_load_data
pipeline = await _async_create_default_pipeline(self.hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/assist_pipeline/pipeline.py", line 224, in _async_create_default_pipeline
pipeline_settings = await _async_resolve_default_pipeline_settings(hass, None, None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/assist_pipeline/pipeline.py", line 138, in _async_resolve_default_pipeline_settings
await conversation.async_get_conversation_languages(
File "/usr/src/homeassistant/homeassistant/components/conversation/init.py", line 144, in async_get_conversation_languages
if agent.supported_languages == MATCH_ALL:
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'DefaultAgent' object has no attribute 'supported_languages'

What version of Home Assistant Core has the issue?

core-2023.11.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

assist_pipeline

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

default_config:

Anything in the logs that might be useful for us?

Invalid config
The following integrations and platforms could not be set up:

assist_pipeline (Show logs)
default_config (Show logs)
Please check your config and logs.




Logger: homeassistant.setup
Source: setup.py:159
First occurred: 18:13:23 (1 occurrences)
Last logged: 18:13:23

Unable to set up dependencies of default_config. Setup failed for dependencies: assist_pipeline

Logger: homeassistant.setup
Source: setup.py:185
First occurred: 18:13:23 (1 occurrences)
Last logged: 18:13:23

Setup failed for default_config: (DependencyError(...), 'Could not setup dependencies: assist_pipeline')

Additional information

No response

@yetio
Copy link
Author

yetio commented Dec 14, 2023

same as #92446

@home-assistant
Copy link

Hey there @balloob, @synesthesiam, mind taking a look at this issue as it has been labeled with an integration (assist_pipeline) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of assist_pipeline can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign assist_pipeline Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


assist_pipeline documentation
assist_pipeline source
(message by IssueLinks)

@yetio
Copy link
Author

yetio commented Dec 16, 2023

seems the conflict with certain integration, since the error gone after rebooting into the safe mode.

@yetio yetio closed this as completed Dec 16, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jan 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants