You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`Logger: homeassistant.config_entries
Source: config_entries.py:586
First occurred: 22 July 2024 at 19:17:55 (4 occurrences)
Last logged: 22:20:57
Error setting up entry MAWAQIT - Madni Masjid for mawaqit
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 586, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/mawaqit/init.py", line 96, in async_setup_entry
if not await client.async_setup():
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/mawaqit/init.py", line 421, in async_setup
await self.hass.async_add_executor_job(self.get_new_prayer_times)
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/mawaqit/init.py", line 163, in get_new_prayer_times
f = open("{dir}/data/pray_time.txt".format(dir=current_dir), "r")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/config/custom_components/mawaqit/data/pray_time.txt'`
Any idea what is the fix needed?
The text was updated successfully, but these errors were encountered:
I get error "Failed to set up: Check the logs"
Debug logs:
`Logger: homeassistant.config_entries
Source: config_entries.py:586
First occurred: 22 July 2024 at 19:17:55 (4 occurrences)
Last logged: 22:20:57
Error setting up entry MAWAQIT - Madni Masjid for mawaqit
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 586, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/mawaqit/init.py", line 96, in async_setup_entry
if not await client.async_setup():
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/mawaqit/init.py", line 421, in async_setup
await self.hass.async_add_executor_job(self.get_new_prayer_times)
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/mawaqit/init.py", line 163, in get_new_prayer_times
f = open("{dir}/data/pray_time.txt".format(dir=current_dir), "r")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/config/custom_components/mawaqit/data/pray_time.txt'`
Any idea what is the fix needed?
The text was updated successfully, but these errors were encountered: