-
-
Notifications
You must be signed in to change notification settings - Fork 99
Description
Checklist
- I'm running the newest version of LLM Vision https://github.com/valentinfrlch/ha-llmvision/releases/latest
- I have enabled debug logging for the integration.
- I have filled out the issue template to the best of my ability.
- This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
- This is a bug and not a feature request.
- I have searched open issues for my problem.
Describe the issue
I installed 1.5.2, and then the new beta 1.6.0-alpha with same results. My install is Core 2025.11.1 in a venv over Ubuntu. I get the following error on restarting HA.
'''
Logger: homeassistant.components.calendar
Source: helpers/entity_platform.py:451
integration: Calendar (documentation, issues)
First occurred: 10:49:40 AM (1 occurrence)
Last logged: 10:49:40 AM
Error while setting up llmvision platform for calendar: [Errno 13] Permission denied: '/media/llmvision'
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.13/site-packages/homeassistant/helpers/entity_platform.py", line 451, in _async_setup_platform
await asyncio.shield(awaitable)
File "/home/homeassistant/.homeassistant/custom_components/llmvision/calendar.py", line 733, in async_setup_entry
calendar_entity = Timeline(hass, config_entry)
File "/home/homeassistant/.homeassistant/custom_components/llmvision/calendar.py", line 138, in init
os.makedirs(self._file_path, exist_ok=True)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 217, in makedirs
File "", line 227, in makedirs
PermissionError: [Errno 13] Permission denied: '/media/llmvision'
'''
My venv install has no access to the files on the root of the machine AFIK. So the permission issue makes sense to me. I tried manually adding the llmvision and snapshots folders in /media, still fails. I noted in the beta uses another folder "snapshots_blueprint", tried that too.
Note: I also tried completely removing all the folders and files previously created by llmvision, and removed the integration, restarted and installed from scratch, same result. Any advice or work around appreciated, thanks
Reproduction steps
- Install latest version of llm
- Restart HA
...
Debug logs
The same error above shown twice, once for calendar, and for llmvision setup.