cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Python extension 2.0 - ModuleNotFoundError

Sullivan
Participant

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 : 

Sullivan_0-1748267974805.png

I have no problem locally. Please help me.

 




4 REPLIES 4

Julius_Loman
DynaMight Legend
DynaMight Legend

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.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

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

 

 

Julius_Loman
DynaMight Legend
DynaMight Legend

Can you share the extension itself?

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Sullivan
Participant

Yes sure.

Featured Posts