Good afternoon all, I am trying to setup a python 2.0 extension and every time I initialize the workspace I get this error.
2024-04-26T21:23:49.993Z [ERROR][dynatrace-extensions.initWorkspace] Unexpected error: Traceback (most recent call last):
File "c:\users\aab0142\appdata\local\programs\python\python38\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\aab0142\appdata\local\programs\python\python38\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\userid\AppData\Local\Programs\Python\Python38\Scripts\dt-sdk.exe\__main__.py", line 4, in <module>
File "c:\users\userid\appdata\local\programs\python\python38\lib\site-packages\dynatrace_extension\__init__.py", line 11, in <module>
from .sdk.extension import DtEventType, Extension
File "c:\users\userid\appdata\local\programs\python\python38\lib\site-packages\dynatrace_extension\sdk\extension.py", line 85, in <module>
class CountMetricRegistrationEntry(NamedTuple):
File "c:\users\userid\appdata\local\programs\python\python38\lib\site-packages\dynatrace_extension\sdk\extension.py", line 88, in CountMetricRegistrationEntry
dimensions_list: list[str]
TypeError: 'type' object is not subscriptable
I have generated new certificates and also published them to dynatrace. I still get the same error. I would also like to add that I am using a Dynatrace Managed Env and had to add the flag "disableSSLVerification".
Can someone please help asap! Thank you!