Bug#907607: scilab-cli doesn't start
Alexis Murzeau
amubtdx at gmail.com
Tue May 7 22:08:03 BST 2019
On Wed, 26 Sep 2018 11:12:36 +0200 Julien Puydt
<julien.puydt at laposte.net> wrote:
> Hi,
>
> Le 21/09/2018 à 14:51, Sylvestre Ledru a écrit :
> > Le 30/08/2018 à 09:07, Sylvestre Ledru a écrit :
> >> Package: scilab-cli
> >> Version: 6.0.1-5
> >> Severity: important
> >>
> >> Hello
> >>
> >> scilab-cli is failing on startup.
> >>
> >> STR:
> >> $ sudo apt-get install scilab-cli
> >> $ scilab-cli
> >> commons module not found.
> >> graphic_objects module not found.
> >> ui_data module not found.
> >> graph module not found.
> >> history_browser module not found.
> >> slint module not found.
> >> coverage module not found.
> >>
> >> installing the scilab pkg does not fix the issue.
> > Hello Julien,
> >
> > Do you have an idea about that?
> >
>
> I had a look, and indeed, warnings get spit out and scilab-cli is stuck.
> Running "scilab" gives the same warnings, but works.
Hi,
I found the "module not found." message inside the file funcmanager.cpp
[0]. It does a verification which is a file existence check against the
start file of the module [1].
I found that the modules giving errors don't have start files in Debian.
For example,
"/usr/share/scilab/modules/graphic_objects/etc/graphic_objects.start"
doesn't exists in unstable but exists in stable.
As this start file is empty, I think the cause of this is the line in
debian/rules removing empty files [2] which was added in version 6.0.1-4
[3].
I tried to run scilab-cli after having manually created empty .start and
.stop files and the cli was working.
I've done this a root:
```
SCI_MODULE="graphic_objects" ; mkdir
/usr/share/scilab/modules/$SCI_MODULE/etc; touch
$_/$SCI_MODULE{.start,.quit}
SCI_MODULE="commons" ; mkdir /usr/share/scilab/modules/$SCI_MODULE/etc;
touch $_/$SCI_MODULE{.start,.quit}
SCI_MODULE="ui_data" ; mkdir /usr/share/scilab/modules/$SCI_MODULE/etc;
touch $_/$SCI_MODULE{.start,.quit}
SCI_MODULE="graph" ; mkdir /usr/share/scilab/modules/$SCI_MODULE/etc;
touch $_/$SCI_MODULE{.start,.quit}
SCI_MODULE="history_browser" ; mkdir
/usr/share/scilab/modules/$SCI_MODULE/etc; touch
$_/$SCI_MODULE{.start,.quit}
SCI_MODULE="slint" ; mkdir /usr/share/scilab/modules/$SCI_MODULE/etc;
touch $_/$SCI_MODULE{.start,.quit}
SCI_MODULE="coverage" ; mkdir /usr/share/scilab/modules/$SCI_MODULE/etc;
touch $_/$SCI_MODULE{.start,.quit}
touch /usr/share/scilab//modules/types/etc/types.quit
touch /usr/share/scilab//modules/preferences/etc/preferences.quit
```
And I'm not getting any error when starting scilab-cli nor any errors
when leaving the cli:
doc at debian64:~$ scilab-cli
Scilab 6.0.1 (Mar 31 2019, 13:13:06)
--> quit
doc at debian64:~$
So I think the line 62 in debian/rules [2] need to be reverted.
[0]
https://sources.debian.org/src/scilab/6.0.1-9/modules/functions_manager/src/cpp/funcmanager.cpp/#L192
[1]
https://sources.debian.org/src/scilab/6.0.1-9/modules/functions_manager/src/cpp/funcmanager.cpp/#L244
[2] https://sources.debian.org/src/scilab/6.0.1-9/debian/rules/#L62
[3]
https://salsa.debian.org/science-team/scilab/commit/46642e287b941f0a27fa2f7e25c47f2ababd9b28#8756c63497c8dc39f7773438edf53b220c773f67_57_56
--
Alexis Murzeau
PGP: B7E6 0EBB 9293 7B06 BDBC 2787 E7BD 1904 F480 937F
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20190507/c8350244/attachment.sig>
More information about the debian-science-maintainers
mailing list