Skip to content

Error appears in the log when /dev-info shows #12250

@km4lin

Description

@km4lin

Make sure you are running the latest version of Home Assistant before reporting an issue.

You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:

Home Assistant release (hass --version): 0.62.1

Python release (python3 --version): Python 3.6.4

Component/platform: aiohttp.server

Description of problem:
Error appears in the log when I go to /dev-info and/or many times when hass just working.

Expected:
No error

Problem-relevant configuration.yaml entries and steps to reproduce:

Traceback (if applicable):

ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "C:\Users\Latitude\AppData\Local\Programs\Python\Python36\lib\site-packages\aiohttp\web_protocol.py", line 410, in start
    resp = yield from self._request_handler(request)
  File "C:\Users\Latitude\AppData\Local\Programs\Python\Python36\lib\site-packages\aiohttp\web.py", line 325, in _handle
    resp = yield from handler(request)
  File "C:\Users\Latitude\AppData\Local\Programs\Python\Python36\lib\site-packages\aiohttp\web_middlewares.py", line 93, in impl
    return (yield from handler(request))
  File "C:\Users\Latitude\AppData\Local\Programs\Python\Python36\lib\site-packages\homeassistant\components\http\ban.py", line 58, in ban_middleware
    return (yield from handler(request))
  File "C:\Users\Latitude\AppData\Local\Programs\Python\Python36\lib\asyncio\coroutines.py", line 215, in coro
    res = yield from res
  File "C:\Users\Latitude\AppData\Local\Programs\Python\Python36\lib\asyncio\coroutines.py", line 215, in coro
    res = yield from res
  File "C:\Users\Latitude\AppData\Local\Programs\Python\Python36\lib\site-packages\homeassistant\components\http\__init__.py", line 430, in handle
    result = yield from result
  File "C:\Users\Latitude\AppData\Local\Programs\Python\Python36\lib\asyncio\coroutines.py", line 212, in coro
    res = func(*args, **kw)
  File "C:\Users\Latitude\AppData\Local\Programs\Python\Python36\lib\site-packages\homeassistant\components\system_log\__init__.py", line 178, in get
    for x in self.handler.records])
  File "C:\Users\Latitude\AppData\Local\Programs\Python\Python36\lib\site-packages\homeassistant\components\system_log\__init__.py", line 178, in <listcomp>
    for x in self.handler.records])
  File "C:\Users\Latitude\AppData\Local\Programs\Python\Python36\lib\site-packages\homeassistant\components\system_log\__init__.py", line 160, in _convert
    'source': _figure_out_source(record, call_stack, hass),
  File "C:\Users\Latitude\AppData\Local\Programs\Python\Python36\lib\site-packages\homeassistant\components\system_log\__init__.py", line 140, in _figure_out_source
    match = re.match(r'(?:{})/(.*)'.format('|'.join(paths)), pathname)
  File "C:\Users\Latitude\AppData\Local\Programs\Python\Python36\lib\re.py", line 172, in match
    return _compile(pattern, flags).match(string)
  File "C:\Users\Latitude\AppData\Local\Programs\Python\Python36\lib\re.py", line 301, in _compile
    p = sre_compile.compile(pattern, flags)
  File "C:\Users\Latitude\AppData\Local\Programs\Python\Python36\lib\sre_compile.py", line 562, in compile
    p = sre_parse.parse(p, flags)
  File "C:\Users\Latitude\AppData\Local\Programs\Python\Python36\lib\sre_parse.py", line 855, in parse
    p = _parse_sub(source, pattern, flags & SRE_FLAG_VERBOSE, 0)
  File "C:\Users\Latitude\AppData\Local\Programs\Python\Python36\lib\sre_parse.py", line 416, in _parse_sub
    not nested and not items))
  File "C:\Users\Latitude\AppData\Local\Programs\Python\Python36\lib\sre_parse.py", line 765, in _parse
    p = _parse_sub(source, state, sub_verbose, nested + 1)
  File "C:\Users\Latitude\AppData\Local\Programs\Python\Python36\lib\sre_parse.py", line 416, in _parse_sub
    not nested and not items))
  File "C:\Users\Latitude\AppData\Local\Programs\Python\Python36\lib\sre_parse.py", line 502, in _parse
    code = _escape(source, this, state)
  File "C:\Users\Latitude\AppData\Local\Programs\Python\Python36\lib\sre_parse.py", line 368, in _escape
    raise source.error("incomplete escape %s" % escape, len(escape))
sre_constants.error: incomplete escape \U at position 5

Additional info:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions