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

Variable Scanner not declarated #4

Open
fdelfranco opened this issue Sep 20, 2022 · 1 comment
Open

Variable Scanner not declarated #4

fdelfranco opened this issue Sep 20, 2022 · 1 comment

Comments

@fdelfranco
Copy link

print("No valid MAC address provided, attempting to use first one discovered: " + scanner.found_bulbs[0]['id'])

scanner is not declarated

@L8Black
Copy link

L8Black commented Sep 25, 2022

same

Traceback (most recent call last):
File "screensync.py", line 201, in connectLED
File "flux_led\device.py", line 43, in init
File "flux_led\device.py", line 47, in setup
File "flux_led\sock.py", line 30, in _retry_wrap
File "flux_led\device.py", line 61, in connect
socket.gaierror: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "screensync.py", line 264, in
File "screensync.py", line 205, in connectLED
NameError: name 'scanner' is not defined

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

2 participants