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

Failed to install the plugin into temporary location

HI Guys,

i am getting below error while trying to build plugin.

 

biaggio@ubuntu-gateway-dynatrace:~/custom_python_monitorar_arquivos_unix$ plugin_sdk build_plugin
Arguments=Namespace(deployment_dir=None, no_cert_ver=False, no_upload=False, plugin_dir='/home/biaggio/custom_python_monitorar_arquivos_unix', server=None, token=None, token_file=None, verbose=False)
Starting oneagent_build_plugin
Checking plugin metadata: /home/biaggio/custom_python_monitorar_arquivos_unix/plugin.json
Validating plugin.json against schema
Plugin data: Plugin name=custom.remote.python.monitorar_arquivos_unix, version=1.0.2
Cleaning up previous build information
running bdist_wheel
running build
running build_py
Generating grammar tables from /usr/lib/python3.8/lib2to3/Grammar.txt
Generating grammar tables from /usr/lib/python3.8/lib2to3/PatternGrammar.txt
creating build
creating build/lib
copying /home/biaggio/custom_python_monitorar_arquivos_unix/custom_python_monitorar_arquivos_unix.py -> build/lib
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
copying build/lib/custom_python_monitorar_arquivos_unix.py -> build/bdist.linux-x86_64/wheel
running install_egg_info
running egg_info
creating /home/biaggio/custom_python_monitorar_arquivos_unix/custom_python_monitorar_arquivos_unix.egg-info
writing /home/biaggio/custom_python_monitorar_arquivos_unix/custom_python_monitorar_arquivos_unix.egg-info/PKG-INFO
writing dependency_links to /home/biaggio/custom_python_monitorar_arquivos_unix/custom_python_monitorar_arquivos_unix.egg-info/dependency_links.txt
writing requirements to /home/biaggio/custom_python_monitorar_arquivos_unix/custom_python_monitorar_arquivos_unix.egg-info/requires.txt
writing top-level names to /home/biaggio/custom_python_monitorar_arquivos_unix/custom_python_monitorar_arquivos_unix.egg-info/top_level.txt
writing manifest file '/home/biaggio/custom_python_monitorar_arquivos_unix/custom_python_monitorar_arquivos_unix.egg-info/SOURCES.txt'
reading manifest file '/home/biaggio/custom_python_monitorar_arquivos_unix/custom_python_monitorar_arquivos_unix.egg-info/SOURCES.txt'
writing manifest file '/home/biaggio/custom_python_monitorar_arquivos_unix/custom_python_monitorar_arquivos_unix.egg-info/SOURCES.txt'
Copying /home/biaggio/custom_python_monitorar_arquivos_unix/custom_python_monitorar_arquivos_unix.egg-info to build/bdist.linux-x86_64/wheel/custom_python_monitorar_arquivos_unix-1.0.2.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/custom_python_monitorar_arquivos_unix-1.0.2.dist-info/WHEEL
creating 'dist/custom_python_monitorar_arquivos_unix-1.0.2-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'custom_python_monitorar_arquivos_unix.py'
adding 'custom_python_monitorar_arquivos_unix-1.0.2.dist-info/METADATA'
adding 'custom_python_monitorar_arquivos_unix-1.0.2.dist-info/WHEEL'
adding 'custom_python_monitorar_arquivos_unix-1.0.2.dist-info/top_level.txt'
adding 'custom_python_monitorar_arquivos_unix-1.0.2.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Leaving directory /tmp/tmpvv5z512k
Created distribution of the plugin: [('bdist_wheel', '3.8', 'dist/custom_python_monitorar_arquivos_unix-1.0.2-py3-none-any.whl')]
Installing plugin to temporary location
Processing /tmp/tmpvv5z512k/dist/custom_python_monitorar_arquivos_unix-1.0.2-py3-none-any.whl
Failed to install the plugin into temporary location

 

Even I pass the -d, I have the problem.

 


plugin_sdk build_plugin -d /home/biaggio/
Arguments=Namespace(deployment_dir='/home/biaggio/', no_cert_ver=False, no_upload=False, plugin_dir='/home/biaggio/custom_python_monitorar_arquivos_unix', server=None, token=None, token_file=None, verbose=False)
Starting oneagent_build_plugin
Checking plugin metadata: /home/biaggio/custom_python_monitorar_arquivos_unix/plugin.json
Validating plugin.json against schema
Plugin data: Plugin name=custom.remote.python.monitorar_arquivos_unix, version=1.0.2
Cleaning up previous build information
running bdist_wheel
running build
running build_py
Generating grammar tables from /usr/lib/python3.8/lib2to3/Grammar.txt
Generating grammar tables from /usr/lib/python3.8/lib2to3/PatternGrammar.txt
creating build
creating build/lib
copying /home/biaggio/custom_python_monitorar_arquivos_unix/custom_python_monitorar_arquivos_unix.py -> build/lib
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
copying build/lib/custom_python_monitorar_arquivos_unix.py -> build/bdist.linux-x86_64/wheel
running install_egg_info
running egg_info
creating /home/biaggio/custom_python_monitorar_arquivos_unix/custom_python_monitorar_arquivos_unix.egg-info
writing /home/biaggio/custom_python_monitorar_arquivos_unix/custom_python_monitorar_arquivos_unix.egg-info/PKG-INFO
writing dependency_links to /home/biaggio/custom_python_monitorar_arquivos_unix/custom_python_monitorar_arquivos_unix.egg-info/dependency_links.txt
writing requirements to /home/biaggio/custom_python_monitorar_arquivos_unix/custom_python_monitorar_arquivos_unix.egg-info/requires.txt
writing top-level names to /home/biaggio/custom_python_monitorar_arquivos_unix/custom_python_monitorar_arquivos_unix.egg-info/top_level.txt
writing manifest file '/home/biaggio/custom_python_monitorar_arquivos_unix/custom_python_monitorar_arquivos_unix.egg-info/SOURCES.txt'
reading manifest file '/home/biaggio/custom_python_monitorar_arquivos_unix/custom_python_monitorar_arquivos_unix.egg-info/SOURCES.txt'
writing manifest file '/home/biaggio/custom_python_monitorar_arquivos_unix/custom_python_monitorar_arquivos_unix.egg-info/SOURCES.txt'
Copying /home/biaggio/custom_python_monitorar_arquivos_unix/custom_python_monitorar_arquivos_unix.egg-info to build/bdist.linux-x86_64/wheel/custom_python_monitorar_arquivos_unix-1.0.2.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/custom_python_monitorar_arquivos_unix-1.0.2.dist-info/WHEEL
creating 'dist/custom_python_monitorar_arquivos_unix-1.0.2-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'custom_python_monitorar_arquivos_unix.py'
adding 'custom_python_monitorar_arquivos_unix-1.0.2.dist-info/METADATA'
adding 'custom_python_monitorar_arquivos_unix-1.0.2.dist-info/WHEEL'
adding 'custom_python_monitorar_arquivos_unix-1.0.2.dist-info/top_level.txt'
adding 'custom_python_monitorar_arquivos_unix-1.0.2.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Leaving directory /tmp/tmppgj2i312
Created distribution of the plugin: [('bdist_wheel', '3.8', 'dist/custom_python_monitorar_arquivos_unix-1.0.2-py3-none-any.whl')]
Installing plugin to temporary location
Processing /tmp/tmppgj2i312/dist/custom_python_monitorar_arquivos_unix-1.0.2-py3-none-any.whl
Failed to install the plugin into temporary location

Dynatrace Professional
1 REPLY 1

Mike_L
Dynatrace Champion
Dynatrace Champion

Hi, before the extension ends up in the destination folder it is built into a temporary location. Could you try to run the command as sudo to make sure that the user has access to that directory? You can also try to add the -v command to print verbose logging to see if that one says why it fails to write it to the temp folder.