Skip to content

Ignore more loading errors#14331

Merged
balloob merged 1 commit intodevfrom
loader-restore-logic-pt2
May 7, 2018
Merged

Ignore more loading errors#14331
balloob merged 1 commit intodevfrom
loader-restore-logic-pt2

Conversation

@balloob
Copy link
Copy Markdown
Member

@balloob balloob commented May 7, 2018

Description:

Realized I did not restore some part of error avoiding logic in #14327. Adding it back.

Fixes:

2018-05-07 10:28:15 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.automation.state. Make sure all dependencies are installed
Traceback (most recent call last):
  File "/Users/paulus.schoutsen/dev/hass/home-assistant/homeassistant/loader.py", line 86, in get_component
    module = importlib.import_module(path)
  File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 941, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'custom_components.automation'

@balloob balloob added this to the 0.69 milestone May 7, 2018
@balloob balloob requested a review from a team as a code owner May 7, 2018 14:29
@homeassistant homeassistant added cla-signed core small-pr PRs with less than 30 lines. labels May 7, 2018
@balloob balloob merged commit c716624 into dev May 7, 2018
balloob added a commit that referenced this pull request May 7, 2018
@balloob balloob deleted the loader-restore-logic-pt2 branch May 7, 2018 17:13
@MartinHjelmare MartinHjelmare mentioned this pull request May 7, 2018
8 tasks
@balloob balloob mentioned this pull request May 11, 2018
girlpunk pushed a commit to girlpunk/home-assistant that referenced this pull request Sep 4, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Sep 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants