Ticket #40 (closed enhancement: fixed)

Opened 11 years ago

Last modified 9 years ago

Error log from ResolvePropertyPackage

Reported by: michelpons Owned by: Michael Halloran
Priority: minor Milestone: 2.2
Component: COLoggers Version: 1.08.4
Keywords: Cc: michaelhalloran

Description

While making a test of a Simulis Thermo System Property Package in UniSim Design, I made a mistake entering the IP address of the Simulis license server. Then I got a run involving a Simulis PP in UniSim Design to go wrong while the PP was logged with COLTT. The log shows:

LOG FORMAT

  • Call on a given Object is indicated by 'Object<[Object Name]>: Call to [method name]'. *
  • Input arguments and returned values(if any) are then indicated. *
  • End of the call is indicated by 'Object<[Object Name]>: Return from [method name] - <Success Status>.' *


Log generated by C:
Program Files
Honeywell
UniSim Design R390
unisimdesign.exe
Using configuration from C:
Program Files
CAPE-OPEN
COLTT
CAPE-OPENLogs.ini
COLTT Version is 1.08.4

ClassFactory : Loading Simulis CAPE-OPEN® Thermo System (1.0) / P.P.M. (1.1) implemented by
C:
PROGRA~1
Simulis
THRMST~3.DLL
ClassFactory : Created instance of Simulis CAPE-OPEN® Thermo System (1.0) / P.P.M. (1.1) successfully
ClassFactory : Logging enabled for Thermo System Simulis CAPE-OPEN® Thermo System (1.0) / P.P.M. (1.1)
ThermoSystem <Anonymous> : Call to GetPropertyPackages
ThermoSystem <Anonymous> : GetPropertyPackages returns:

Bender-Kiwi-01-07-2009
Boite_froide_CO-1.0

ThermoSystem <Anonymous> : Return from GetPropertyPackages - Succeeded
ParameterCollection Parameter Collection Final Release...
Simulation Context <Anonymous> : Final Release
ThermoSystem <Anonymous> : Final Release
ClassFactory : Loading Simulis CAPE-OPEN® Thermo System (1.0) / P.P.M. (1.1) implemented by
C:
PROGRA~1
Simulis
THRMST~3.DLL
ClassFactory : Created instance of Simulis CAPE-OPEN® Thermo System (1.0) / P.P.M. (1.1) successfully
ClassFactory : Logging enabled for Thermo System Simulis CAPE-OPEN® Thermo System (1.0) / P.P.M. (1.1)
ThermoSystem <Anonymous> : Call to ResolvePropertyPackage
ThermoSystem <Anonymous> : PropertyPackage to be resolved : Bender-Kiwi-01-07-2009

Bender-Kiwi-01-07-2009 is a valid package name

ThermoSystem <Anonymous> : Error returned from ResolvePropertyPackage - 0x8007000e
ParameterCollection Parameter Collection Final Release...
Simulation Context <Anonymous> : Final Release
ThermoSystem <Anonymous> : Final Release

To me it seems that there is no attempt by COLTT to retrieve info on the error. For sure the error code is not a CAPE-OPEN one still...

Change History

comment:1 Changed 9 years ago by michelpons

  • Milestone set to 2.02

comment:2 Changed 9 years ago by michaelhalloran

  • Status changed from new to closed
  • Resolution set to fixed

Fixed by #74 which is included in the 2.0 release. COLTT will generate a log for any error including non-CAPE-OPEN if the setting:

COLTT.AlwaysLogPMCErrors=true

is included in the CAPE-OPENLogs.ini file.

Note: See TracTickets for help on using tickets.