Hey everyone! Happy saturday :smile: I'm getting ...
# troubleshooting
s
Hey everyone! Happy saturday 😄 I'm getting an error when trying to invoke the evidence plugin.
Copy code
parameters = get_params_from_function(callback)
  File "/project/.meltano/utilities/evidence/venv/lib/python3.8/site-packages/typer/utils.py", line 9, in get_params_from_function
    type_hints = get_type_hints(func)
  File "/usr/local/lib/python3.8/typing.py", line 1264, in get_type_hints
    value = _eval_type(value, globalns, localns)
  File "/usr/local/lib/python3.8/typing.py", line 270, in _eval_type
    return t._evaluate(globalns, localns)
  File "/usr/local/lib/python3.8/typing.py", line 518, in _evaluate
    eval(self.__forward_code__, globalns, localns),
  File "<string>", line 1, in <module>
TypeError: 'type' object is not subscriptable
Is anyone familiar with this error? Could it be linked to the fact that I'm running an old version of meltano (2.5) ? Any help would be appreciated 😄
w
Based on the error message, this looks like a bug in the library. @Stéphane Burwash could you please open an issue in the repository for the plugin with these details.
I haven't tested this (I'm on my phone), but I suspect running this with Python 3.10+ would be a workaround for this issue. In Python 3.10+ type objects were made subscriptable.
s
@Will Da Silva (Arch) here's the link to the issue 😄 enjoy your weekend!