Subject: Re: sensitivity analysis and Excel files
From: Pierre Bommel (pierre.bommel@laposte.net)
Date: Wed May 18 2005 - 18:34:06 CEST
Hello Nicolas and Florent,
Normaly, the current Cormas version fixes this bug.
I don't understand why this bug appears: the brackets desappeared ...
Anyway, the solution is simple :
change
self classesToAnalyse at: className ifAbsentPut: Dictionary new
with
self classesToAnalyse at: className ifAbsentPut: [Dictionary new]
Otherwise, here is a patch
Best regards... from Brasilia,
Pierre
Le 12 mai 05, à 07:09, Nicolas Becu a écrit :
> Hello,
>
> This is exactly the same problem as I had report last month.
> Actually I’ve tried again yesterday the version that is currently
> available for download on the Cormas website, and I got again this
> problem when exporting Excel files.
>
> However, until now I couldn’t figure out what causes the bug.
>
> Perhaps someone could try downloading and installing the last version
> and try to export Excel files, to see if they also get that bug.
>
>
> Nicolas Becu
>
>
>
>
> From: owner-cormas@cirad.cirad.fr [mailto:owner-cormas@cirad.cirad.fr]
> On Behalf Of Florent Arrignon
> Sent: 12 May 2005 11:43
> To: cormas@cirad.fr
> Subject: sensitivity analysis and Excel files
>
> Hello to all,
>
> I’m a phD student at the INRA Toulouse, and I’m currently trying to do
> some sensitivity analysis with Cormas.
>
> Description of the problem: just after defining the initial value, the
> final value and the step value of the concerned parameter, I click on
> the “apply and close” button. And then I obtain the following damned
> message:
> “Unhandled exception: Message not understand: #value”.
>
> When I try to debug, I see that the concerned method is “addClass:
> className Attribut: attributName initPara: parameterInitialValue
> finalPara: parameterFinalValue step: parameterStep” and especially its
> first line “self classesToAnalyse at: className ifAbsentPut:
> Dictionary new”.
>
> But after that, I can’t go further, my computing skills are largely
> exceeded!
>
> Last thing: this problem occurs with all the models and with all the
> parameters. I believe I have the latest version of Cormas (Cormas2004
> v.February, 28, 2005- 10:49:19 am). With this version, I successfully
> exported my probes in Excel files. I tried the sensitivity analysis
> with an older version (January 2005) and then it could be conducted
> but not with Excel files.
>
> What can I do to debug this?
>
> Thank you in advance!
>
> Regards,
>
> Florent Arrignon
>
> Doctorant
> Laboratoire "Biodiversite dans les Agroecosystemes"
> UMR 1201 Dynafor - FR 2576- INRA / INP-ENSAT
> Institut National Polytechnique
> Ecole Nationale Superieure Agronomique de Toulouse
> Avenue de l'Agrobiopôle
> BP 32607
> F-31326 AUZEVILLE-TOLOSANE
> farri@toulouse.inra.fr
>
>
Pierre Bommel
SHIS QI 26, Conjunto 15, Casa 18
71670-150
Brasilia DF
tel: (00 55 61) 367 3405