Open jpahullo opened 1 month ago
By the way, I have tried also to update the command line to use to:
but it does not change the result.
Thanks.
Making a research on the source files, scilab
also appears on this file:
public_html/modules/adm/manage/conf/software.phtml
in the live process of checking if software exists, with the rest of software elements.
A quick trial to have a fake scilab binary pointing to any existing binary scilab-cli does not work either:
root@wims:/home/wims# ls -lah /usr/bin/scilab*
lrwxrwxrwx 1 root root 23 Jul 15 16:46 /usr/bin/scilab -> /usr/bin/scilab-cli-bin
-rwxr-xr-x 1 root root 44K Apr 14 2022 /usr/bin/scilab-cli
-rwxr-xr-x 1 root root 27K Apr 14 2022 /usr/bin/scilab-cli-bin
root@wims:/home/wims#
WIMS still says "Unavailable".
I tried a simbolic link to both scilab-cli and scilab-cli-bin and it does not work.
scilab package can be installed directly:
root@wims:/home/wims# apt-get install scilab
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
ant ant-optional antlr bwidget default-jre docbook-xml docbook-xsl fonts-dejavu-extra fop icc-profiles-free java-wrappers javahelp2 junit junit4 libactivation-java
libantlr-java libaopalliance-java libapache-pom-java libargs4j-java libatinject-jsr330-api-java libatk-wrapper-java libatk-wrapper-java-jni libavalon-framework-java
libbatik-java libcdi-api-java libcodemodel-java libcommons-cli-java libcommons-codec-java libcommons-compress-java libcommons-io-java libcommons-lang3-java
libcommons-logging-java libcommons-parent-java libdom4j-java libdtd-parser-java libecj-java libfastinfoset-java libflexdock-java libfontbox2-java libfontenc1 libfop-java
libfreehep-graphics2d-java libfreehep-graphicsio-emf-java libfreehep-io-java libgeronimo-annotation-1.3-spec-java libgeronimo-interceptor-3.0-spec-java libgif7
libgluegen2-jni libgluegen2-rt-java libguava-java libguice-java libhamcrest-java libhawtjni-runtime-java libhttpclient-java libhttpcore-java libistack-commons-java
libjansi-java libjansi-native-java libjaxb-api-java libjaxb-java libjaxen-java libjaxp1.3-java libjeuclid-core-java libjgoodies-common-java libjgoodies-looks-java
libjgraphx-java libjlatexmath-fop-java libjlatexmath-java libjogl2-java libjogl2-jni libjrosetta-java libjsoup-java libjsr305-java liblaf-plugin-java liblucene4.10-java
libmaven-file-management-java libmaven-parent-java libmaven-resolver-java libmaven-shared-io-java libmaven-shared-utils-java libmaven3-core-java libplexus-archiver-java
libplexus-cipher-java libplexus-classworlds-java libplexus-component-annotations-java libplexus-interpolation-java libplexus-io-java libplexus-sec-dispatcher-java
libplexus-utils2-java libqdox-java libregexp-java librelaxng-datatype-java librngom-java libsaxon-java libsisu-inject-java libsisu-plexus-java libskinlf-java
libslf4j-java libsnappy-java libsnappy-jni libsnappy1v5 libstax-ex-java libstreambuffer-java libtxw2-java libutempter0 libwagon-http-java libwagon-provider-api-java
libxalan2-java libxerces2-java libxkbfile1 libxml-commons-external-java libxml-commons-resolver1.1-java libxmlgraphics-commons-java libxmuu1 libxsom-java libxtst6 libxv1
libxxf86dga1 libxz-java openjdk-11-jre scilab-doc scilab-full-bin sgml-base sgml-data tcl tcl8.6 tk tk8.6 x11-utils xbitmaps xml-core xterm
Suggested packages:
ant-doc default-jdk | java-compiler | java-sdk javacc jython libbcel-java libbsf-java libcommons-net-java libmail-java libjdepend-java libjsch-java liblog4j1.2-java
liboro-java docbook docbook-dsssl docbook-defguide dbtoepub docbook-xsl-doc-html | docbook-xsl-doc-pdf | docbook-xsl-doc-text | docbook-xsl-doc docbook-xsl-saxon
libxslthl-java xalan fop-doc javahelp2-doc junit-doc libaopalliance-java-doc libatinject-jsr330-api-java-doc libavalon-framework-java-doc librhino-java libel-api-java
libcommons-io-java-doc libcommons-lang3-java-doc libcommons-logging-java-doc libexcalibur-logkit-java libdom4j-java-doc libmsv-java libxpp2-java libxpp3-java ecj
libflexdock-java-doc libflexdock-java-demo libgluegen2-doc libasm-java libcglib-java libjdom1-java libxom-java libjgoodies-common-java-doc libjlatexmath-java-doc
libjogl2-java-doc libjsoup-java-doc libjsr305-java-doc liblaf-plugin-java-doc libmaven-file-management-java-doc libmaven-shared-io-java-doc libmaven-shared-utils-java-doc
liblogback-java libplexus-classworlds-java-doc libplexus-sec-dispatcher-java-doc libplexus-utils2-java-doc libqdox-java-doc libsaxon-java-doc testng libskinlf-java-demo
libxalan2-java-doc libxsltc-java libxerces2-java-doc libxml-commons-resolver1.1-java-doc libxmlgraphics-commons-java-doc scilab-doc-fr scilab-doc-pt-br scilab-doc-ja
sgml-base-doc perlsgml w3-recs opensp libxml2-utils tcl-tclreadline mesa-utils debhelper xfonts-cyrillic
The following NEW packages will be installed:
ant ant-optional antlr bwidget default-jre docbook-xml docbook-xsl fonts-dejavu-extra fop icc-profiles-free java-wrappers javahelp2 junit junit4 libactivation-java
libantlr-java libaopalliance-java libapache-pom-java libargs4j-java libatinject-jsr330-api-java libatk-wrapper-java libatk-wrapper-java-jni libavalon-framework-java
libbatik-java libcdi-api-java libcodemodel-java libcommons-cli-java libcommons-codec-java libcommons-compress-java libcommons-io-java libcommons-lang3-java
libcommons-logging-java libcommons-parent-java libdom4j-java libdtd-parser-java libecj-java libfastinfoset-java libflexdock-java libfontbox2-java libfontenc1 libfop-java
libfreehep-graphics2d-java libfreehep-graphicsio-emf-java libfreehep-io-java libgeronimo-annotation-1.3-spec-java libgeronimo-interceptor-3.0-spec-java libgif7
libgluegen2-jni libgluegen2-rt-java libguava-java libguice-java libhamcrest-java libhawtjni-runtime-java libhttpclient-java libhttpcore-java libistack-commons-java
libjansi-java libjansi-native-java libjaxb-api-java libjaxb-java libjaxen-java libjaxp1.3-java libjeuclid-core-java libjgoodies-common-java libjgoodies-looks-java
libjgraphx-java libjlatexmath-fop-java libjlatexmath-java libjogl2-java libjogl2-jni libjrosetta-java libjsoup-java libjsr305-java liblaf-plugin-java liblucene4.10-java
libmaven-file-management-java libmaven-parent-java libmaven-resolver-java libmaven-shared-io-java libmaven-shared-utils-java libmaven3-core-java libplexus-archiver-java
libplexus-cipher-java libplexus-classworlds-java libplexus-component-annotations-java libplexus-interpolation-java libplexus-io-java libplexus-sec-dispatcher-java
libplexus-utils2-java libqdox-java libregexp-java librelaxng-datatype-java librngom-java libsaxon-java libsisu-inject-java libsisu-plexus-java libskinlf-java
libslf4j-java libsnappy-java libsnappy-jni libsnappy1v5 libstax-ex-java libstreambuffer-java libtxw2-java libutempter0 libwagon-http-java libwagon-provider-api-java
libxalan2-java libxerces2-java libxkbfile1 libxml-commons-external-java libxml-commons-resolver1.1-java libxmlgraphics-commons-java libxmuu1 libxsom-java libxtst6 libxv1
libxxf86dga1 libxz-java openjdk-11-jre scilab scilab-doc scilab-full-bin sgml-base sgml-data tcl tcl8.6 tk tk8.6 x11-utils xbitmaps xml-core xterm
0 upgraded, 133 newly installed, 0 to remove and 12 not upgraded.
Need to get 91.1 MB of archives.
After this operation, 169 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Dockerfile installs scilab-cli explicitly and not scilab. I will try installing it with all required additional packages.
Is there any reason to not to install scilab directly?
Thanks,
Jordi
I have installed scilab package and all required packages and nothing changes:
What do you think?
By the way, I also remember somewhere you told that scilab was not detected on this web page, but it works as expected. It rings me a bell. Is it right?
Thanks,
Jordi
Hi Jordi, I already tried in all possible ways to make WIMS recognize scilab, with no success. I have no idea if it works, even if it is not detected. I will try asking in the wims-devel mailing list.
In the meantime, I'am going to leave this issue open.
Thanks @amato-gianluca !
If you know the means to contact them, it will be very helpful.
Let me know if I can do anything else.
Regards, Jordi
Hi,
I have seen also that this message about scilab is something inconsistent with what we have in the Dockerfile:
In text format
Scilab scilab ?% Help Unavailable.
I think it is because in
src/Interfaces/scilab.c
theprogname
variable is set toscilab
and notsclilab-cli
, which is what the Dockerfile installs.Do you think that if it is change from
sclilab
toscilab-cli
in the scilab.c it would work as expected?I will do a trial on this way, anyway, to verify that it can work (or not).