You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature request, add more flexible Axe-core JSON processing for "Source version" metric type.
As the output of Axe-core is often aggregated by little custom scripts, be flexible in accepting different structures of the JSON format.
Traceback (most recent call last):
File "/home/collector/base_collectors/source_collector.py", line 141, in __safely_parse_source_responses
return await self._parse_source_responses(responses)
File "/home/collector/base_collectors/source_collector.py", line 262, in _parse_source_responses
versions = await self._parse_source_response_versions(responses)
File "/home/collector/base_collectors/source_collector.py", line 267, in _parse_source_response_versions
return await asyncio.gather(*[self._parse_source_response_version(response) for response in responses])
File "/home/collector/source_collectors/axe_core/source_version.py", line 14, in _parse_source_response_version
return Version((await response.json(content_type=None))["testEngine"]["version"])
TypeError: list indices must be integers or slices, not str
* More flexible parsing of Axe-core JSON files to account for the different ways people aggregate Axe-core output into one JSON file, for the 'source up-to-dateness' and 'version' metrics. Closes#2910.
Feature request, add more flexible Axe-core JSON processing for "Source version" metric type.
As the output of Axe-core is often aggregated by little custom scripts, be flexible in accepting different structures of the JSON format.
See also: #2657
The text was updated successfully, but these errors were encountered: