Issues installing some extensions on KNIME 5.2

Hello, community,

I have installed it on three computers (Windows 10 X64, Windows Server 2019 and Windows 11 X64) KNIME AP 5.2.0. As shown in the following image, I am trying to install several extensions (JFreeChart, Python integration).
image

These extensions appear as available for installation in version 5.2, as detailed in the image:

KNIME tries to install the extensions:


But at the end of the process, the following message appears as an image, and I copy the text below:
image

“An error occurred while installing the items
session context was:(profile=KNIMEProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null → [R]org.knime.pythonscripting.channel.v1.bin.win32.x86_64 5.2.0.v202311291805, action=org.knime.product.p2.actions.ShellExec).
ShellExec command exited non-zero exit value:”

Such behaviour is the same on all three machines and was not present in the previous installation of KNIME AP 5.1.2.

Thank you so much!
I will revert to KAP 5.1.2; it is simply for you to examine this bug.

1 Like

Dear Edwar @edwar_forero,

thanks for sharing. Would you mind helping us investigating further by sending us two specific log files?

In this section Information about a failed installation is described how to retrieve create_env.out and create_env.err. Could you share them here? You might need to change the ending to .txt. That would help us. Thanks!

Best regards
Steffen

1 Like

Sure! Sorry for the delay in answering.

I must let you know I cannot replicate my previous installation exactly. This is because my current installations are being used in production environments. I couldn’t continue working with the installed version of KAP 5.2 if the extension for the Python nodes is not working.

However, I tried to recreate the issue using the version of KAP 5.2 that was not for installation but downloaded as a ZIP and extracted into a folder, and I am not having any problems with this version :open_mouth: !!

Because of this, I took my time uninstalling KAP 5.1.2 on one of the computers (Windows Server 2019 Datacenter) and doing a clean install of KAP 5.2.0. I have got the same problem. I did the same in another 3 computers, one additional to the previous ones, and the same result.

You can find attached both required files with a renamed ending to .txt.

create_env.err.txt (306 Bytes)
create_env.out.txt (38.2 KB)

Thank you! If you need any more details, just let me know!
BR,
Edwar

2 Likes

i have the same issues with the “Knime Python Intergation” : An error occurred while installing the items
session context was:(profile=KNIMEProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null → [R]org.knime.pythonscripting.channel.v1.bin.win32.x86_64 5.2.0.v202311291805, action=org.knime.product.p2.actions.ShellExec).
ShellExec command exited non-zero exit value:

1 Like

Hello @gregi. Could you follow the steps I followed according to @steffen_KNIME in a previous message to post here those two error files?

Thanks!

1 Like

Hello Edward and Steffen
here are the desired outputs: (the err_Output ist empty?)
create_env_out.txt (38.2 KB)
create_env.err.txt (2 Bytes)

I’m behind a proxy server on a virtual machine, but I can’t enter it correctly because we also enter http://proxy… for https:… In order to be able to carry out installations at all, I changed all installation URLs from https://… to http://. that had worked so far

kind regards
gregi

1 Like

That’s great! My case differs because I am not behind a proxy server or in a VM. I’m glad you could make it @gregi !

I expressed myself wrong! Unfortunately I haven’t managed to install the extension yet. The problem exists! But so far in the previous version I was able to get around this with https:// to http:// and everything worked.
The installation of other extensions worked without any problems using this method on the new version. But the Python installation doesn’t work.

1 Like

I have the same problem:

An error occurred while installing the items

session context was:(profile=KNIMEProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null → [R]org.knime.pythonscripting.channel.v1.bin.win32.x86_64 5.2.0.v202311291805, action=org.knime.product.p2.actions.ShellExec).

ShellExec command exited non-zero exit value:

1 Like

Hey guys,
Sorry that you’re having so much trouble installing the Python integration.

I have two suggestions you could try. If you could tell us whether one of these worked, that would be great so we can try to remedy the problem in the future:

  1. If you are behind a proxy, could you please create a .condarc file and set the https_proxy in there as explained here: Using the .condarc conda configuration file — conda 23.11.1.dev18 documentation
  2. For the SSL problem you could look at the same link and disable ssl verification (WARNING: this reduces security). A little less insecure would be to set the environment variable MAMBA_SSL_NO_REVOKE=1 because that only skips the check whether SSL certificates have been revoked.

In the meantime, we’ll look at making the error message more useful so you don’t have to dig deep and find the create_env.out and .err files to see what the problem was.

Thanks for your patience!
Carsten

2 Likes

Dear Carsten,

Thank you for your suggestions. I have discussed them with my IT department, and they strongly recommend against any process that might disable or compromise the security of SSL.

From their perspective, and mine as well, it is unusual that the portable (zip) version of KAP 5.2 and the standard installation for KAP 5.1.2 do not have this issue. Therefore, any arguments for decreasing SSL security are not valid in this case for them.

Unfortunately, I cannot follow point two of your suggestions.

Thank you anyway! I’ll wait for version 5.2.1. It’s a shame because I wanted to try all the new features in 5.2.

Best regards,
Edwar

1 Like

Also I do not find how to install extension offline, as the downloaded update site is not working with 5.2

1 Like

I’m behind a proxy and have that same problem, too. I was able to fix it setting KNIME_PYTHON_PACKAGE_REPO_URL as env variable, pointing it to a directory where all the python packages were dumped. And that archive I created by exporting it from a KNIME installation on a PC that had direct internet access.
Found that by accident somewhere in the documentation around python node development.
Those proxy issue are so annoying…

3 Likes

The offline installation instructions for Python-based extensions can be found here: Create a New Python based KNIME Extension

4 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.