Skip to content
This repository was archived by the owner on Mar 31, 2023. It is now read-only.
This repository was archived by the owner on Mar 31, 2023. It is now read-only.

Install fails when bluealsa package is not available #19

@NickHeap2

Description

@NickHeap2

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.datakey
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'"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions