geonature.core.imports.checks.errors#
Classes#
List of all the possible errors returned during the import process. |
Module Contents#
- class geonature.core.imports.checks.errors.ImportCodeError[source]#
List of all the possible errors returned during the import process.
Attributes#
- DATASET_NOT_FOUNDstr
The referenced dataset was not found
- DATASET_NOT_AUTHORIZEDstr
The dataset is not authorized to the current user
- DATASET_NOT_ACTIVEstr
The dataset is inactive
- MULTIPLE_ATTACHMENT_TYPE_CODEstr
Multiple attachments of the same type are not allowed
- MULTIPLE_CODE_ATTACHMENTstr
Multiple attachments (commune, maille, departement) with the same code were given.
- INVALID_DATEstr
The date is not valid
- INVALID_UUIDstr
The uuid is not valid
- INVALID_INTEGERstr
The integer is not valid
- INVALID_NUMERICstr
The numeric is not valid
- INVALID_WKTstr
The WKT string is not valid
- INVALID_GEOMETRYstr
The geometry is not valid
- INVALID_BOOLstr
The boolean is not valid
- INVALID_ATTACHMENT_CODEstr
The code given does not exists in the desitination referential
- INVALID_CHAR_LENGTHstr
The character length is not valid
- DATE_MIN_TOO_HIGHstr
The date min is too high
- DATE_MAX_TOO_LOWstr
The date max is too low
- DATE_MAX_TOO_HIGHstr
The date max is too high
- DATE_MIN_TOO_LOWstr
The date min is too low
- ALTI_MIN_SUP_ALTI_MAXstr
The altitude min is superior to the altitude max
- DATE_MIN_SUP_DATE_MAXstr
The date min is superior to the date max
- DEPTH_MIN_SUP_ALTI_MAXstr
The depth min is superior to the altitude max
- ORPHAN_ROWstr
The row could not be attached to an other entity # FIXME: clarify
- DUPLICATE_ROWSstr
One rows appears more than once
- DUPLICATE_UUIDstr
A uuid value is duplicated
- EXISTING_UUID: str
A uuid value already exists in the destination table
- SKIP_EXISTING_UUID: str
A uuid value already exists in the destination table and should be skipped
- MISSING_VALUEstr
A required value is missing (see mandatory column in gn_imports.bib_fields table)
- MISSING_GEOMstr
The geometry is missing
- GEOMETRY_OUTSIDEstr
The geometry is outside the polygon in the GeoNature configuration (INSTANCE_BOUNDING_BOX)
- NO_GEOMstr
No geometry given (wherever WKT or latitude/longitude)
- GEOMETRY_OUT_OF_BOXstr
The geometry is outside the perimeter of the instance geography # FIXME: clarify (confusion with GEOMETRY_OUTSIDE)
- ERRONEOUS_PARENT_ENTITYstr
The parent entity is not valid
- NO_PARENT_ENTITYstr
The parent entity is not found
- DUPLICATE_ENTITY_SOURCE_PKstr
The entity source primary key is duplicated
- COUNT_MIN_SUP_COUNT_MAXstr
The count min is superior to the count max
- INVALID_NOMENCLATUREstr
The nomenclature is invalid
- INVALID_EXISTING_PROOF_VALUEstr
The existing proof value is invalid
- CONDITIONAL_MANDATORY_FIELD_ERRORstr
Some conditional mandatory fields are missing #FIXME: clarify
- INVALID_NOMENCLATURE_WARNINGstr
The nomenclature is invalid
- UNKNOWN_ERRORstr
An unknown error occurred
- INVALID_STATUT_SOURCE_VALUEstr
The statut source value is invalid
- CONDITIONAL_INVALID_DATAstr
The conditional data is invalid
- INVALID_URL_PROOFstr
The url proof is invalid
- ROW_HAVE_TOO_MUCH_COLUMNstr
A row have too much column
- ROW_HAVE_LESS_COLUMNstr
A row have less column
- EMPTY_ROWstr
A row is empty
- HEADER_SAME_COLUMN_NAMEstr
The header have same column name
- EMPTY_FILEstr
The file is empty
- NO_FILE_SENDEDstr
No file was sent
- ERROR_WHILE_LOADING_FILEstr
An error occurred while loading the file
- FILE_FORMAT_ERRORstr
The file format is not valid
- FILE_EXTENSION_ERRORstr
The file extension is not valid
- FILE_OVERSIZEstr
The file is too big
- FILE_NAME_TOO_LONGstr
The file name is too long
- FILE_WITH_NO_DATAstr
The file have no data
- INCOHERENT_DATAstr
An entity data is different in multiple rows
- CD_HAB_NOT_FOUNDstr
The habitat code is not found
- CD_NOM_NOT_FOUNDstr
The cd_nom is not found in the instance TaxRef