Bug#884033: Different error

Julien Puydt julien.puydt at laposte.net
Tue Dec 19 17:49:46 UTC 2017


Hi,

I finally found some time to have a look and tried to reproduce the
issue with scilab-plotlib, but I get a different problem:

SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1
DOCBOOK_ROOT=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh \
        /usr/bin/scilab -nw -f builder.sce
Scilab 6.0.0 (Dec  2 2017, 12:18:39)
at line    15 of executed file /tmp/scilab-plotlib-0.42/builder.sce

  error(msprintf(gettext('%s module not installed."),'development_tools'));
                                                  ^^
Error: Heterogeneous string detected, starting with ' and ending with ".

-->

And indeed, there is a number of places where such heterogeneous strings
appear. When I fixed those, I was hit by:
at line     1 of executed string
at line    19 of executed file
/tmp/scilab-plotlib-0.42/macros/buildmacros.sce
at line    13 of function        tbx_builder        (
/usr/share/scilab/modules/modules_manager/macros/tbx_builder.sci line 26 )
at line    36 of function        tbx_builder_macros (
/usr/share/scilab/modules/modules_manager/macros/tbx_builder_macros.sci
line 51 )
at line    23 of executed file   /tmp/scilab-plotlib-0.42/builder.sce

save: Wrong type for input argument #2: A String expected.

and it looks like ./macros/buildmacros.sce:
execstr(sprintf('save(pathmacros+filesep()+''%s.bin'',%s)',vars(i),vars(i)));

Is this code compatible with scilab 6.0.0 ?

I'll have a look at scilab-ann and scilab-celestlab too later.

Snark on #debian-science



More information about the debian-science-maintainers mailing list