Installation of extension from command-line in version 4.3.1

Hi all,

I’m trying to make a container with my KNIME Analytics to run it wherever I want. I manage to download and install the version 4.3.1 but, unfortunately, one of my workflows required the LigandScout extension. Since it’s an automated process, I have to install it from command-line but I’m totally clueless on that. Thus, I want to ask some help for finding the full extension name and the command to install it (or the place where I have to place it).

I’m not sure if this can help you give an answer, but here you have some details of my installation script:

Thanks a lot

Can you try this again with the 4.3. update site?
I would remove all update sites and only keep the Partner update site.

If you want to know which update site you need, you can always check on the hub, you see it at the end of the extension page: LigandScout Extensions for the KNIME Workbench – KNIME Hub

Hi,

(fyi, probably not your original issue) The update site URL for Palladian points to 4.0, but you’re installing in 4.3. Please use a corresponding update site URL, i.e. https://download.nodepit.com/palladian/4.3 (suggest to use https as well)

See:

– Philipp

1 Like

Thank you for your tips. I’ve been investigating a bit and now I simplified my script to:

knime -nosplash -consolelog -application org.eclipse.equinox.p2.director -r http://update.knime.com/partner/4.2,http://update.knime.com/community-contributions/trusted/4.2 -i org.eclipse.osgi,org.eclipse.osgi.util,org.eclipse.osgi.services,org.knime.features.chem.types.feature.group,org.knime.features.ext.chem.tools.feature.group,com.inteligand.knime.feature.group -d /opt/knime_4.2.4 -profile KNIMEProfile -profileProperties org.eclipse.update.install.features=true

Notice that I reverted to version 4.2.4 to be able to install the requested dependencies. However, I face this new error:

!ENTRY org.eclipse.equinox.p2.core 4 0 2021-02-09 14:00:32.578
!MESSAGE Exception during event notification
!STACK 0
java.lang.IllegalArgumentException: Location must be absolute: …
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.checkValidLocation(AbstractRepositoryManager.java:756)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.contains(AbstractRepositoryManager.java:252)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.addRepository(AbstractRepositoryManager.java:167)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.notify(AbstractRepositoryManager.java:825)
at org.eclipse.equinox.internal.p2.core.ProvisioningEventBus.dispatchEvent(ProvisioningEventBus.java:103)
at org.eclipse.equinox.internal.p2.core.ProvisioningEventBus.dispatchEvent(ProvisioningEventBus.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)

!ENTRY org.eclipse.equinox.p2.core 4 0 2021-02-09 14:00:32.580
!MESSAGE Exception during event notification
!STACK 0
java.lang.IllegalArgumentException: Location must be absolute: …
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.checkValidLocation(AbstractRepositoryManager.java:756)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.contains(AbstractRepositoryManager.java:252)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.addRepository(AbstractRepositoryManager.java:167)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.notify(AbstractRepositoryManager.java:825)
at org.eclipse.equinox.internal.p2.core.ProvisioningEventBus.dispatchEvent(ProvisioningEventBus.java:103)
at org.eclipse.equinox.internal.p2.core.ProvisioningEventBus.dispatchEvent(ProvisioningEventBus.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)
Installation failed.
The installable unit org.knime.features.chem.types.feature.group has not been found.

!ENTRY org.eclipse.equinox.p2.director.app 4 0 2021-02-09 14:00:33.247
!MESSAGE The installable unit org.knime.features.chem.types.feature.group has not been found.

Is there a way to find what repository I need to install org.knime.features.chem.types.feature.group?

You can find this on KNIME Hub by searching for the term you find the feature page: KNIME Base Chemistry Types & Nodes – KNIME Community Hub

And there it says: http://update.knime.com/analytics-platform/4.3

Thank you so much @Iris. It works perfectly!!

2 Likes

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