rubinho101 / MMM-01ZM

MIT License
4 stars 2 forks source link

python3 parseBLE01ZM.py #4

Open romibe opened 2 years ago

romibe commented 2 years ago

pi@raspberrypi:~/MagicMirror/modules/MMM-01ZM/mitemp $ python3 parseBLE01ZM.py Traceback (most recent call last): File "parseBLE01ZM.py", line 20, in app = Sanic() File "/home/pi/.local/lib/python3.7/site-packages/sanic/app.py", line 177, in init super().init(name=name) File "/home/pi/.local/lib/python3.7/site-packages/sanic/base/root.py", line 32, in init f"{class_name} instance cannot be unnamed. " sanic.exceptions.SanicException: Sanic instance cannot be unnamed. Please use Sanic(name='your_application_name') instead.

abdelhadj commented 1 year ago

Hello, i have same issue :( any idea how to solve?

Thanks

shadzik commented 1 year ago

Change line 20 to something like:

app = Sanic(name='app')