Ticket #200 (new defect)
Error description sometimes doubled
Reported by: | michelpons | Owned by: | michelpons |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | COLoggers | Version: | 2.3 |
Keywords: | error description | Cc: | michaelhalloran |
Description
Could there be an issue in COLTT with the way get_description on error interface is handled? With the same scenario of a PMC used in COFE, leading to an exception thrown by CalcSinglePhaseProp, two runs, made different days, lead to different logs for the error description. The first time the scenario was run, the description message is repeated:
PropertyPackage <WaterEthanol> : Description: N CALUPP failed to calculate properties that may be caused by missing parameters or other reasons, please see history file.
CALUPP failed to calculate properties that may be caused by missing parameters or other reasons, please see history file.
while the second time the scenario is run the description appears only once. Could it be that some variable is not cleared in COLTT?
Attachments
Change History
Changed 9 years ago by michelpons
- Attachment cofe_041216_170206.log added
Changed 9 years ago by michelpons
- Attachment cofe_041416_142914.log added
Log obtained on April 14, 2016 (one message only)
comment:1 Changed 9 years ago by michelpons
Any chance you may investigate this one quickly. Seems rather similar to ticket 183.
comment:2 Changed 9 years ago by michaelhalloran
Michel, I took a quick look but I can'r see any reason why COLTT would print the description twice - or in fact truncate the second instance at the beginning. COLTT always adds Description : at the beginning of the description text and in this case it is not there in the second copy, and the leading N of N Calupp is also missing. So I think this might be an A+ problem and COLTT is actually just printing what gets returned to it. Do you know why the first run includes this additional call to CalcSinglePhaseProp for POH Liquid phase. It just seems like a duplication of the previous call. The only difference I can see between the runs is that Pressure is changed from 101325 in the first run to 101000 in the second. Would that cause an additional calculation call?
Log obtained on April 12, 2016