-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
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
Detected blocking call to import_module with args ('homeassistant.components.google',) #142375
Comments
Hey there @allenporter, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) google documentation |
|
Does this occur in safe mode? Wondering if a custom component is messing with python version pinning |
Marking duplicate of #139405 |
How do you see this as a duplicate? Were you able to reproduce or figure the pinning?
…On Apr 6, 2025 at 7:31 AM -0700, Allen Porter ***@***.***>, wrote:
Marking duplicate of #139405
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
allenporter left a comment (home-assistant/core#142375)
Marking duplicate of #139405
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Just to be clear I stopped using the airvisual plugin. It’s not part of my setup.
…On Apr 6, 2025 at 7:31 AM -0700, Allen Porter ***@***.***>, wrote:
Marking duplicate of #139405
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
allenporter left a comment (home-assistant/core#142375)
Marking duplicate of #139405
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
The reason this is a duplicate is because of this error message from the stack trace with the root cause comes from the
This library is used by both integrations. |
Thank you!
…On Apr 6, 2025 at 7:51 AM -0700, Allen Porter ***@***.***>, wrote:
The reason this is a duplicate is because of this error message from the stack trace with the root cause comes from the pyasn1 library that is used by Google's oauth library:
File "/usr/src/homeassistant/homeassistant/components/google/__init__.py", line 35, in <module>
from .api import ApiAuthImpl, get_feature_access
File "/usr/src/homeassistant/homeassistant/components/google/api.py", line 11, in <module>
from oauth2client.client import (
...<5 lines>...
)
File "/usr/local/lib/python3.13/site-packages/oauth2client/client.py", line 45, in <module>
from oauth2client import crypt
File "/usr/local/lib/python3.13/site-packages/oauth2client/crypt.py", line 23, in <module>
from oauth2client import _pure_python_crypt
File "/usr/local/lib/python3.13/site-packages/oauth2client/_pure_python_crypt.py", line 22, in <module>
from pyasn1.codec.der import decoder
File "/usr/local/lib/python3.13/site-packages/pyasn1/codec/der/decoder.py", line 7, in <module>
from pyasn1.codec.cer import decoder
File "/usr/local/lib/python3.13/site-packages/pyasn1/codec/cer/decoder.py", line 15, in <module>
class BooleanDecoder(decoder.AbstractSimpleDecoder):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/pyasn1/codec/ber/decoder.py", line 2189, in __getattr__
AttributeError: AbstractSimpleDecoder. Did you mean: 'AbstractPayloadDecoder'?
This library is used by both integrations.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
allenporter left a comment (home-assistant/core#142375)
The reason this is a duplicate is because of this error message from the stack trace with the root cause comes from the pyasn1 library that is used by Google's oauth library:
File "/usr/src/homeassistant/homeassistant/components/google/__init__.py", line 35, in <module>
from .api import ApiAuthImpl, get_feature_access
File "/usr/src/homeassistant/homeassistant/components/google/api.py", line 11, in <module>
from oauth2client.client import (
...<5 lines>...
)
File "/usr/local/lib/python3.13/site-packages/oauth2client/client.py", line 45, in <module>
from oauth2client import crypt
File "/usr/local/lib/python3.13/site-packages/oauth2client/crypt.py", line 23, in <module>
from oauth2client import _pure_python_crypt
File "/usr/local/lib/python3.13/site-packages/oauth2client/_pure_python_crypt.py", line 22, in <module>
from pyasn1.codec.der import decoder
File "/usr/local/lib/python3.13/site-packages/pyasn1/codec/der/decoder.py", line 7, in <module>
from pyasn1.codec.cer import decoder
File "/usr/local/lib/python3.13/site-packages/pyasn1/codec/cer/decoder.py", line 15, in <module>
class BooleanDecoder(decoder.AbstractSimpleDecoder):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/pyasn1/codec/ber/decoder.py", line 2189, in __getattr__
AttributeError: AbstractSimpleDecoder. Did you mean: 'AbstractPayloadDecoder'?
This library is used by both integrations.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
The problem
Logger: homeassistant.util.loop
Source: util/loop.py:77
First occurred: 5:26:03 PM (1 occurrences)
Last logged: 5:26:03 PM
Detected blocking call to import_module with args ('homeassistant.components.google',) in /usr/src/homeassistant/homeassistant/loader.py, line 1052: ComponentProtocol, importlib.import_module(self.pkg_path) inside the event loop; This is causing stability issues. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#import_module
What version of Home Assistant Core has the issue?
core-2025.04.01
What was the last working version of Home Assistant Core?
core-2025.03.04
What type of installation are you running?
Home Assistant OS
Integration causing the issue
homeassistant.components.google
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: