[Scilab-users] atomsRemove('IPCV')

classic Classic list List threaded Threaded
7 messages Options
der_Phil der_Phil
Reply | Threaded
Open this post in threaded view
|

[Scilab-users] atomsRemove('IPCV')

Hi,

I try to deinstall the IPCV module to install the SciCV module.

Otherwise I guess there might be issues due to the fact, that both toolboxes have common function names, e.g.: imread, imwrite, etc.

Here's the issue:

- uninstall IPCV within ATOMS
- close Scilab
- reopen Scilab

IPCV is still at autoload  // without any error message..etc. modul can not be found or something like this

- atomsRemove('IPCV')
ans = []

What does this mean?
Is the module removed, but some manual deleting has still to be done?

Thanks,
Philipp

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
der_Phil der_Phil
Reply | Threaded
Open this post in threaded view
|

Re: atomsRemove('IPCV')

Mh...

atomsRemove('IPCV') .... did not remove the Toolbox.

so I deleted it manually by removing the associated contrib-subfolder ...big mistake....had to de-/re-install Scilab to make it start without any error message.

At least the right time to switch to Scilab 6.0.2






Am Di., 5. März 2019 um 08:18 Uhr schrieb P M <[hidden email]>:
Hi,

I try to deinstall the IPCV module to install the SciCV module.

Otherwise I guess there might be issues due to the fact, that both toolboxes have common function names, e.g.: imread, imwrite, etc.

Here's the issue:

- uninstall IPCV within ATOMS
- close Scilab
- reopen Scilab

IPCV is still at autoload  // without any error message..etc. modul can not be found or something like this

- atomsRemove('IPCV')
ans = []

What does this mean?
Is the module removed, but some manual deleting has still to be done?

Thanks,
Philipp

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|

Re: atomsRemove('IPCV')

Hello,

Le 07/03/2019 à 18:01, P M a écrit :
Mh...

atomsRemove('IPCV') .... did not remove the Toolbox.

When the module is already loaded, its actual removal is done only when restarting a next session.
If in the meanwhile you remove the folder by hand, indeed this then yields some issues.
To cure them, either the folder can be restore, or the SCI/.atoms files or/and SCIHOME/.atoms
ones can be cleaned (removed).

The removal procedure is safer in Scilab 6.0.2. May be still not enough.

Samuel


_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
der_Phil der_Phil
Reply | Threaded
Open this post in threaded view
|

Re: atomsRemove('IPCV')

to make myself clearer:

- atomsRemove('IPCV')
- close Scilab
- restart Scilab
.... did not remove the Toolbox.

Instead it was still on autoload

Philipp



Am Do., 7. März 2019 um 19:33 Uhr schrieb Samuel Gougeon <[hidden email]>:
Hello,

Le 07/03/2019 à 18:01, P M a écrit :
Mh...

atomsRemove('IPCV') .... did not remove the Toolbox.

When the module is already loaded, its actual removal is done only when restarting a next session.
If in the meanwhile you remove the folder by hand, indeed this then yields some issues.
To cure them, either the folder can be restore, or the SCI/.atoms files or/and SCIHOME/.atoms
ones can be cleaned (removed).

The removal procedure is safer in Scilab 6.0.2. May be still not enough.

Samuel

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Tan Chin Luh-2 Tan Chin Luh-2
Reply | Threaded
Open this post in threaded view
|

Re: atomsRemove('IPCV')

Hi,

if it is under windows, have you tried to launch the Scilab as Administrator? (right click on the icon, and choose run as administrator)

thanks.

rgds,
CL

On 8/3/2019 3:50 PM, P M wrote:
to make myself clearer:

- atomsRemove('IPCV')
- close Scilab
- restart Scilab
.... did not remove the Toolbox.

Instead it was still on autoload

Philipp



Am Do., 7. März 2019 um 19:33 Uhr schrieb Samuel Gougeon <[hidden email]>:
Hello,

Le 07/03/2019 à 18:01, P M a écrit :
Mh...

atomsRemove('IPCV') .... did not remove the Toolbox.

When the module is already loaded, its actual removal is done only when restarting a next session.
If in the meanwhile you remove the folder by hand, indeed this then yields some issues.
To cure them, either the folder can be restore, or the SCI/.atoms files or/and SCIHOME/.atoms
ones can be cleaned (removed).

The removal procedure is safer in Scilab 6.0.2. May be still not enough.

Samuel

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users


-- 
Tan Chin Luh
Trity Technologies Sdn Bhd
Tel : +603 80637737
HP : +6013 3691728

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|

Re: atomsRemove('IPCV')

Hello,

Le 08/03/2019 à 08:57, Tan Chin Luh a écrit :
Hi,

if it is under windows, have you tried to launch the Scilab as Administrator? (right click on the icon, and choose run as administrator)


That's right. If a user without OS priviledge requests the removal of a module installed as admin, what does occur?

Likely -- but this should be confirmed by some tests -- atomsRemove(..) simply returns [].
Actually, according to the atomsRemove() design and help page, in case of removal failure no error flag is returned, and likely no error or warning message is displayed.
This is somewhat an issue.

There is another issue about atomsRemove(), reported as bug 9595 (2011) :
"when multiple versions installed, atomsRemove doesn't delete the loaded one, even after restart"

To be analyzed, and fixed is it is confirmed with a recent Scilab version.

Samuel


_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
der_Phil der_Phil
Reply | Threaded
Open this post in threaded view
|

Re: atomsRemove('IPCV')

...[ if it is under windows, have you tried to launch the Scilab as Administrator? (right click on the icon, and choose run as administrator) ] ...

...indeed...I am on win7.

I did not open Scilab with admin rights....didn't expect this, because with Scilab 5.x versions I could use atomsRemove() just like that.

now here's a little research:

start Scilab 6.0.2 without admin rights

- install SciCV with atoms.....done...close / restart Scilab ...OK toolbox is installed
- remove SciCV with atoms ...done...close / restart Scilab ... OK toolbox is removed

- install IPCV with atoms ....done...close/restart Scilab....OK toolbox is installed
- remove IPCV with atoms ...done...close / restart Scilab ... OK toolbox is removed ....mh...why now?

I'll not redo this with Scilab 6.0.1 (since it's already removed from the PC) and stop here...case closed

Best regards,
Philipp





Am Fr., 8. März 2019 um 10:56 Uhr schrieb Samuel Gougeon <[hidden email]>:
Hello,

Le 08/03/2019 à 08:57, Tan Chin Luh a écrit :
Hi,

if it is under windows, have you tried to launch the Scilab as Administrator? (right click on the icon, and choose run as administrator)


That's right. If a user without OS priviledge requests the removal of a module installed as admin, what does occur?

Likely -- but this should be confirmed by some tests -- atomsRemove(..) simply returns [].
Actually, according to the atomsRemove() design and help page, in case of removal failure no error flag is returned, and likely no error or warning message is displayed.
This is somewhat an issue.

There is another issue about atomsRemove(), reported as bug 9595 (2011) :
"when multiple versions installed, atomsRemove doesn't delete the loaded one, even after restart"

To be analyzed, and fixed is it is confirmed with a recent Scilab version.

Samuel

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users