"-je vais essayer de faire tourner une simu avec la V4.3 et une en V4.4 pour verifier qu on obtient la meme chose."

Sur une simu simple, j'ai strictement les mêmes résultats

je vais importer quelques regles compliquées pour voir s il y a bcp de changements a faire ds les scripts pour les adapter a la nouvelle version.
A+

Le 3 septembre 2015 17:16, Sigrid Lehuta <sigridlehuta@gmail.com> a écrit :
Hello hello,
retour de congés...
alors c'est parti :

déjà au lancement j'ai eu cette fenetre :
Images intégrées 1

je suis bete et disciplinée je relance et ca recommence.
J'ai mes limites, donc j'ai supprimé le dossier isis-fish-4-rc, et la ca marche.

interface lancement de simu :
- chouette la doc qui s affiche pour exports et resultats et regles
- par contre rien ne s'est passé quand j'ai chargé une région pour lancer une simu...
j'ai fermé et relancé isis et là ca a marché

- il y a un mini bug : une fois la région sélectionnée, elle n apparait pas à la place de la liste déroulante, le champs est vide.


interface de saisie:
- là j ai des problemes qd j'ai selectionne une pop de demoRegion j ai eu cette fenetre
Images intégrées 2
et cette erreur :

java.lang.RuntimeException: could not prepare statement
    at jaxx.runtime.swing.nav.tree.NavTreeNode.populateChilds(NavTreeNode.java:298)
    at jaxx.runtime.swing.nav.NavHelper$2.treeWillExpand(NavHelper.java:387)
    at javax.swing.JTree.fireTreeWillExpand(Unknown Source)
    at javax.swing.JTree.setExpandedState(Unknown Source)
    at javax.swing.JTree.expandPath(Unknown Source)
    at javax.swing.plaf.basic.BasicTreeUI.toggleExpandState(Unknown Source)
    at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(Unknown Source)
    at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(Unknown Source)
    at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$200(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: org.hibernate.exception.SQLGrammarException: could not prepare statement
    at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:123)
    at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:49)
    at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:126)
    at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:196)
    at org.hibernate.engine.jdbc.internal.StatementPreparerImpl.prepareQueryStatement(StatementPreparerImpl.java:160)
    at org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.prepareQueryStatement(AbstractLoadPlanBasedLoader.java:257)
    at org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.executeQueryStatement(AbstractLoadPlanBasedLoader.java:201)
    at org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.executeLoad(AbstractLoadPlanBasedLoader.java:137)
    at org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.executeLoad(AbstractLoadPlanBasedLoader.java:102)
    at org.hibernate.loader.collection.plan.AbstractLoadPlanBasedCollectionInitializer.initialize(AbstractLoadPlanBasedCollectionInitializer.java:100)
    at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:693)
    at org.hibernate.event.internal.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:92)
    at org.hibernate.internal.SessionImpl.initializeCollection(SessionImpl.java:1933)
    at org.hibernate.collection.internal.AbstractPersistentCollection$4.doWork(AbstractPersistentCollection.java:558)
    at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:260)
    at org.hibernate.collection.internal.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:554)
    at org.hibernate.collection.internal.AbstractPersistentCollection.read(AbstractPersistentCollection.java:142)
    at org.hibernate.collection.internal.PersistentBag.toArray(PersistentBag.java:300)
    at java.util.ArrayList. (Unknown Source)
    at fr.ifremer.isisfish.ui.input.tree.loadors.PopulationsNodeLoador.getData(PopulationsNodeLoador.java:56)
    at jaxx.runtime.swing.nav.NavNodeChildLoador.loadChilds(NavNodeChildLoador.java:129)
    at jaxx.runtime.swing.nav.tree.NavTreeNode.populateChilds(NavTreeNode.java:296)
    ... 39 more
Caused by: org.h2.jdbc.JdbcSQLException: Column "POPULATION0_.RECRUITMENTEQUATION" not found; SQL statement:
select population0_.species as species45_22_0_, population0_.topiaId as topiaId1_11_0_, population0_.topiaId as topiaId1_11_1_, population0_.topiaVersion as topiaVer2_11_1_, population0_.topiaCreateDate as topiaCre3_11_1_, population0_.name as name4_11_1_, population0_.geographicId as geograph5_11_1_, population0_.plusGroup as plusGrou6_11_1_, population0_.growth as growth7_11_1_, population0_.growthReverse as growthRe8_11_1_, population0_.comment as comment9_11_1_, population0_.meanWeight as meanWei10_11_1_, population0_.price as price11_11_1_, population0_.naturalDeathRate as natural12_11_1_, population0_.caractBioComment as caractB13_11_1_, population0_.reproductionEquation as reprodu14_11_1_, population0_.monthGapBetweenReproRecrutement as monthGa15_11_1_, population0_.recruitmentDistribution_name as recruit16_11_1_, population0_.recruitmentDistribution_dim as recruit17_11_1_, population0_.recruitmentDistribution_dimNames as recruit18_11_1_, population0_.recruitmentDistribution_semantics as recruit19_11_1_, population0_.recruitmentDistribution_data as recruit20_11_1_, population0_.recruitmentEquation as recruit21_11_1_, population0_.recruitmentComment as recruit22_11_1_, population0_.zonesComment as zonesCo23_11_1_, population0_.seasonsComment as seasons24_11_1_, population0_.capturabilityComment as captura25_11_1_, population0_.migrationComment as migrati26_11_1_, population0_.mappingZoneReproZoneRecru_name as mapping27_11_1_, population0_.mappingZoneReproZoneRecru_dim as mapping28_11_1_, population0_.mappingZoneReproZoneRecru_dimNames as mapping29_11_1_, population0_.mappingZoneReproZoneRecru_semantics as mapping30_11_1_, population0_.mappingZoneReproZoneRecru_data as mapping31_11_1_, population0_.capturability_name as captura32_11_1_, population0_.capturability_dim as captura33_11_1_, population0_.capturability_dimNames as captura34_11_1_, population0_.capturability_semantics as captura35_11_1_, population0_.capturability_data as captura36_11_1_, population0_.capturabilityEquationUsed as captura37_11_1_, population0_.capturabilityEquation as captura38_11_1_, population0_.maturityOgiveEquation as maturit39_11_1_, population0_.reproductionRateEquation as reprodu40_11_1_, population0_.fbarGroupMin as fbarGro41_11_1_, population0_.fbarGroupMax as fbarGro42_11_1_, population0_.abundanceReferenceMonth as abundan43_11_1_, population0_.computeFOnLandings as compute44_11_1_, population0_.species as species45_11_1_ from population population0_ where population0_.species=? [42122-176]
    at org.h2.message.DbException.getJdbcSQLException(DbException.java:344)
    at org.h2.message.DbException.get(DbException.java:178)
    at org.h2.message.DbException.get(DbException.java:154)
    at org.h2.expression.ExpressionColumn.optimize(ExpressionColumn.java:148)
    at org.h2.expression.Alias.optimize(Alias.java:52)
    at org.h2.command.dml.Select.prepare(Select.java:831)
    at org.h2.command.Parser.prepareCommand(Parser.java:248)
    at org.h2.engine.Session.prepareLocal(Session.java:442)
    at org.h2.engine.Session.prepareCommand(Session.java:384)
    at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1188)
    at org.h2.jdbc.JdbcPreparedStatement. (JdbcPreparedStatement.java:73)
    at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:276)
    at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$5.doPrepare(StatementPreparerImpl.java:162)
    at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:186)
    ... 57 more


- j'ai importé une region à moi et là ça fonctionne bien et maintenant que je retourne sur demo region ca marche aussi.
Il semble y avoir des bugs ephémeres qd on fait les choses la premiere fois...
- l'interface "stock" est bien

Si je reprends la liste des nouveautés
* #7149: Détecter la non présence de "package" dans un script
pour tester j'ai supprimé cette ligne ds Gravity model "import java.util.List;" et il me dis bien que List cannot be resolved to a type mais pas que le package List est manquant... dc je ne vois pas la difference avec avant
 * #7230: Cannot restore sensitivity analysis factor on rule
je sais pas ce que c est peut etre steph...
 * #7223: Ajouter une option pour supprimer les resultats en fin de simulation (après les exports).
ca marche
* #7224: Ajouter des champs dans la region pour changer la methode de calcul de F
ca marche aussi
 * #7210: Add result storage to manage resultat as script files
ca faudra que tu m'expliques (ou me re explique). D'autant qu en checkant d anciennes règles je vois ResultName.MATRIX_... ResultName is deprecated
Il va falloir changer bcp de scripts si c est ca donc Help !
 * #7222: Ajouter le calcul de landing weight
OK

-je vais essayer de faire tourner une simu avec la V4.3 et une en V4.4 pour verifier qu on obtient la meme chose.

 
Y a t'il autre chose ?

Il reste le changement dans l interface de recrutement, je ne sais tjs pas comment l utiliser... Peut etre le plus simple serait il que tu passes a ifremer et qu on regarde ensemble, est ce envisageable pour toi ? (je suis encore en congés la semaine prochaine)

Merci
A++


Le 5 août 2015 11:05, Sigrid Lehuta <sigridlehuta@gmail.com> a écrit :
Coucou
pas eu le temps, j'essaie de faire ça d'ici le 15 aout.
A++

Le 20 juillet 2015 10:05, Eric Chatellier <chatellier@codelutin.com> a écrit :
Le 24/06/2015 10:57, Eric Chatellier a écrit :
> Bonjour,
>
> Je viens de préparer une nouvelle version de test : 4.4.0.0-rc-3.
>
> Cette version n'est pas compatible avec les précédentes, donc les regions déjà migrées en 4.4 devront être migrées à nouveau.
> Le dossier isis-fish-data ne compilera entierrement qu'avec la version "rc-3" à cause des changements sur la region.
Sigrid, as-tu eu le temps de tester cette version ?
Je voudrais être sûr que les modifications concernant la région soient correcte
et finaliser la release.

--
Éric Chatellier - www.codelutin.com - 02.40.50.29.28

_______________________________________________
Isis-fish-devel mailing list
Isis-fish-devel@list.isis-fish.org
http://list.isis-fish.org/cgi-bin/mailman/listinfo/isis-fish-devel