-
Notifications
You must be signed in to change notification settings - Fork 33
Description
libpebble2.protocol:Exception decoding AppLogMessage.message
Exception in thread PebbleConnection:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in *bootstrap_inner
self.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run
self.__target(_self.__args, _self.__kwargs)
File "/usr/local/Cellar/pebble-sdk/4.3/libexec/vendor/lib/python2.7/site-packages/libpebble2/communication/__init.py", line 88, in run_sync
self.pump_reader()
File "/usr/local/Cellar/pebble-sdk/4.3/libexec/vendor/lib/python2.7/site-packages/libpebble2/communication/init.py", line 75, in pump_reader
self._handle_watch_message(message)
File "/usr/local/Cellar/pebble-sdk/4.3/libexec/vendor/lib/python2.7/site-packages/libpebble2/communication/init.py", line 118, in _handle_watch_message
packet, length = PebblePacket.parse_message(message)
File "/usr/local/Cellar/pebble-sdk/4.3/libexec/vendor/lib/python2.7/site-packages/libpebble2/protocol/base/init.py", line 174, in parse_message
return _PacketRegistry[command].parse(message[4:length])[0], length
File "/usr/local/Cellar/pebble-sdk/4.3/libexec/vendor/lib/python2.7/site-packages/libpebble2/protocol/base/init.py", line 199, in parse
value, length = v.buffer_to_value(obj, message, offset, default_endianness=default_endianness)
File "/usr/local/Cellar/pebble-sdk/4.3/libexec/vendor/lib/python2.7/site-packages/libpebble2/protocol/base/types.py", line 404, in buffer_to_value
return struct.unpack_from('%ds' % length, buffer, offset)[0].split(b'\x00')[0].decode('utf-8'), length
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 29-30: unexpected end of data