This page contains answers to our most frequently asked questions. If you cannot find what you are looking for, please get in touch with us.
We are not affiliated with the KNIME AG. We deliberately are not a “KNIME Partner”, but an independent company. We strongly believe that only this way we can provide you with the best and most innovative solutions and services and avoid any conflicts of interest which would stem from a coupling with the KNIME AG.
If you are using KNIME nodes from the KNIME Views or KNIME JavaScript Views extensions such as the Line Plot or Line Plot (JavaScript) nodes in your workflow, runs may fail with one of the following errors:
ERROR:elf_dynamic_array_reader.h(64) tag not found
Execute failed: No more handles [gtk_init_check() failed]
This is caused by a bug in the underlying Chromium browser embedded in the KNIME Views and KNIME JavaScript Views extensions and can be solved as follows:
Open the “Environment” menu and select the environment you'd like to use to run your workflow.
Use the “Extension Search” to add the extension KNIME Bundled Chromium Browser (legacy)
.
Under “Preference Entries”, manually add the following preferences:
/instance/org.knime.js.core/js.core.headlessBrowser=org.knime.ext.seleniumdrivers.multios.ChromiumImageGenerator
/instance/org.knime.js.core/js.core.viewBrowser=org.knime.ext.seleniumdrivers.multios.ChromiumWizardNodeView
Save your environment and re-run your schedule successfully.
KNIME runs with a fairly low heap space limit by default. If you're getting java.lang.OutOfMemoryError: Java heap space
errors during runs, you need to increase the Java heap space in your environment. This can easily be done as follows:
Open the “Environment” menu and select the environment for which you'd like to increase the heap space.
Go to section “Additional vmargs” and add a new parameter -Xmx4g
(e.g. here you set the available heap space to 4 GB). Make sure that the value corresponds to the available memory on your host machine.
Save your environment and re-run your schedule successfully.
If you need the R programming language in your environment, for example because your KNIME workflow contains nodes from KNIME Interactive R Statistics Integration, you can easily install R as follows:
Open the “Environment” menu and select the environment for which you'd like to install R for.
Go to section “Additional Dockerfile Instructions” and add the below snippet. This will install r-base
and Rserve
into your environment. R is then available via /usr/lib/R
and should be automatically discovered by the KNIME Interactive R Statistics nodes.
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq r-base && rm -rf /var/lib/apt/lists/* && R -e "install.packages('Rserve',,'http://rforge.net/',type='source')"
Save your environment and run your schedule.
To run Selenium Nodes workflows for web scraping, task automation, or testing with the NodePit Runner, the following steps are needed:
Make sure to select “Chrome for Testing (bundled)” in your workflow’s Start WebDriver or WebDriver Factory node.
Open the “Environment” menu and create a new environment or chose an existing one to edit.
Use the “Extension Search” to add the extensions Selenium Nodes for KNIME
and Selenium Nodes for KNIME: Chrome for Testing
.
Under “Preference Entries”, manually add a preference entry /instance/com.nodepit.licensing.plugin/ws.palladian.nodes.selenium.plugin=
with your license code as value. You’ll need to manually edit the license key before pasting it so that it is on one single line: Replace line breaks with \n
and prepend =
characters with a \
, i.e. \=
Under “Additional vmargs” add the following:
-Dseleniumnodes.chromium.args='--headless=new --no-sandbox --disable-dev-shm-usage'
Under “Additional Dockerfile Instructions” add the below snippet with additional dependencies required to run a Chrome browser.
RUN apt-get update && apt-get install -yq xvfb openjfx libnss3-dev libgdk-pixbuf2.0-dev libgtk-3-dev libxss-dev && rm -rf /var/lib/apt/lists/*
Save your environment and run your schedule.
In case of questions, please reach out to mail@nodepit.com — we’re happy to help!
Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com, follow @NodePit on Twitter or botsin.space/@nodepit on Mastodon.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.