Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config['gateway'] not defined - on Pi Pico W #117

Open
gmrza opened this issue Jul 18, 2023 · 2 comments
Open

config['gateway'] not defined - on Pi Pico W #117

gmrza opened this issue Jul 18, 2023 · 2 comments

Comments

@gmrza
Copy link

gmrza commented Jul 18, 2023

After pulling the latest version this morning, I discovered a problem that config['gateway'] is not set. I am running on a Pi Pico W, and get the following error when starting up:

Traceback (most recent call last):
File "", line 3, in
File "mqtt_flowserv01.py", line 533, in
File "mqtt_as.py", line 551, in init
File "mqtt_as.py", line 171, in init
KeyError: gateway

adding the following line to my code works around the problem:
config['gateway'] = None

@ebolisa
Copy link

ebolisa commented Jul 19, 2023

Could you show line 3? And what’s mqtt_flowserv01.py? Could the error be related to the changes you made?

@peterhinch
Copy link
Owner

peterhinch commented Jul 19, 2023

Apologies, this is now fixed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants