akasma74 / Hass-Custom-Alarm

It is a fork of "Yet another take on a home assistant custom alarm" that will exist until its author is back to our Earth
80 stars 31 forks source link

Error in logs #73

Closed jes1417 closed 4 years ago

jes1417 commented 4 years ago

Your components (from Alarm/Settings/About):

Platform & Browser:

Describe the bug A clear and concise description of what the bug is:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 461, in start
    await prepare_meth(request)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_fileresponse.py", line 340, in prepare
    fobj = await loop.run_in_executor(None, filepath.open, 'rb')
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.7/pathlib.py", line 1203, in open
    opener=self._opener)
IsADirectoryError: [Errno 21] Is a directory: '/config/resources/bwalarm/images'

To Reproduce Steps to reproduce the behavior:

  1. appears in logs on HASS restart
akasma74 commented 4 years ago

That is strange. I haven't ever seen anything like that. Looks like it tries to open a directory when it's actually a folder. Could you set the component's log level to debug and post here the relevant piece of log file?

akasma74 commented 4 years ago

I'm closing it because of no answer. Feel free to open a new one if there's still a problem.