Commit 5c150dd0 authored by aorlati's avatar aorlati Committed by Giuseppe Carboni
Browse files

fix #213: buggy python ACS impletation forsed some workaround. Also fixed...

fix #213: buggy python ACS impletation forsed some workaround. Also fixed problem related to the logged error messages to be empty (#217)
parent 97548181
Loading
Loading
Loading
Loading
+16 −16
Original line number Diff line number Diff line
@@ -16,47 +16,47 @@

<Code name="NoError" shortDescription="No error" description="No error condition found"/>

<ErrorCode name="Nak" description="ACU does not acknowledge" shortDescription=" ">
<ErrorCode name="Nak" shortDescription="ACU does not acknowledge" description=" ">
	<Member name="Code" type="long" description="Code" />
	<Member name="Message" type="string" description="Message" />
</ErrorCode>

<ErrorCode name="Connection" description="ACU is not reachable or disconnected" shortDescription=" "/>
<ErrorCode name="Connection" shortDescription="ACU is not reachable or disconnected" description=" "/>

<ErrorCode name="OperationNotPermitted" description="Operation is not allowed or not permitted under this configuration" shortDescription=" ">
<ErrorCode name="OperationNotPermitted" shortDescription="Operation is not allowed or not permitted" description=" ">
	<Member name="Reason" type="string" description="Reason" />
</ErrorCode>

<ErrorCode name="ReceiverNotFound" description="Requested configuration is not existent" shortDescription=" "/>
<ErrorCode name="ReceiverNotFound" shortDescription="Requested configuration is not existent" description=" "/>

<ErrorCode name="AntennaBusy" description="Antenna is busy with other activities" shortDescription=" "/>
<ErrorCode name="AntennaBusy" shortDescription="Antenna is busy with other activities" description=" "/>

<ErrorCode name="StoppedByUser" description="A stop command was issued by a client" shortDescription=" "/>
<ErrorCode name="StoppedByUser" shortDescription="A stop command was issued by a client" description=" "/>

<ErrorCode name="SourceNotFound" description="The requested source or coordinate is not found in the catalog" shortDescription=" ">
<ErrorCode name="SourceNotFound" shortDescription="The target is not found in the catalog" description=" ">
	<Member name="SourceName" type="string" description="Name of the source"/>
</ErrorCode>

<ErrorCode name="RateTooHigh" description="The resulting rate is too high" shortDescription=" ">
<ErrorCode name="RateTooHigh" shortDescription="The resulting rate is too high" description=" ">
	<Member name="Axis" type="string" description="Frame axis which the rate is relative to"/>
</ErrorCode>

<ErrorCode name="ExceedingSlewingTime" description="Cannot reach destination in scheduled time" shortDescription=" "/>
<ErrorCode name="ExceedingSlewingTime" shortDescription="Cannot reach destination in scheduled time" description=" "/>

<ErrorCode name="TrackingNotStarted" description="The tracking has not been started yet" shortDescription=" " />
<ErrorCode name="TrackingNotStarted" shortDescription="The tracking has not been started yet" description=" " />

<ErrorCode name="ScanError" description="Illegal scan parameter or configuration" shortDescription=" ">
<ErrorCode name="ScanError" shortDescription="Illegal scan parameter or configuration" description=" ">
	<Member name="Reason" type="string" description="Description of the reason that generates the error"/>
</ErrorCode>

<ErrorCode name="SecondaryScanError" description="Illegal secondary scan parameter or configuration" shortDescription=" "/>
<ErrorCode name="SecondaryScanError" shortDescription="Illegal secondary scan parameter or configuration" description=" "/>

<ErrorCode name="LoadGeneratorError" description="Could not load the requested ephem generator" shortDescription=" "/>
<ErrorCode name="LoadGeneratorError" shortDescription="Could not load the requested ephem generator" description=" "/>

<ErrorCode name="MissingTarget" description="A target must be commanded before doing the scan" shortDescription=" "/>
<ErrorCode name="MissingTarget" shortDescription="A target must be commanded before doing the scan" description=" "/>

<ErrorCode name="OffsetFrameNotSupported" description="It is not allowed to set offset in the requested frame" shortDescription=" "/>
<ErrorCode name="OffsetFrameNotSupported" shortDescription="It is not allowed to set offset in the requested frame" description=" "/>

<ErrorCode name="NoTargetCommandedYet" description="No target commanded" shortDescription=" "/>
<ErrorCode name="NoTargetCommandedYet" shortDescription="No target commanded" description=" "/>

</Type>
+9 −9
Original line number Diff line number Diff line
@@ -15,23 +15,23 @@

<Code name="NoError" shortDescription="No error" description="No error condition found"/>

<ErrorCode name="Connection" description="Device not reachable or disconnected" shortDescription=" "/>
<ErrorCode name="Connection" shortDescription="Device not reachable or disconnected" description=" "/>

<ErrorCode name="TXError" description="Error during data transmission" shortDescription=" ">
	<Member name="Details" type="string" description="more information about the transmission kind that generates the error" />
<ErrorCode name="TXError" shortDescription="Error during data transmission" description=" ">
	<Member name="Details" type="string" description="more information about the transmission that generates the error" />
</ErrorCode>

<ErrorCode name="MalformedAnswer" description="The answer is not correct or complete" shortDescription=" " />
<ErrorCode name="MalformedAnswer" shortDescription="The answer is not correct or complete" description=" " />

<ErrorCode name="Nak" description="The backend does not acknowledge" shortDescription=" " />
<ErrorCode name="Nak" shortDescription="The backend does not acknowledge" description=" " />

<ErrorCode name="BackendBusy" description="Backend is busy" shortDescription=" "/>
<ErrorCode name="BackendBusy" shortDescription="Backend is busy" description=" "/>

<ErrorCode name="ConfigurationError" description="The configuration is unknown or cannot be loaded" shortDescription=" "/>
<ErrorCode name="ConfigurationError" shortDescription="The configuration is unknown or cannot be loaded" description=" "/>

<ErrorCode name="ReplyNotValid" description="The answer is not valid for the request" shortDescription=" "/>
<ErrorCode name="ReplyNotValid" shortDescription="The answer is not valid for the request" description=" "/>

<ErrorCode name="BackendFail" description="The backend fails during an application or setting" shortDescription=" ">
<ErrorCode name="BackendFail" shortDescription="The backend fails during an application or setting" description=" ">
	<Member name="Reason" type="string" description="Reason" />
</ErrorCode>

+9 −9
Original line number Diff line number Diff line
@@ -13,32 +13,32 @@

<Code name="NoError" shortDescription="No error" description="No error condition found"/>

<ErrorCode name="CouldntPerformAction" description="Action couldn't be performed" shortDescription=" ">
<ErrorCode name="CouldntPerformAction" description=" " shortDescription="Action couldn't be performed">
	<Member name="Action" type="string" description="Action" />
	<Member name="Reason" type="string" description="Reason" />
</ErrorCode>	

<ErrorCode name="CouldntLogManager" description="Manager couldn't be accessed" shortDescription=" "/>
<ErrorCode name="CouldntLogManager" shortDescription="Manager couldn't be accessed" Description=" "/>

<ErrorCode name="CouldntInit" description="Client could not be initialized" shortDescription=" "/>
<ErrorCode name="CouldntInit" shortDescription="Client could not be initialized" description=" "/>

<ErrorCode name="CouldntLogin" description="Client could not be logged" shortDescription=" "/>
<ErrorCode name="CouldntLogin" shortDescription="Client could not be logged" description=" "/>

<ErrorCode name="CouldntAccessProperty" description="Property couldn't be accessed" shortDescription=" ">
<ErrorCode name="CouldntAccessProperty" shortDescription="Property couldn't be accessed" description=" ">
	<Member name="PropertyName" type="string" description="PropertyName" />
</ErrorCode>	

<ErrorCode name="CouldntAccessComponent" description="Component couldn't be accessed" shortDescription=" ">
<ErrorCode name="CouldntAccessComponent" shortDescription="Component couldn't be accessed" description=" ">
	<Member name="ComponentName" type="string" description="ComponentName" />
</ErrorCode>	

<ErrorCode name="CORBAProblem" description="Caught CORBA system exception" shortDescription=" ">
<ErrorCode name="CORBAProblem" shortDescription="Caught CORBA system exception" description=" ">
	<Member name="Name" type="string" description="Name" />
	<Member name="Minor" type="long" description="Minor" />
</ErrorCode>	

<ErrorCode name="Unknown" description="Caught an unknown exception" shortDescription=" "/>
<ErrorCode name="Unknown" shortDescription="Caught an unknown exception" description=" "/>

<ErrorCode name="InvalidArgument" description="An invalid argument was given" shortDescription=" "/>
<ErrorCode name="InvalidArgument" shortDescription="An invalid argument was given" description=" "/>

</Type>
+26 −26
Original line number Diff line number Diff line
@@ -16,97 +16,97 @@

<Code name="NoError" shortDescription="No error" description="No error condition found"/>

<ErrorCode name="MemoryAllocation" description="Buffer can't be allocated" shortDescription=" "/>
<ErrorCode name="MemoryAllocation" shortDescription="Buffer can't be allocated" description=" "/>

<ErrorCode name="CDBAccess" description="Error while accessing the Configuration Database" shortDescription=" ">
<ErrorCode name="CDBAccess" shortDescription="Error while accessing the Configuration Database" description=" ">
	<Member name="FieldName" type="string" description="The name of the field" />
</ErrorCode>

<ErrorCode name="CDBFieldFormat" description="A Configuration Database field is malformed" shortDescription=" ">
<ErrorCode name="CDBFieldFormat" shortDescription="A Configuration Database field is malformed" description=" ">
	<Member name="FieldName" type="string" description="The name of the field" />
</ErrorCode>

<ErrorCode name="ThreadError" description="Error while creating or starting a thread" shortDescription=" "/>
<ErrorCode name="ThreadError" shortDescription="Error while creating or starting a thread" description=" "/>

<ErrorCode name="SocketError" description="Error encountered while accessing socket resource" shortDescription=" "/>
<ErrorCode name="SocketError" shortDescription="Error encountered while accessing socket resource" description=" "/>

<ErrorCode name="PropertyError" description="Error while accessing a property" shortDescription=" ">
<ErrorCode name="PropertyError" shortDescription="Error while accessing a property" description=" ">
	<Member name="PropertyName" type="string" description="PropertyName" />
	<Member name="Reason" type="string" description="Reason" />
</ErrorCode>

<ErrorCode name="OperationError" description="Error while calling a method" shortDescription=" ">
<ErrorCode name="OperationError" shortDescription="Error while calling a method" description=" ">
	<Member name="Reason" type="string" description="Reason" />
</ErrorCode>

<ErrorCode name="WatchDogError" description="The watch dog thread encountered an error" shortDescription=" ">
<ErrorCode name="WatchDogError" shortDescription="The watch dog thread encountered an error" description=" ">
	<Member name="Reason" type="string" description="Reason" />   
</ErrorCode>

<ErrorCode name="Unexpected" description="An unexpected exception was encountered" shortDescription=" "/>
<ErrorCode name="Unexpected" shortDescription="An unexpected exception was encountered" description=" "/>

<ErrorCode name="IRALibraryResource" description="Error encountered while accessing an IRAlibrary resource" shortDescription=" ">
<ErrorCode name="IRALibraryResource" shortDescription="Error encountered while accessing an IRAlibrary resource" description=" ">
	<Member name="Code" type="long" description="Code" />
	<Member name="Description" type="string" description="Description" />
</ErrorCode>

<ErrorCode name="ValidationError" description="Error while validating data" shortDescription=" ">
<ErrorCode name="ValidationError" shortDescription="Error while validating data" description=" ">
	<Member name="Reason" type="string" description="Reason" />
</ErrorCode>

<ErrorCode name="ValueOutofRange" description="Value out of legal ranges" shortDescription=" ">
<ErrorCode name="ValueOutofRange" shortDescription="Value out of legal ranges" description=" ">
	<Member name="ValueName" type="string" description="ValueName" />
	<Member name="ValueLimit" type="double" description="ValueLimit" />
</ErrorCode>

<ErrorCode name="Timeout" description="Timeout expires before operation completes" shortDescription=" "/>
<ErrorCode name="Timeout" shortDescription="Timeout expires before operation completes" description=" "/>

<ErrorCode name="CouldntGetComponent" description="Component couldn't be retrieved" shortDescription=" ">
<ErrorCode name="CouldntGetComponent" shortDescription="Component couldn't be retrieved" description=" ">
	<Member name="ComponentName" type="string" description="ComponentName" />
</ErrorCode>	

<ErrorCode name="CouldntReleaseComponent" description="Component couldn't be released" shortDescription=" ">
<ErrorCode name="CouldntReleaseComponent" shortDescription="Component couldn't be released" description=" ">
	<Member name="ComponentName" type="string" description="ComponentName" />
</ErrorCode>

<ErrorCode name="CouldntGetAttribute" description="Couldn't get an attribute from a component" shortDescription=" ">
<ErrorCode name="CouldntGetAttribute" shortDescription="Couldn't get an attribute from a component" description=" ">
	<Member name="ComponentName" type="string" description="ComponentName" />
	<Member name="AttributeName" type="string" description="AttributeName" />	
</ErrorCode>

<ErrorCode name="CouldntCallOperation" description="Couldn't call a component operation " shortDescription=" ">
<ErrorCode name="CouldntCallOperation" shortDescription="Couldn't call a component operation " description=" ">
	<Member name="ComponentName" type="string" description="ComponentName" />
	<Member name="OperationName" type="string" description="OperationName" />	
</ErrorCode>

<ErrorCode name="CORBAProblem" description="Caught CORBA system exception" shortDescription=" ">
<ErrorCode name="CORBAProblem" shortDescription="Caught CORBA system exception" description=" ">
	<Member name="Name" type="string" description="Name" />
	<Member name="Minor" type="long" description="Minor" />
</ErrorCode>

<ErrorCode name="InitializationProblem" description="The component could not be initialized" shortDescription=" " />
<ErrorCode name="InitializationProblem" shortDescription="The component could not be initialized" description=" " />

<ErrorCode name="NotificationChannelError" description="Error while publishing data to notification channel" shortDescription=" " />
<ErrorCode name="NotificationChannelError" shortDescription="Error while publishing data to notification channel" description=" " />

<ErrorCode name="TimerError" description="Event timer error" shortDescription=" ">
<ErrorCode name="TimerError" shortDescription="Event timer error" description=" ">
	<Member name="Reason" type="string" description="Reason of the problem" />
</ErrorCode>

<ErrorCode name="NotAllowed" description="Operation not allowed" shortDescription=" ">
<ErrorCode name="NotAllowed" shortDescription="Operation not allowed" description=" ">
	<Member name="Reason" type="string" description="Reason" />
</ErrorCode>

<ErrorCode name="FileIOError" description="Error during file operations" shortDescription=" ">
<ErrorCode name="FileIOError" shortDescription="Error during file operations" description=" ">
	<Member name="FileName" type="string" description="Reason" />
</ErrorCode>

<ErrorCode name="ComponentNotActive" description="Component not active" shortDescription=" " />
<ErrorCode name="ComponentNotActive" shortDescription="Component not active" description=" " />

<ErrorCode name="CanNotStartThread" description="An internal thread could not be started" shortDescription=" ">
<ErrorCode name="CanNotStartThread" shortDescription="An internal thread could not be started" description=" ">
	<Member name="ThreadName" type="string" description="Name of the thread" />
</ErrorCode>  

<ErrorCode name="ACSService" description="ACS service is not available" shortDescription=" ">
<ErrorCode name="ACSService" shortDescription="ACS service is not available" description=" ">
	<Member name="ServiceName" type="string" description="Name of the Service" />
</ErrorCode>

+29 −29
Original line number Diff line number Diff line
@@ -18,94 +18,94 @@

<Code name="NoError" shortDescription="No error" description="No error condition found"/>

<ErrorCode name="ScheduleError" description="The schedule contains errors" shortDescription=" ">
<ErrorCode name="ScheduleError" shortDescription="The schedule contains errors" description=" ">
	<Member name="Reason" type="string" description="Explanation of the cause of the problem" />
	<Member name="LineNumber" type="long" description="Line number at which the problem has been found" />	
</ErrorCode>

<ErrorCode name="AlreadyRunning" description="A schedule is already running" shortDescription=" "/>
<ErrorCode name="AlreadyRunning" shortDescription="A schedule is already running" description=" "/>

<ErrorCode name="NotAllowedDuringSchedule" description="The operation is not allowed during schedule execution" shortDescription=" "/>
<ErrorCode name="NotAllowedDuringSchedule" shortDescription="The operation is not allowed during schedule execution" description=" "/>

<ErrorCode name="TargetOrSubscanNotFeasible" description="The selected target is not visible or sub scan not feasible" shortDescription=" "/>
<ErrorCode name="TargetOrSubscanNotFeasible" shortDescription="The selected target is not visible or sub scan not feasible" description=" "/>

<ErrorCode name="BackendNotAvailable" description="The selected backend is not available" shortDescription=" "/>
<ErrorCode name="BackendNotAvailable" shortDescription="The selected backend is not available" description=" "/>

<ErrorCode name="DataRecorderNotAvailable" description="The selected data recorder is not available" shortDescription=" "/>
<ErrorCode name="DataRecorderNotAvailable" shortDescription="The selected data recorder is not available" description=" "/>

<ErrorCode name="DataTransferSetupError" description="The data transfer was not properly configured or initialized" shortDescription=" "/>
<ErrorCode name="DataTransferSetupError" shortDescription="The data transfer was not properly configured or initialized" description=" "/>

<ErrorCode name="TsysError" description="Error during System Temperature computation" shortDescription=" "/>
<ErrorCode name="TsysError" shortDescription="Error during System Temperature computation" description=" "/>

<ErrorCode name="AntennaScanError" description="Error while commanding a scan to the antenna" shortDescription=" "/>
<ErrorCode name="AntennaScanError" shortDescription="Error while commanding a scan to the antenna" description=" "/>

<ErrorCode name="MinorServoScanError" description="Error while commanding a scan to the minor servo system" shortDescription=" "/>
<ErrorCode name="MinorServoScanError" shortDescription="Error while commanding a scan to the minor servo system" description=" "/>

<ErrorCode name="TelescopeSubScanError" description="Error while commanding a sub scan to the telescope" shortDescription=" ">
<ErrorCode name="TelescopeSubScanError" shortDescription="Error while commanding a sub scan to the telescope" description=" ">
	<Member name="Reason" type="string" description="Describes the cause of the error" />	
</ErrorCode>

<ErrorCode name="SubscanError" description="Error during the execution of a subscan in the schedule" shortDescription=" ">
<ErrorCode name="SubscanError" shortDescription="Error during the execution of a subscan in the schedule" description=" ">
	<Member name="SubScanID" type="long" description="Identifier of the scan" />
	<Member name="Reason" type="string" description="Describes the cause of the error" />	
</ErrorCode>

<ErrorCode name="FitsCreationError" description="Fits file creation impossible" shortDescription=" ">
<ErrorCode name="FitsCreationError" shortDescription="Fits file creation impossible" description=" ">
	<Member name="Error" type="string" description="Explanation of the problem" />
	<Member name="FileName" type="string" description="Name of the aborted file" />
</ErrorCode>

<ErrorCode name="ScheduleProcedureError" description="A procedure could not be completed" shortDescription=" ">
<ErrorCode name="ScheduleProcedureError" shortDescription="A procedure could not be completed" description=" ">
	<Member name="Procedure" type="string" description="Reports the name of the procedure that fails to execute" />
</ErrorCode>

<ErrorCode name="BackendProcedureError" description="A backend configuration procedure could not be completed" shortDescription=" ">
<ErrorCode name="BackendProcedureError" shortDescription="A backend configuration procedure could not be completed" description=" ">
	<Member name="Procedure" type="string" description="Reports the name of the procedure that fails to execute" />
	<Member name="Message" type="string" description="The associated error message" />
</ErrorCode>

<ErrorCode name="ConfigurationError" description="Error during subsystem configuration" shortDescription=" ">
<ErrorCode name="ConfigurationError" shortDescription="Error during subsystem configuration" description=" ">
	<Member name="Subsystem" type="string" description="Reports the name of the subsystem that fails to configure" />
	<Member name="Reason" type="string" description="Describes the cause of the error" />
</ErrorCode>

<ErrorCode name="ParkingError" description="The subsystem fails to park" shortDescription=" ">
<ErrorCode name="ParkingError" shortDescription="The subsystem fails to park" description=" ">
	<Member name="Subsystem" type="string" description="Reports the name of the subsystem that fails to park" />
	<Member name="Reason" type="string" description="Describes the cause of the error" />
</ErrorCode>

<ErrorCode name="ProcedureFileLoadingError" description="Error occurred while loading a procedure file" shortDescription=" ">
<ErrorCode name="ProcedureFileLoadingError" shortDescription="Error occurred while loading a procedure file" description=" ">
	<Member name="FileName" type="string" description="report the name of the file" />
	<Member name="Reason" type="string" description="report the reason of the error" />
</ErrorCode>

<ErrorCode name="CustomLoggerIOError" description="Error on logging I/O" shortDescription=" ">
<ErrorCode name="CustomLoggerIOError" shortDescription="Error on logging I/O" description=" ">
	<Member name="Reason" type="string" description="Describes the cause of the error" />
	<Member name="Path" type="string" description="report the path element involved (file or dir)" />
</ErrorCode>

<ErrorCode name="LogFileError" description="Cannot open the log file" shortDescription=" ">
<ErrorCode name="LogFileError" shortDescription="Cannot open the log file" description=" ">
	<Member name="FileName" type="string" description="Name of the log file" />
</ErrorCode>

<ErrorCode name="WeatherStationError" description="Cannot read parameters from weather station" shortDescription=" "/>
<ErrorCode name="WeatherStationError" shortDescription="Cannot read parameters from weather station" description=" "/>

<ErrorCode name="UnkownProjectCodeError" description="The project code is invalid or not allowed" shortDescription=" "/>
<ErrorCode name="UnkownProjectCodeError" shortDescription="The project code is invalid or not allowed" description=" "/>

<ErrorCode name="UnsupportedOperation" description="The operation is invalid or not supported by this release" shortDescription=" "/>
<ErrorCode name="UnsupportedOperation" shortDescription="The operation is invalid or not supported by this release" description=" "/>

<ErrorCode name="AbortedByUser" description="The operation was aborted by the user" shortDescription=" ">
<ErrorCode name="AbortedByUser" shortDescription="The operation was aborted by the user" description=" ">
	<Member name="Operation" type="string" description="Name of the aborted operation" />
</ErrorCode>

<ErrorCode name="RecordingAlreadyActive" description="Recording is already active" shortDescription=" "/>
<ErrorCode name="RecordingAlreadyActive" shortDescription="Recording is already active" description=" "/>

<ErrorCode name="CloseTelescopeScanError" description="Not able command the scan close to the telescope" shortDescription=" "/>
<ErrorCode name="CloseTelescopeScanError" shortDescription="Not able command the scan close to the telescope" description=" "/>

<ErrorCode name="InvalidRestFrequency" description="The rest frequency is not provided or does not match the number of backend sections" shortDescription=" "/>
<ErrorCode name="InvalidRestFrequency" shortDescription="The rest frequency is not provided or does not match the number of backend sections" description=" "/>

<ErrorCode name="ScheduleNotExist" description="Schedule could not be found" shortDescription=" "/>
<ErrorCode name="ScheduleNotExist" shortDescription="Schedule could not be found" description=" "/>

<ErrorCode name="CannotClosePendingTask" description="Cannot close all pending tasks" shortDescription=" "/>
<ErrorCode name="CannotClosePendingTask" shortDescription="Cannot close all pending tasks" description=" "/>

</Type>
Loading