Open msomeha opened 5 years ago
Found the solution. You just need to fix the string detection in the Descriptor.py.
From this:
if options['value'] is str:
to this:
if isinstance(options['value'], str):
Found the solution. You just need to fix the string detection in the Descriptor.py. From this:
if options['value'] is str:
to this:if isinstance(options['value'], str):
No it is already edited but still has the same error
anyone make any progress on this?
AFAIK it looks like a javascript to python conversion error...
I get the following error when I try to run the project. Any solution for this issue?
Traceback (most recent call last): File "peripheral.py", line 25, in
pizzaService = PizzaService(Pizza())
File "/home/pi/pybleno/examples/pizza/PizzaService.py", line 11, in init
PizzaCrustCharacteristic(pizza),
File "/home/pi/pybleno/examples/pizza/PizzaCrustCharacteristic.py", line 18, in init
value = 'Gets or sets the type of pizza crust.'
TypeError: init() got an unexpected keyword argument 'uuid'