ansible-navigator icon indicating copy to clipboard operation
ansible-navigator copied to clipboard

Breaking change in ansible-core 2.14 config output

Open cidrblock opened this issue 3 years ago • 0 comments
trafficstars

https://github.com/ansible/ansible/issues/77523

The config output is used to collect the effective collection paths:

https://github.com/ansible/ansible-navigator/blob/main/share/ansible_navigator/utils/catalog_collections.py#L470

The following errors are generated and no collections are found:

2022-04-13T11:19:37.743627+00:00 ERROR 'ansible_navigator.actions.collections._parse' Unable to extract collection json from stdout
2022-04-13T11:19:37.743702+00:00 DEBUG 'ansible_navigator.actions.collections._parse' error json loading output: 'not enough values to unpack (expected 2, got 1)'
2022-04-13T11:19:37.743753+00:00 DEBUG 'ansible_navigator.actions.collections._parse' while constructing a mapping
  in "<unicode string>", line 1, column 1
found unhashable key
  in "<unicode string>", line 1, column 2

2022-04-13T11:19:37.747586+00:00 DEBUG 'ansible_navigator.ui_framework.ui._cache_init_colors' Added color: 16:(807, 568, 470)
2022-04-13T11:19:37.747653+00:00 DEBUG 'ansible_navigator.ui_framework.ui._cache_init_colors' Added color: 17:(337, 611, 839)

cidrblock avatar Apr 13 '22 11:04 cidrblock