Skip to content

Tools validator TeSS error #1826

Description

@bianchini88

Run python var/tools_validator.py --reg --username *** --password "**"
/home/runner/work/rdmkit/rdmkit/var/tools_validator.py:164: SyntaxWarning: invalid escape sequence '('
if 'id' not in tool.keys() or tool['id'] != re.sub('[^0-9a-zA-Z]+', ' ', re.sub("[([].
?[)]]", "", tool['id'])).strip().replace(" ", "-").lower():
Traceback (most recent call last):
File "/home/runner/work/rdmkit/rdmkit/var/tools_validator.py", line 191, in
check_tess = tess_available(tool_name)
File "/home/runner/work/rdmkit/rdmkit/var/tools_validator.py", line 68, in tess_available
if len(fetch_output(query)['data']) > 0:
~~~~~~~~~~~~~~~~~~~^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
Error: Process completed with exit code 1.

@bedroesb, If I read this correctly, the issue is probably fetch_output(query) returning None.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

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