bleep icon indicating copy to clipboard operation
bleep copied to clipboard

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

Open staefy opened this issue 6 years ago • 0 comments

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

staefy avatar Mar 15 '18 17:03 staefy