gvSIG bugs #2901

SEXTANTE models are not loaded

Added by Antonio Falciano almost 10 years ago. Updated over 9 years ago.

Status:Closed% Done:

0%

Priority:NormalSpent time:-
Assignee:Francisco Díaz Carsí
Category:Geoprocess
Target version:2.1.0-2255-testing
Severity:Major Add-on version:
gvSIG version:2.1.0 Add-on build:
gvSIG build:2251 Add-on resolve version:
Operative System: Add-on resolve build:
Keywords: Proyecto:
Has patch: Hito:
Add-on name:Unknown

Description

After the latest revisions, SEXTANTE models are not loaded.


Related issues

Related to Application: gvSIG desktop - gvSIG bugs #2924: Modeler file filter translations are missing Closed 10/20/2014
Related to Application: gvSIG desktop - gvSIG bugs #2912: Geoprocesses toolbox is not refreshed New 10/17/2014
Related to Application: gvSIG desktop - gvSIG add-on requests #2949: New add-on for org.gvsig.geoprocess 2.2.15-2093 Closed 10/29/2014

Associated revisions

Revision 41788
Added by Joaquín del Cerro Murciano almost 10 years ago

Corregido un error en el classloader de los plugins que hacia que no se cargasen correctamente clases y recursos de otros plugins. refs #2901.

Revision 119
Added by Francisco Díaz Carsí over 9 years ago

refs #2901
- Arreglada la inicialización de la interfaz de usuario de Sextante para que se carguen los modelos de usuario.
- Modificaciones para que los directorios de modelos y scripts de usuario queden ahora en el directorio gvSIG del home de usuario y no se pierdan al cambiar de versión de gvSIG.

Revision 610
Added by Francisco Díaz Carsí over 9 years ago

refs #2901
- Arreglada la inicialización de la interfaz de usuario de Sextante para que se carguen los modelos de usuario.
- Modificaciones para que los directorios de modelos y scripts de usuario queden ahora en el directorio gvSIG del home de usuario y no se pierdan al cambiar de versión de gvSIG.

History

#1 Updated by Joaquín del Cerro Murciano almost 10 years ago

  • Assignee set to Francisco Díaz Carsí

#2 Updated by Antonio Falciano almost 10 years ago

Moving org.gvsig.toolbox.algorithm.jar in the mainplugin\lib dir (see #2900#note-2) solves the issue, but the "Load models" button doesn't work like in the past (e.g. build 2245).

Note: There are also other issues due to the new packaging system of the gvsig-toolbox project (e.g. Beanshell Command line doesn't work), but I avoid to open other tickets, because they are all due to the same reason.
Related to #2900.

#3 Updated by Álvaro Anguix almost 10 years ago

#4 Updated by Álvaro Anguix almost 10 years ago

  • Related to gvSIG bugs #2924: Modeler file filter translations are missing added

#5 Updated by Joaquín del Cerro Murciano almost 10 years ago

  • Status changed from New to Fixed

Habia un problema en el classloader de los plugins.

#6 Updated by Joaquín del Cerro Murciano almost 10 years ago

#7 Updated by Joaquín del Cerro Murciano almost 10 years ago

  • Target version changed from 2.1.0-2259-rc3 to 2.1.0-2254-testing

#8 Updated by Antonio Falciano over 9 years ago

  • Target version changed from 2.1.0-2254-testing to 2.1.0-2259-rc3
  • Status changed from Fixed to New

Same issue of RC2 in build 2254. It seems that the org.gvsig.geoprocess add-on build version is 2087 (the same of RC2) instead of 2090.

#9 Updated by Álvaro Anguix over 9 years ago

  • Status changed from New to Fixed

Hi Antonio, the bug is fixed but we don't test in build 2254. I change to fixed.

#10 Updated by Joaquín del Cerro Murciano over 9 years ago

  • Target version changed from 2.1.0-2259-rc3 to 2.1.0-2254-testing

#11 Updated by Antonio Falciano over 9 years ago

  • Target version changed from 2.1.0-2254-testing to 2.1.0-2259-rc3
  • Status changed from Fixed to New

The issue still persists in build 2254 at least in part. In fact, if I open the toolbox, no models are available. If I click on the "Load models" button, no models are loaded. But, if I create a new model and save it, then all models are loaded suddenly. IMHO this issue is related to #2912.

#12 Updated by Antonio Falciano over 9 years ago

Further info: if I close and restart gvSIG, only the model I did 15 minutes ago appears in the toolbox.

#13 Updated by Álvaro Anguix over 9 years ago

#14 Updated by Francisco Díaz Carsí over 9 years ago

  • Status changed from New to Fixed

Se ha arreglado la inicialización del interfaz gráfico de Toolbox para que se carguen los modelos de usuario.

También se han hecho las modificaciones oportunas para que los directorios "model" y "scripts" donde se guardan los modelos y scripts de usuario estén ahora en el directorio gvSIG del HOME de usuario (dentro del plugin) en lugar de estar en el directorio de instalación de gvSIG para que no se pierdan cuando se cambia de versión de gvSIG.

#15 Updated by Joaquín del Cerro Murciano over 9 years ago

#16 Updated by Antonio Falciano over 9 years ago

Hi Francisco,
the last fix doesn't work fine in my case. The behaviour is always the same.
The previous models and scripts folders are greyed out, but still active. The only difference is that the "Portable" checkbox has been removed. No new folders under plugins are created.

#17 Updated by Antonio Falciano over 9 years ago

  • Status changed from Fixed to Closed

In build 2093, a new org.gvsig.geoprocess.app.mainplugin folder under the plugin one is created now. It contains the models and scripts subfolders. Models and scripts are loaded at gvSIG restart as expected.
The only remaining issue is that the toolbox continues to reads the models and scripts in their old paths. Furthermore, being the models and scripts folder greyed out, it's not possible to change them anymore in the settings window. The only way to do it consists into deleting the sextante.setting file in sextante folder (it may conflict with other gvSIG setup). The "Load models" button in the settings seems broken, because the number of registered models is always zero.
I close this ticket and eventually I'll open other more specific ones. Thanks.

#18 Updated by Joaquín del Cerro Murciano over 9 years ago

  • Target version changed from 2.1.0-2259-rc3 to 2.1.0-2255-testing

Also available in: Atom PDF