Bug#907607: scilab-cli doesn't start

2019-05-18 Thread Alexis Murzeau
Le 13/05/2019 à 15:43, Sylvestre Ledru a écrit :
> Le 07/05/2019 à 23:08, Alexis Murzeau a écrit :
> [...]
>> I tried to run scilab-cli after having manually created empty .start and
>> .stop files and the cli was working.
>>
>> So I think the line 62 in debian/rules [2] need to be reverted.
>>
> Bravo for catching this.
> Could you please propose a merge request on salsa?
> I will upload it after and ask for a migration exception.

I've made a merge request on the salsa repository to be merged in buster
branch.
https://salsa.debian.org/science-team/scilab/merge_requests/3

-- 
Alexis Murzeau
PGP: B7E6 0EBB 9293 7B06 BDBC  2787 E7BD 1904 F480 937F



signature.asc
Description: OpenPGP digital signature


Bug#907607: scilab-cli doesn't start

2019-05-13 Thread Sylvestre Ledru

Le 07/05/2019 à 23:08, Alexis Murzeau a écrit :


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.

So I think the line 62 in debian/rules [2] need to be reverted.


Bravo for catching this.
Could you please propose a merge request on salsa?
I will upload it after and ask for a migration exception.

@Clement, you should probably fix that upstream too.

Thanks
Sylvestre



Bug#907607: scilab-cli doesn't start

2019-05-07 Thread Alexis Murzeau
On Wed, 26 Sep 2018 11:12:36 +0200 Julien Puydt
 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@debian64:~$ scilab-cli
Scilab 6.0.1 (Mar 31 2019, 13:13:06)

--> quit
doc@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



signature.asc
Description: OpenPGP digital signature


Bug#907607: scilab-cli doesn't start

2018-09-26 Thread Julien Puydt

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.


I'm a bit at a loss :

- the warnings are strange because for example 
/usr/share/scilab/modules/ui_data/jar/org.scilab.modules.ui_data.jar is 
in the class path, but there is still a warning about ui_data ;


- since both scilab and scilab-cli show the warnings and one of them 
works, the warnings might be unrelated to the freeze.


I have to admit that finding the jar files is a big hack I don't 
understand : upstream should rework the module-loading code so it works 
with recent java versions...


JP



Bug#907607: scilab-cli doesn't start

2018-08-30 Thread Sylvestre Ledru
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.

Sylvestre


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'stable'), (300, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.17.0-1-amd64 (SMP w/12 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages scilab-cli depends on:
ii  scilab-data 6.0.1-5
ii  scilab-include  6.0.1-5
ii  scilab-minimal-bin  6.0.1-5

Versions of packages scilab-cli recommends:
pn  scilab-sivp  

Versions of packages scilab-cli suggests:
ii  gcc 4:8.1.0-1
ii  gfortran4:8.1.0-1
pn  scilab-ann  
pn  scilab-plotlib  
pn  scilab-scimax   
pn  scilab-swt  

-- no debconf information