Open NickHeap2 opened 3 years ago
I also have this issue
I also have this issue
+1 me too, is there a resolution please?
I can put a PR together to fix it but it doesn't look like the owner is maintaining this anymore.
PR created to fix this: https://github.com/alexa-samples/Alexa-Gadgets-Raspberry-Pi-Samples/pull/24
When running "sudo python3 launch.py --setup" if bluealsa isn't available in apt then the setup fails. Commenting lines 157 to 163 allows the setup to succeed.
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apt/cache.py", line 289, in getitem return self._weakref[key] File "/usr/lib/python3.6/weakref.py", line 137, in getitem o = self.data[key]() KeyError: 'bluealsa'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apt/cache.py", line 292, in getitem rawpkg = self._cache[key] KeyError: 'bluealsa'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "launch.py", line 157, in
if cache['bluealsa'].is_installed:
File "/usr/lib/python3/dist-packages/apt/cache.py", line 294, in getitem
raise KeyError('The cache has no package named %r' % key)
KeyError: "The cache has no package named 'bluealsa'"