Skip to main content

Module reason

Module reason 

Source
Expand description

Standard device failed reasons, documented after their usage in cppTango and Databaseds; the ones noted as not used by cppTango only exist there as a constant.

Constantsยง

API_AliasNotDefined
The device or attribute alias is not defined in the database.
API_AlreadyPolled
The command or attribute is already in the polling list of the device.
API_AsynReplyNotArrived
The reply of an asynchronous call has not arrived yet.
API_AttrConfig
Attribute configuration could not be read or applied.
API_AttrEventProp
Attribute event properties are wrong or cannot be set. Not used by cppTango.
API_AttrIncorrectDataNumber
Incorrect number of elements given when writing an attribute value.
API_AttrNoAlarm
Alarm information was asked on an attribute which has no alarm defined.
API_AttrNotAllowed
The attribute operation is forbidden, e.g. a property not changeable at run time.
API_AttrNotFound
The attribute does not exist on the device or in its class.
API_AttrNotPolled
Attribute history or cached value was asked while the attribute is not polled.
API_AttrNotWritable
A write was attempted on an attribute which is not READ_WRITE/READ_WITH_WRITE.
API_AttrOptProp
Problem with the attribute value or its optional properties: null pointer, bad type.
API_AttrPropValueNotSet
The numeric representation of an attribute property value has not been set.
API_AttrValueNotSet
The attribute value was never updated, it cannot be read nor pushed as an event.
API_AttrWrongDefined
The attribute is badly defined in its class: bad data type, association, memorized.
API_AttrWrongMemValue
The memorized value stored in the database for this attribute has an incorrect format.
API_AttributeFailed
Wrapper reason stacked on the real error when reading or writing an attribute failed.
API_AttributeNotDataReadyEnabled
A data_ready event was asked on an attribute not data ready enabled.
API_AttributePollingNotStarted
An event was asked but the polling needed to push it is not started.
API_BadAsyn
The asynchronous callback request being looked up does not exist.
API_BadAsynPollId
Invalid asynchronous request identifier given for the polling model.
API_BadAsynReqType
The asynchronous request type is incompatible with the call made on it.
API_BadConfigurationProperty
A device configuration property has a wrong syntax, e.g. polled_attr.
API_BlackBoxArgument
The argument given to read the black box is out of range.
API_BlackBoxEmpty
Nothing is stored in the device black box yet.
API_CannotCheckAccessControl
The access control device could not be imported, rights cannot be checked.
API_CannotOpenFile
A file could not be opened, in cppTango the device server logging file.
API_CantActivatePOAManager
Activation of the CORBA POA manager failed. Not used by cppTango.
API_CantConnectToDatabase
The database device could not be reached on the given host and port.
API_CantConnectToDevice
The connection to the device could not be built, e.g. nil reference or dead server.
API_CantCreateClassPoa
Creation of the CORBA POA of a device class failed. Not used by cppTango.
API_CantCreateLockingThread
The thread keeping a device lock alive could not be created.
API_CantDestroyDevice
The device to remove is not in the device list of its Tango class.
API_CantFindLockingThread
No locking thread was found for that device, e.g. unlocking a non locked device.
API_CantGetClientIdent
The client identification, required by the lock commands, could not be retrieved.
API_CantGetDevObjectId
The CORBA reference id of a device could not be obtained.
API_CantInstallSignal
Installing a signal handler failed, bad signal number or OS error.
API_CantResolveHost
The addresses of a host could not be resolved. Specific to rstango: cppTango has no such reason.
API_CantRetrieveClass
The Tango class of a device could not be retrieved.
API_CantRetrieveClassList
The class list of a device server could not be retrieved. Not used by cppTango.
API_CantStoreDeviceClass
The device class could not be inserted in the client side class cache.
API_ClassNotFound
The Tango class is not known by the device server process.
API_ClientTooOld
The client Tango release is too old for events or device locking.
API_CmdArgumentTypeNotSupported
The command argument data type is not handled by this code path.
API_CmdNotPolled
Command history or cached result was asked while the command is not polled.
API_CommandFailed
Wrapper reason stacked on the real error when a command_inout failed.
API_CommandNotAllowed
The command is not allowed in the current device state.
API_CommandNotFound
The command does not exist in the command list of the device class.
API_CommandTimedOut
A server side timeout expired on a serialization monitor or a blocked polling thread.
API_CommunicationFailed
The network exchange with the device failed, wraps the transport error.
API_ConnectionFailed
A connection to a peer failed, in cppTango the log consumer device.
API_CorbaException
A CORBA user exception was received and translated into a Tango error.
API_CorbaSysException
A CORBA system exception was caught, an unexpected ORB or transport failure.
API_CorruptedDatabase
The database returned inconsistent attribute or pipe properties.
API_DSFailedRegisteringEvent
The device server refused or failed the event registration.
API_DServerClassNotInitialised
The DServer class singleton is not initialized yet.
API_DatabaseAccess
An error occurred while reading from or writing to the database.
API_DatabaseCacheAccess
The entry is not available from the database cache built at server startup.
API_DatabaseFileError
Error with the file database used in -file= mode: syntax, access or missing class.
API_DecodeErr
Decoding of a DevEncoded payload failed.
API_DeprecatedCommand
A deprecated admin command was called, e.g. SetTraceLevel.
API_DeviceAlreadyDefined
The device is already defined in the database. Not used by cppTango.
API_DeviceLocked
The device is locked by another client, the request is refused.
API_DeviceNotDefined
The device is not defined in the database, it cannot be imported.
API_DeviceNotExported
The device is defined but not exported, its device server is not running.
API_DeviceNotFound
The device was not found in the device list of the server.
API_DeviceNotLocked
The operation requires the device to be locked first.
API_DeviceNotPolled
The device, or one of its objects, is not polled.
API_DeviceTimedOut
The client side timeout expired while waiting for the device answer.
API_DeviceUnlockable
The device cannot be locked at all, e.g. the admin or database device.
API_DeviceUnlocked
The lock owned on the device has been released, reported to its holder.
API_DummyException
Placeholder reason with no meaning, used internally and never propagated.
API_EmptyDataElement
The pipe data element is empty, it holds no value to extract.
API_EmptyDbDatum
The DbDatum holds no data, the requested extraction is impossible.
API_EmptyDbDbDatum
Same as API_EmptyDbDatum, kept because of a historical typo in cppTango.
API_EmptyDeviceAttribute
The DeviceAttribute holds no data, the read failed or it is uninitialized.
API_EmptyDeviceData
The DeviceData holds no data, the requested extraction is impossible.
API_EncodeErr
Encoding of a DevEncoded payload failed.
API_EventChannelNotExported
The notifd event channel could not be found, no notifd runs on that host.
API_EventConsumer
No event consumer object is available, no subscription was done before.
API_EventNotFound
The given event id is unknown, on unsubscribe or event queue access.
API_EventPropertiesNotSet
The event properties needed by the requested event are not configured.
API_EventQueues
Misuse of the event queue: none configured, or no event available to return.
API_EventSupplierNotConstructed
The event supplier of the server is not created yet.
API_EventTimeout
No event was received within the keep alive period, pushed to the callback.
API_FwdAttrInconsistency
Internal inconsistency in the forwarded attribute registry maps.
API_FwdAttrNotConfigured
The forwarded attribute has no valid root. Not used by cppTango, see API_AttrConfig.
API_HistoryInvalid
The history data received is invalid, its format could not be interpreted.
API_IncoherentDbData
The data received from the database device is not what the client expected.
API_IncoherentDevData
The data received from the device is not coherent with the type extracted.
API_IncoherentValues
Two related property values are incoherent, e.g. min greater than max.
API_IncompatibleArgumentType
The argument type is incompatible with the target type, e.g. for an enum.
API_IncompatibleAttrArgumentType
The extracted type does not match the DeviceAttribute content.
API_IncompatibleAttrDataType
The provided value data type does not match the attribute data type.
API_IncompatibleCmdArgumentType
The command argument type does not match the type the command expects.
API_InitMethodNotFound
No init_device method found for the class. Not used by cppTango.
API_InitNotPublic
The init_device method is not public and cannot be called. Not used by cppTango.
API_InitThrowsException
init_device() threw, so the device is no longer available.
API_InternalError
Unexpected internal state of the library, and generic fallback reason.
API_InvalidArgs
An invalid argument was given to a library call or on the server command line.
API_InvalidCorbaAny
The received CORBA Any has an unexpected kind and cannot be interpreted.
API_JavaRuntimeSecurityException
A Java runtime security error occurred. JTango only.
API_MemAttFailedDuringInit
Writing a memorized attribute failed during the device startup sequence.
API_MemoryAllocation
A memory allocation failed in the server or in the client.
API_MethodArgument
A method argument is missing, of the wrong type, or in the wrong number.
API_MethodNotFound
The requested method was not found. JTango and PyTango only.
API_MissedEvents
Some events were lost, e.g. ZMQ high water mark reached, pushed to the callback.
API_NoDataYet
Polling is configured but its cache holds no data yet for that object.
API_NoSetValueAvailable
No write (set) value is available in the DeviceAttribute.
API_NonDatabaseDevice
The method requires a database, but the device was built without one.
API_NotSupported
The operation is not supported in this context, e.g. polling not externally triggered.
API_NotSupportedFeature
The peer does not support the feature, its IDL release is too old.
API_NotUpdatedAnyMore
The polling cache data is not refreshed any more, polling stopped or in error.
API_NotificationServiceFailed
The notifd notification service failed, e.g. its factory import.
API_NtDebugWindowError
Creation of the Windows debug or main output window failed.
API_OverloadingNotSupported
Command or method overloading is not supported. PyTango and JTango only.
API_PipeDataEltNotFound
Data element not found in the pipe blob. Not used by cppTango, see API_PipeWrongArg.
API_PipeDuplicateDEName
Two data elements of the same pipe blob have the same name.
API_PipeFailed
Wrapper reason stacked on the real error when reading or writing a pipe failed.
API_PipeNoDataElement
No data element is available in the pipe blob for insertion or extraction.
API_PipeNotAllowed
Reading or writing the pipe is currently not allowed, e.g. by the serial model.
API_PipeNotFound
The pipe does not exist on the device or in its class.
API_PipeNotWritable
A write was attempted on a pipe which is not writable.
API_PipeOptProp
Problem with a pipe data element property, e.g. a null data pointer.
API_PipeValueNotSet
The pipe value was never updated by the device, it cannot be read.
API_PipeWrongArg
Wrong argument used on a pipe blob: bad index, bad data type, or blob never received.
API_PipeWrongArgNumber
Wrong number of data elements given for a pipe. Not used by cppTango.
API_PollObjNotFound
The command or attribute is not in the polled object list of the device.
API_PollRingBufferEmpty
Not enough data is stored yet in the polling ring buffer.
API_PollThreadOutOfSync
The polling thread lost its schedule and is out of sync.
API_PolledDeviceNotInPoolConf
The polling pool is full and the device is not in the pool configuration.
API_PolledDeviceNotInPoolMap
The polling pool is full and the device is missing from the polled map.
API_PollingThreadNotFound
No polling thread was found for that device or thread id.
API_ReadOnlyMode
Access control refused the request, the client only has read access.
API_RootAttrFailed
Root attribute access failed. Not used by cppTango, see API_AttributeFailed.
API_ServerNotRunning
The device server process is not running, reported without database.
API_ShutdownInProgress
The device server is shutting down and refuses the request.
API_SignalOutOfRange
The signal number is out of range or cannot be handled by a user handler.
API_StartupSequence
An error occurred in the device server startup sequence.
API_StdException
A std::exception was caught and translated into a Tango error.
API_SystemCallFailed
A system call failed, e.g. socket creation or getifaddrs().
API_TangoHostNotSet
The TANGO_HOST variable is not set, or its syntax is incorrect.
API_ThrowException
Generic reason for an exception thrown on purpose. Not used by cppTango.
API_UnsupportedAttribute
The attribute is not supported by the device.
API_UnsupportedDBaseModifier
Unsupported database modifier in a name, only #dbase=no|yes are valid.
API_UnsupportedFeature
The feature is absent from this build, e.g. a Tango built without jpeg.
API_UnsupportedProtocol
Unsupported protocol prefix in a name, only tango:// is supported.
API_UtilSingletonNotCreated
The Util singleton is not created, Tango is not initialized.
API_UtilSingletonPoisoned
The Util singleton was inherited through a fork() without exec().
API_WAttrOutsideLimit
The written value is outside the attribute limits, or is NaN/Inf, or too large.
API_WizardConfError
A property is already defined in the wizard configuration of the class.
API_WrongAttributeNameSyntax
Invalid attribute name syntax, four fields or a plain alias are expected.
API_WrongCmdLineArgs
Wrong command line arguments given to the device server.
API_WrongDeviceNameSyntax
Invalid device name syntax, domain/family/member is expected.
API_WrongEventData
The event data received is malformed and cannot be turned into a value.
API_WrongFormat
The DevEncoded data is not in the expected image format.
API_WrongHistoryDataBuffer
The history data buffer received from the server is not valid.
API_WrongLockingStatus
The locking status returned by the server is invalid.
API_WrongNumberOfArgs
Wrong number of arguments given to a command, mostly the admin ones.
API_WrongWildcardUsage
Wrong use of wildcards in a pattern, only one * is allowed.
API_ZmqFailed
A ZMQ call failed at run time, when binding or pushing an event or heartbeat.
API_ZmqInitFailed
ZMQ initialisation failed, on context creation or socket bind at startup.
DB_AliasNotDefined
Databaseds: no alias for that device/attribute, or nothing matches that alias.
DB_ClassNotFoundInCache
The Tango class was not found in the startup database cache.
DB_DeviceNotDefined
Databaseds: device, server, event or class not defined in the database.
DB_DeviceNotFoundInCache
The device or object was not found in the startup database cache.
DB_SQLError
Databaseds: a MySQL query, a stored procedure or the given SQL command failed.
DB_TooOldStoredProc
The database stored procedure is too old, e.g. pipes need release 1.9.