Skip to content

Libpebble :error: unpack requires a string argument of length 78 #22

@klanestro

Description

@klanestro

I am connected and I got the 7 minute workout and a few watchfaces to upload to my pebble from my ubuntu laptop.
I can't get around this problem. get_time works but it seems some pbw don't work this is my stacktrace
Thanks

talisman@talisman-Pangolin-Performance:$ cd projects/libpebble
talisman@talisman-Pangolin-Performance:
/projects/libpebble$ python ./p.py --pebble_id 00:18:33:A7:D2:2D --lightblue load '/home/talisman/Downloads/LCARS2.pbw' --nolaunch
[DEBUG ] LightBlue process has started on pid 25111
[DEBUG ] Connection established to 00:18:33:A7:D2:2D
[DEBUG ] Initializing reader thread
[DEBUG ] Reader thread loaded on tid Thread-1
Traceback (most recent call last):
File "/home/talisman/projects/libpebble/pebble/pebble.py", line 266, in _reader
resp = self._internal_endpoint_handlers[endpoint](endpoint, resp)
File "/home/talisman/projects/libpebble/pebble/pebble.py", line 695, 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 "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(_self.__args, *_self.__kwargs)
File "/home/talisman/projects/libpebble/pebble/pebble.py", line 272, in _reader
raise PebbleError(self.id, "Lost connection to Pebble")
PebbleError: Lost connection to Pebble (ID:00:18:33:A7:D2:2D

what do I need to research for this?

Running Ubuntu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions