Hi. I'm getting this on run. I installed from the AUR, had to install python-netdisco manually.
17:46:02 milk@red:~ 30s % luminance
Exception in thread Thread-1 (search):
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/requests/models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/simplejson/__init__.py", line 514, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/simplejson/decoder.py", line 386, in decode
obj, end = self.raw_decode(s)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/simplejson/decoder.py", line 416, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/luminance/views/setup.py", line 150, in search
data = requests.get('https://www.meethue.com/api/nupnp').json()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/requests/models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/luminance/views/setup.py", line 159, in search
network_discovery = netdisco.discovery.NetworkDiscovery(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: NetworkDiscovery.__init__() got an unexpected keyword argument 'limit_discovery'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
self.run()
File "/usr/lib/python3.11/threading.py", line 982, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.11/site-packages/luminance/views/setup.py", line 190, in search
GLib.idle_add(cb, results)
^^^^^^^
UnboundLocalError: cannot access local variable 'results' where it is not associated with a value
Hi. I'm getting this on run. I installed from the AUR, had to install python-netdisco manually.