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

Google Calendar 404 issue #138606

Closed
Cptkex82 opened this issue Feb 15, 2025 · 5 comments
Closed

Google Calendar 404 issue #138606

Cptkex82 opened this issue Feb 15, 2025 · 5 comments
Assignees

Comments

@Cptkex82
Copy link

The problem

Hi.

Since 2025.2 i have a reocurring issue with Google Calendar integration.

With every restart, error 404 occurs and the plugin isnt loaded.

Solution is to delete the calendar integration and restart. Upon restart Google Calendar is still there but working.

What version of Home Assistant Core has the issue?

Core 2025.2.4

What was the last working version of Home Assistant Core?

2025.1.x

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Google calendar

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?

Logger: homeassistant.setup
Source: setup.py:340
First occurred: 17:26:01 (1 occurrences)
Last logged: 17:26:01

Setup failed for 'google': Unable to import component: No module named 'ical.recurrence'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 340, in _async_setup_component
    component = await integration.async_get_component()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1035, in async_get_component
    self._component_future.result()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1015, in async_get_component
    comp = await self.hass.async_add_import_executor_job(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        self._get_component, True
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1075, in _get_component
    ComponentProtocol, importlib.import_module(self.pkg_path)
                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/util/loop.py", line 201, in protected_loop_func
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/src/homeassistant/homeassistant/components/google/__init__.py", line 11, in <module>
    from gcal_sync.api import GoogleCalendarService
  File "/usr/local/lib/python3.13/site-packages/gcal_sync/api.py", line 41, in <module>
    from .model import (
    ...<7 lines>...
    )
  File "/usr/local/lib/python3.13/site-packages/gcal_sync/model.py", line 19, in <module>
    from ical.recurrence import Recurrences
ModuleNotFoundError: No module named 'ical.recurrence'

Additional information

No response

@CloCkWeRX
Copy link
Contributor

Possibly related: #138468

@home-assistant
Copy link

@home-assistant
Copy link

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

Code owner commands

Code owners of google 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 google 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)


google documentation
google source
(message by IssueLinks)

@allenporter
Copy link
Contributor

Duplicate of #138341

@allenporter allenporter marked this as a duplicate of #138341 Feb 23, 2025
@allenporter
Copy link
Contributor

Duplicate of #137533

@allenporter allenporter marked this as a duplicate of #137533 Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants