Skip to content

tree.py - ValueError: Bytes is not a 16-char string #16

Description

@staefy

When running tree.py on Mac OSX:

[examples] ((afcd203...)) > python tree.py 732b3078-7c65-4cf3-890d-2390a4ca0221
����_�4�
����_�4�
����_�4�
Attempting to connect to 732b3078-7c65-4cf3-890d-2390a4ca0221
No scheduled event for kCBMsgId53
n@�����$�ʞ��_�4�
Traceback (most recent call last):
File "tree.py", line 41, in
print(" " + str(service))
File "/Library/Python/2.7/site-packages/bleep-0.4.4.dev2-py2.7.egg/bleep/gatt/service.py", line 88, in repr
return str(self.uuid)
File "/Library/Python/2.7/site-packages/bleep-0.4.4.dev2-py2.7.egg/bleep/util.py", line 106, in str
c_str = self.canonical_str()
File "/Library/Python/2.7/site-packages/bleep-0.4.4.dev2-py2.7.egg/bleep/util.py", line 103, in canonical_str
return self.full_uuid_str()
File "/Library/Python/2.7/site-packages/bleep-0.4.4.dev2-py2.7.egg/bleep/util.py", line 91, in full_uuid_str
return str(UUID(bytes=str(self._uuid)))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/uuid.py", line 144, in init
raise ValueError('bytes is not a 16-char string')
ValueError: bytes is not a 16-char string

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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