Comment 1 for bug 2007241

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi,
to be clear this is a the consequence of installing non ubuntu-archive python libs (which is fine) into paths that will by used by the systems python (not fine) and therefore there is not much ubuntu-advantage-tools can do to fully avoid the issue.

We had the very same report by a user back in summer 2022 in bug 1981120

Back than it was agreed that we can not fully support all theoretical possible combinations of python and there was no further feedback since then.

But seeing a few more (=2 so far) of these crashes I wonder if this would be another case which - while impossible to fix - we should at least fail more gracefully on.

It seems to happen always at the same spot, so how about catching this exact combination of AttributeError: module 'collections' has no attribute 'Hashable' and logging a "most likely you face this issue ..." message before bailing out more graceful than a traceback?