Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I got an error message "decoding.." #28

Open
ShawnBaek opened this issue Jul 13, 2016 · 0 comments
Open

I got an error message "decoding.." #28

ShawnBaek opened this issue Jul 13, 2016 · 0 comments

Comments

@ShawnBaek
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant