Libpebble fails to upload sdk.pbw

Hello,

When I try to use libpebble to upload the sdk.pbw, I am getting the following error:

Erics-MBP:libpebble eric$ ./p.py --pebble_id 00:18:33:E4:D6:EA --lightblue load ../pebble-sdk-release-001/sdk/build/sdk.pbw 
[DEBUG   ] LightBlue process has started on pid 13666
[DEBUG   ] Connection established to 00:18:33:E4:D6:EA
[DEBUG   ] Initializing reader thread
[DEBUG   ] Reader thread loaded on tid Thread-1
Traceback (most recent call last):
  File "/Users/eric/pebble-dev/libpebble/pebble/pebble.py", line 268, in _reader
    resp = self._internal_endpoint_handlers[endpoint](endpoint, resp)
  File "/Users/eric/pebble-dev/libpebble/pebble/pebble.py", line 697, in _appbank_status_response
    unpack("!II32s32sIH", data[offset:offset+appinfo_size])
error: unpack requires a string argument of length 78
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 505, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/eric/pebble-dev/libpebble/pebble/pebble.py", line 274, in _reader
    raise PebbleError(self.id, "Lost connection to Pebble")
PebbleError: Lost connection to Pebble (ID:00:18:33:E4:D6:EA)

Traceback (most recent call last):
  File "./p.py", line 218, in <module>
    main()
  File "./p.py", line 212, in main
    raise e
pebble.pebble.PebbleError: could not obtain app list; try again (ID:00:18:33:E4:D6:EA)

Any ideas?

Comments

Sign In or Register to comment.