You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Container fails to start with the following exception:
2020-12-03 16:14:48 - Starting Xiaomi mi Scale...
2020-12-03 16:14:48 - Loading Config From OS Environment...
Traceback (most recent call last):
File "/opt/miscale/Xiaomi_Scale.py", line 28, in <module>
with open('/data/options.json') as json_file:
FileNotFoundError: [Errno 2] No such file or directory: '/data/options.json'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/miscale/Xiaomi_Scale.py", line 165, in <module>
if MQTT_DISCOVERY.lower() in ['true', '1', 'y', 'yes']:
AttributeError: 'bool' object has no attribute 'lower'
To Reproduce
Start mi-scale with the following docker-compose:
Desktop/Server (please complete the following information):
Docker-compose with Raspberry pi 4 and built-in Bluetooth
Additional Information:
Seems to be the same issue as #31 but the bug is not fixed for me. I've double checked my mi-scale version, it is definitly the latest version 0.1.14 created 7 day ago:
docker images shows:
REPOSITORY TAG IMAGE ID CREATED SIZE
lolouk44/xiaomi-mi-scale latest ffe67ecaf549 7 days ago 318MB
The text was updated successfully, but these errors were encountered:
You're missing some stuff in your docker-compose.
Please look at the docker-compose section and add the missing bits. Set them to false if you don't use them
I'll see if I can add a better handler for missing config bits
Describe the bug
mi-scale Version: 0.1.14
Container fails to start with the following exception:
To Reproduce
Start mi-scale with the following docker-compose:
Run
docker logs mi-scale
to display the exceptionDesktop/Server (please complete the following information):
Docker-compose with Raspberry pi 4 and built-in Bluetooth
Additional Information:
Seems to be the same issue as #31 but the bug is not fixed for me. I've double checked my mi-scale version, it is definitly the latest version 0.1.14 created 7 day ago:
docker images
shows:The text was updated successfully, but these errors were encountered: