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
Wed Feb 06 2019 11:38:12 GMT-1000 (Hawaii-Aleutian Standard Time)
Unhandled error in exception handler
context: {'future': <Task finished coro=<_async_callback_delayed_write() done, defined at /srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/storage.py:159> exception=SyntaxError("invalid or missing encoding declaration for '/srv/homeassistant/lib/python3.5/site-packages/homeassistant/util/json.py'",)>, 'message': 'Task exception was never retrieved', 'exception': SyntaxError("invalid or missing encoding declaration for '/srv/homeassistant/lib/python3.5/site-packages/homeassistant/util/json.py'",)}
Traceback (most recent call last):
File "/usr/lib/python3.5/tokenize.py", line 392, in find_cookie
line_string = line.decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa8 in position 32: invalid start byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/base_events.py", line 1292, in call_exception_handler
self._exception_handler(self, context)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/core.py", line 110, in async_loop_exception_handler
"Error doing job: %s", context['message'], **kwargs)
File "/usr/lib/python3.5/logging/__init__.py", line 1309, in error
self._log(ERROR, msg, args, **kwargs)
File "/usr/lib/python3.5/logging/__init__.py", line 1416, in _log
self.handle(record)
File "/usr/lib/python3.5/logging/__init__.py", line 1426, in handle
self.callHandlers(record)
File "/usr/lib/python3.5/logging/__init__.py", line 1488, in callHandlers
hdlr.handle(record)
File "/usr/lib/python3.5/logging/__init__.py", line 856, in handle
self.emit(record)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/system_log/__init__.py", line 130, in emit
entry = self._create_entry(record, stack)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/system_log/__init__.py", line 114, in _create_entry
'exception': _exception_as_string(record.exc_info),
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/system_log/__init__.py", line 95, in _exception_as_string
traceback.print_exception(*exc_info, file=buf)
File "/usr/lib/python3.5/traceback.py", line 100, in print_exception
type(value), value, tb, limit=limit).format(chain=chain):
File "/usr/lib/python3.5/traceback.py", line 474, in __init__
capture_locals=capture_locals)
File "/usr/lib/python3.5/traceback.py", line 358, in extract
f.line
File "/usr/lib/python3.5/traceback.py", line 282, in line
self._line = linecache.getline(self.filename, self.lineno).strip()
File "/usr/lib/python3.5/linecache.py", line 16, in getline
lines = getlines(filename, module_globals)
File "/usr/lib/python3.5/linecache.py", line 47, in getlines
return updatecache(filename, module_globals)
File "/usr/lib/python3.5/linecache.py", line 136, in updatecache
with tokenize.open(fullname) as fp:
File "/usr/lib/python3.5/tokenize.py", line 456, in open
encoding, lines = detect_encoding(buffer.readline)
File "/usr/lib/python3.5/tokenize.py", line 433, in detect_encoding
encoding = find_cookie(first)
File "/usr/lib/python3.5/tokenize.py", line 397, in find_cookie
raise SyntaxError(msg)
File "<string>", line None
SyntaxError: invalid or missing encoding declaration for '/srv/homeassistant/lib/python3.5/site-packages/homeassistant/util/json.py'
Wed Feb 06 2019 11:25:58 GMT-1000 (Hawaii-Aleutian Standard Time)
Unhandled error in exception handler
context: {'future': <Task finished coro=<RestoreStateData.async_dump_states() done, defined at /srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/restore_state.py:141> exception=SyntaxError("invalid or missing encoding declaration for '/srv/homeassistant/lib/python3.5/site-packages/homeassistant/util/json.py'",)>, 'message': 'Task exception was never retrieved', 'exception': SyntaxError("invalid or missing encoding declaration for '/srv/homeassistant/lib/python3.5/site-packages/homeassistant/util/json.py'",)}
Traceback (most recent call last):
File "/usr/lib/python3.5/tokenize.py", line 392, in find_cookie
line_string = line.decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa8 in position 32: invalid start byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/base_events.py", line 1292, in call_exception_handler
self._exception_handler(self, context)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/core.py", line 110, in async_loop_exception_handler
"Error doing job: %s", context['message'], **kwargs)
File "/usr/lib/python3.5/logging/__init__.py", line 1309, in error
self._log(ERROR, msg, args, **kwargs)
File "/usr/lib/python3.5/logging/__init__.py", line 1416, in _log
self.handle(record)
File "/usr/lib/python3.5/logging/__init__.py", line 1426, in handle
self.callHandlers(record)
File "/usr/lib/python3.5/logging/__init__.py", line 1488, in callHandlers
hdlr.handle(record)
File "/usr/lib/python3.5/logging/__init__.py", line 856, in handle
self.emit(record)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/system_log/__init__.py", line 130, in emit
entry = self._create_entry(record, stack)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/system_log/__init__.py", line 114, in _create_entry
'exception': _exception_as_string(record.exc_info),
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/system_log/__init__.py", line 95, in _exception_as_string
traceback.print_exception(*exc_info, file=buf)
File "/usr/lib/python3.5/traceback.py", line 100, in print_exception
type(value), value, tb, limit=limit).format(chain=chain):
File "/usr/lib/python3.5/traceback.py", line 474, in __init__
capture_locals=capture_locals)
File "/usr/lib/python3.5/traceback.py", line 358, in extract
f.line
File "/usr/lib/python3.5/traceback.py", line 282, in line
self._line = linecache.getline(self.filename, self.lineno).strip()
File "/usr/lib/python3.5/linecache.py", line 16, in getline
lines = getlines(filename, module_globals)
File "/usr/lib/python3.5/linecache.py", line 47, in getlines
return updatecache(filename, module_globals)
File "/usr/lib/python3.5/linecache.py", line 136, in updatecache
with tokenize.open(fullname) as fp:
File "/usr/lib/python3.5/tokenize.py", line 456, in open
encoding, lines = detect_encoding(buffer.readline)
File "/usr/lib/python3.5/tokenize.py", line 433, in detect_encoding
encoding = find_cookie(first)
File "/usr/lib/python3.5/tokenize.py", line 397, in find_cookie
raise SyntaxError(msg)
File "<string>", line None
SyntaxError: invalid or missing encoding declaration for '/srv/homeassistant/lib/python3.5/site-packages/homeassistant/util/json.py'
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: