『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 3230|回复: 0

[求助] 日志报错aiohttp.server

[复制链接]

1

主题

31

帖子

223

积分

中级会员

Rank: 3Rank: 3

积分
223
金钱
192
HASS币
0
发表于 2021-2-3 18:06:12 | 显示全部楼层 |阅读模式
本帖最后由 神秘电波 于 2021-2-3 18:07 编辑

HA日志中莫名出现报错,不知道是什么原因引起的。请高手指教!

Logger: aiohttp.server
Source: components/image/__init__.py:208
First occurred: 下午5:40:55 (2 occurrences)
Last logged: 下午5:56:41

Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
    resp = await self._request_handler(request)
  File "/usr/local/lib/python3.8/site-packages/aiohttp/web_app.py", line 499, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.8/site-packages/aiohttp/web_middlewares.py", line 118, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 56, in security_filter_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 18, in request_context_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 72, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 127, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 129, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/image/__init__.py", line 192, in get
    await hass.async_add_executor_job(
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/image/__init__.py", line 208, in _generate_thumbnail
    image = ImageOps.exif_transpose(Image.open(original_path))
  File "/usr/local/lib/python3.8/site-packages/PIL/Image.py", line 2878, in open
    fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/config/image/d2c45665678e9b310d5657db670e54be/original'
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-6-2 22:31 , Processed in 0.263874 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表