knime-geospatial-extension icon indicating copy to clipboard operation
knime-geospatial-extension copied to clipboard

Can't install the extension in Knime server

Open wybert opened this issue 2 years ago • 0 comments

Hi there, just want report a bug probably related to our new release extension on the sever. What I use: I use Knime executor 5.1 what I have done: I run the following command to install the extension, ./knime -application org.eclipse.equinox.p2.director -nosplash -consolelog -r 'jar:file:/opt/knime/update_files/TrustedCommunityContributions_5.1_202308101156.zip!/,jar:file:/opt/knime/update_files/UpdateSite_latest51.zip!/' -i sdl.harvard.features.geospatial.feature.group -d $(pwd) Here is what I got,

Installing sdl.harvard.features.geospatial.feature.group 1.1.1.202307290156.
!SESSION 2023-08-30 14:17:35.377 -----------------------------------------------
eclipse.buildId=unknown
java.version=17.0.5
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en
Framework arguments:  -application org.eclipse.equinox.p2.director -r jar:file:/opt/knime/update_files/TrustedCommunityContributions_5.1_202308101156.zip!/,jar:file:/opt/knime/update_files/UpdateSite_latest51.zip!/ -i sdl.harvard.features.geospatial.feature.group -d /opt/knime/knime-full_5.1.0
Command-line arguments:  -os linux -ws gtk -arch x86_64 -application org.eclipse.equinox.p2.director -consolelog -r jar:file:/opt/knime/update_files/TrustedCommunityContributions_5.1_202308101156.zip!/,jar:file:/opt/knime/update_files/UpdateSite_latest51.zip!/ -i sdl.harvard.features.geospatial.feature.group -d /opt/knime/knime-full_5.1.0

!ENTRY org.eclipse.equinox.p2.director 0 0 2023-08-30 14:17:46.236
!MESSAGE Overall install request is satisfiable
!SUBENTRY 1 org.eclipse.equinox.p2.director 0 0 2023-08-30 14:17:46.237
!MESSAGE Add request for Geospatial Analytics Extension for KNIME 1.1.1.202307290156 (sdl.harvard.features.geospatial.feature.group 1.1.1.202307290156) is satisfiable

!ENTRY org.knime.product 1 0 2023-08-30 14:17:52.353
!MESSAGE ShellExec command: ./create_env.sh

!ENTRY org.knime.product 1 0 2023-08-30 14:17:52.354
!MESSAGE ShellExec directory : /opt/knime/knime-full_5.1.0/plugins/sdl.harvard.geospatial.channel.bin.linux.x86_64_1.1.1.202307290156/bin

!ENTRY org.knime.product 1 0 2023-08-30 14:17:52.401
!MESSAGE Standard output: No KNIME_PYTHON_PACKAGE_REPO_URL set, downloading packages
info     libmamba ****************** Backtrace Start ******************
debug    libmamba Loading configuration
trace    libmamba Compute configurable 'create_base'
trace    libmamba Compute configurable 'no_env'
trace    libmamba Compute configurable 'no_rc'
trace    libmamba Compute configurable 'rc_files'
trace    libmamba Compute configurable 'root_prefix'
error    libmamba Bad conversion of configurable 'root_prefix' from environment variable 'MAMBA_ROOT_PREFIX' with value '...' : yaml-cpp: error at line 1, column 1: bad conversion
critical libmamba yaml-cpp: error at line 1, column 1: bad conversion
info     libmamba ****************** Backtrace End ********************
Installation of the Python extension failed. See the previous output and the files "/opt/knime/knime-full_5.1.0/plugins/sdl.harvard.geospatial.channel.bin.linux.x86_64_1.1.1.202307290156/bin/create_env.out" and "/opt/knime/knime-full_5.1.0/plugins/sdl.harvard.geospatial.channel.bin.linux.x86_64_1.1.1.202307290156/bin/create_env.err" for details.

Installation failed.
An error occurred while installing the items
        session context was:(profile=KNIMEProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]sdl.harvard.geospatial.channel.bin.linux.x86_64 1.1.1.202307290156, action=org.knime.product.p2.actions.ShellExec).
        ShellExec command exited non-zero exit value:


!ENTRY org.eclipse.equinox.p2.engine 4 4 2023-08-30 14:17:55.421
!MESSAGE An error occurred while installing the items
!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2023-08-30 14:17:55.421
!MESSAGE session context was:(profile=KNIMEProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]sdl.harvard.geospatial.channel.bin.linux.x86_64 1.1.1.202307290156, action=org.knime.product.p2.actions.ShellExec).
!SUBENTRY 1 org.knime.product 4 0 2023-08-30 14:17:55.421
!MESSAGE ShellExec command exited non-zero exit value:

There were errors. See log file: /opt/knime/knime-full_5.1.0/configuration/1693405055585.log

1693405055585.log is the same as the output above.

In the log it mentioned two other files, here is the content of /opt/knime/knime-full_5.1.0/plugins/sdl.harvard.geospatial.channel.bin.linux.x86_64_1.1.1.202307290156/bin/create_env.err .

info     libmamba ****************** Backtrace Start ******************
debug    libmamba Loading configuration
trace    libmamba Compute configurable 'create_base'
trace    libmamba Compute configurable 'no_env'
trace    libmamba Compute configurable 'no_rc'
trace    libmamba Compute configurable 'rc_files'
trace    libmamba Compute configurable 'root_prefix'
error    libmamba Bad conversion of configurable 'root_prefix' from environment variable 'MAMBA_ROOT_PREFIX' with value '...' : yaml-cpp: error at line 1, column 1: bad conversion
critical libmamba yaml-cpp: error at line 1, column 1: bad conversion
info     libmamba ****************** Backtrace End ********************

the create_env.out content is empty.

Notice that I have tried to install another plugin without a problem there, so I believe It could be an issue related to our extension.

Let me know if you need more information.

wybert avatar Sep 02 '23 17:09 wybert