Python extension 2.0 - ModuleNotFoundError

Hello,

I have a problem with my python 2.0 extension, when I download in ActiveGate, I get this error message:

File “E:\Apps\dynatrace\remotepluginmodule\agent\res\dsruntime\python3.10\lib\runpy.py”, line 196, in _run_module_as_main
[err] return _run_code(code, main_globals, None,
[err] File “E:\Apps\dynatrace\remotepluginmodule\agent\res\dsruntime\python3.10\lib\runpy.py”, line 86, in _run_code
[err] exec(code, run_globals)
[err] File C:\ProgramData\dynatrace\remotepluginmodule\agent\runtime\extensions\python_venvs\custom_usercubetestv2_0.0.21\lib\site-packages\usercubetestv2\__main__.py", line 5, in <module>
[err] from usercubeconfig.usercubeconfig import baseURL, apiVersion, baseurldyn, Token
[err]ModuleNotFoundError: No module named ‘usercubeconfig’

MY setup.file :

I have no problem locally. Please help me.

Look at the log files from the extension module itself on ActiveGate to check if there are no issues downloading the module on the ActiveGate.

Hello Julius,

Thanks for your advice, I checked the logs in my activegate (windows server), I don’t see any traces for my modules, I shared with you the logs concerning ruxitagent_extensionsmodule.log
temp.log (1.98 KB)

Can you share the extension itself?

Yes sure.
temp.zip (13.1 KB)

I added ‘dt’ to the setup and my extension works fine.