Skip to content
Skip to Content

Errors

Every error and warning code of cohortix 0.1, with its cause and its fix.

Every problem the engine reports carries a stable code: E for an error, which stops before anything is written, W for a warning, which lets the run go on. The texts come from the message catalogue, so the page of a code always matches what the engine prints. Each message ends with the fix to apply.

This version has 174 error codes and 6 warning codes.

180 codes.

Scenario file

CodeMessage
E1001The scenario file <path> cannot be read: <error>.
E1002The scenario file is not valid TOML: <problem>.
E1003Unknown table [<table>] in the scenario file.
E1004<key> is not supported yet by this version of the engine.
E1005Unknown key <name> in [<table>].
E1006[<table>] has no <name>, which is required and must be <expected>.
E1007The scenario file has no [<table>] table, which is required.
E1008<key> must be <expected>, but it is <found>.
E1009<key> is <value>, which is not one of <allowed>.
E1010<key> is <value>, which is not a calendar date.
E1011<key> is <value>, which is not the first day of a month.
E1012[time] end <end> is not after start <start> by a whole number of <step> steps.
E1013<key> is <value>, outside the allowed range <min> to <max>.
E1014Phase <phase> appears more than once in phases.order.
E1015Phase name <phase> in phases.order is not snake_case.
E1016Plugin id <plugin> under [plugins] is not of the form "<namespace>/<plugin>".
E1017Plugin <plugin> is not in this distribution.
E1018Plugin <plugin> runs in phase <phase>, which is not in phases.order.
E1019Scenario name <name> uses characters other than ASCII letters, digits, - and _.
E1020Plugin <plugin> runs only at its native <native> step, but time.step is <step>.
E1021The plugins of phase <phase> must run in a contradictory order: <cycle>.
E1022Unknown key <name> in [<table>]; did you mean <suggestion>?
E1023Unknown table [<table>] in the scenario file; did you mean [<suggestion>]?
E1024Plugin <plugin> is not in this distribution; did you mean "<suggestion>"?

Plugin manifests and contract resolution

CodeMessage
E2001<plugin> has no plugin.toml: the plugin does not embed a manifest.
E2002<plugin>: plugin.toml is invalid: <problem>.
E2003<plugin>: plugin.toml gives the <item> as <manifest>, but the plugin code declares <declared>.
E2004<plugin> accepts core versions <range>, but the running core is <version>.
E2005<plugin> accepts SDK versions <range>, but the running SDK is <version>.
E2006<plugin> requires contract <contract> <range>, but the active provider <provider> serves version <version>.
W2007<plugin> uses <item>, deprecated since <contract> <since>; use <replacement> instead.
E2008<plugin>: plugin.toml declares config key <key> with <problem>.
E3001<plugin> requires contract <contract>: no active plugin provides it.
E3002<plugin> provides contract <contract> version <version>, but no definition of major <major> is loaded.
E3003Modulator <modulator> cannot be applied: <reason>.
E3004<plugin> uses <item> as <kind>, but contract <contract> version <version> does not define it as one; it defines: <defined>.
E3005<plugin>: <item> differs from contract <contract> version <version> on <key>: the manifest has <manifest>, the contract has <contract_value>.
E3006<plugin> provides contract <contract>, which requires every provider to declare <item> in <key>, but its plugin.toml does not.
E3007Contract file <file> is invalid: <problem>.
E3008<plugin> accepts contract <contract> <range>, which spans majors <majors>, but <item> differs between them.
E3009<plugin> accepts contract <contract> <range> as an optional dependency, but no active plugin provides it and no loaded definition of <contract> matches <range>, so its [absent] defaults are unknown.
E3010<plugin> reads view <view>, but <contract> has no active provider and the [absent] block of its definition <version> gives no default for <view>.
W3011Modulator <modulator> targets <point>, but <contract> has no active provider: it stays neutral (factor 1) for the whole run.
E3012Contract <contract> has several active variants: <variants>. Exactly one variant of a contract may be active.
E3013<plugin> provides several variants of <contract> (<variants>), but the scenario chooses none.
E3014The scenario chooses variant <variant> of <contract> for <plugin>, but <plugin> provides no such variant; provided: <provided>.
E3015Plugin <plugin> names collective type <collective_type> in <entry>, but no loaded contract declares it.
E3016Plugin <plugin>: spatial filter <filter> on <collective_type> <problem>.

Data loading

CodeMessage
E4001The data manifest <manifest> cannot be read: <message>
E4002Table role <role> (schema <schema>) is required but no table is bound to it.
E4003[data.bindings] binds role <role> to entry <entry>, but no active contract or plugin declares the role <role>.
E4004[data.bindings] binds role <role> to entry <entry>, which is not in the data manifest <manifest>.
E4005Role <role> needs a table of schema <expected>, but entry <entry> has schema <found>.
E4006Entry <entry> bound to role <role> has schema <schema> version <found>, outside the accepted range <accepted>.
E4007Entry <entry> has path <path>, which is absolute or leaves the folder of the data manifest.
E4008The file <path> of entry <entry> cannot be read: <message>
E4009Entry <entry> is a <format> table (<path>); the engine loads only Parquet tables in this release.
E4010The file <path> of entry <entry> has changed since it was fingerprinted: expected <expected>, found <found>.
E4011Table <entry> lacks column <column> (<expected>) required by schema <schema>.
E4012In table <entry>, column <column> is <found>; schema <schema> expects <expected>.
E4013Table <entry> holds column <column> of schema <schema> more than once.
E4014In table <entry>, column <column> is required but row <row> is empty.
E4015In table <entry>, column <column>, row <row> holds <value>, which is not in vocabulary <vocabulary>.
E4016In table <entry>, row <row> repeats the key (<columns>) of row <first_row>.
E4017The file <path> of entry <entry> cannot be read as a Parquet table by this engine: <message>
E4018Entry <entry> names schema <schema>, which is not a normalized schema of this engine.
E4019Table role <role> requires schema <schema> <accepted>, which this engine does not provide.
E4020Configuration key <key> holds the table path <value>; tables are never given as configuration values.
E4021Table role <role> is declared twice with different requirements.
E4022The file <path> of entry <entry> is tagged <tag> in its Parquet metadata, but the data manifest records <expected>.
E4023Table <entry> cannot become the initial population: <detail>.
E4024Table <entry> cannot become the initial links: <detail>.
E4025Table <entry> cannot become the territory tree: <detail>.
E4026Table <entry> cannot give the cluster coordinates: <detail>.
E4027Table <entry> cannot give a territory correspondence: <detail>.
E4028Place table <entry>: column <column> row <row> <problem>.
E4029Table <entry> has column <column>, a DHS cluster-coordinate column.
E4030Table <entry>: column <column> row <row> <problem>.
E4031Table <entry> cannot become the initial places: <detail>.
E4032Table <entry>: column <column> row <row> <problem>.
E4033<subject> has the DHS GPS table <ancestor> in its lineage; DHS cluster coordinates never position a place, a dwelling or an agent.
E4034Table <entry> row <row>: the position source <source> <reason>.
E4035Table <entry> cannot give the dwellings or the initial residence links: <detail>.
E4036Table <entry>: column <column> row <row> <problem>.
E4037Table <entry> has the column <column>, which is not a column of placement.parameters.
E4038Table role <role> is bound to more than one manifest entry in [data.bindings] (<entries>); a role takes exactly one entry.
E4039The role name <name> in [data.bindings] matches several declared table roles: <roles>.
W4040Table <entry>, bound to role <role> in [data.bindings], is loaded but no active plugin reads it.
E4041Table <entry> cannot give the run's travel times: <reason>.
W4042Plugin <plugin> reads access on <collective_type>, but some open dwellings have no place.access row for a place of that type; access returns NoAccessRow for them.

Run and outputs

CodeMessage
E5001The output folder <path> is not an empty folder.
E5002The run failed: <error>.
E5003Cannot write <path>: <error>.
E5004At step <step>, the events of phase <phase> still trigger listener events after <limit> waves; event chain: <chain>.
E5005At start-up, the initial memberships of place<place> of collective type <collective_type> exceed its capacity.
E5006At start-up, <residence> places its agent in a dwelling whose territorial unit is neither the agent's unit nor a finer unit under it<units>.
W5101Plugin <plugin> reads the kinship relation <relation>, but no active plugin owns a link type that provides it, so its kinship queries return no one.
W5102The journal is estimated at <estimate> bytes (<rows> rows, from a pilot of <pilot_steps> steps), above the size budget of <budget> bytes in [outputs] size_budget; the run goes on.
E8032cannot read table <path>: <reason>
E8033table <path> is neither a CSV (.csv) nor a Parquet (.parquet) file
E8034schema <schema> is not a normalized schema
E8035option --<option> <value>: <reason>
E8036cannot parse table <path>: <reason>
E8037column <column> of schema <schema> (<expected>) is missing from the table
E8038column <column> is not declared by schema <schema>
E8039column <column> of schema <schema> is <found>, expected <expected>
E8040column <column> of schema <schema> appears more than once
E8041column <column> row <row>: value <value> is not valid (expected <expected>)
E8042column <column> is required but row <row> is empty (expected <expected>)
E8043column <column> row <row>: value <value> is not allowed (expected <expected>)
E8044<subject>: <count> more problems are not listed
E8045rows <first> and <second> have the same key (<keys>) of schema <schema>
E8046table <path> is tagged as schema <found>, not <expected>
E8047<path> already exists and is not registered as entry <entry>; it is left untouched
E8048Parquet table <path> is not inside the manifest folder <folder>
E8049cannot write <path>: <reason>
E8050step "<step>": its input has no column <column> (columns: <available>)
E8051step "<step>": cannot rename a column to <column>: the input already has a column of that name
E8052step "<step>": column <column> row <row> of the step's input: value <value> is not a <expected>
E8053step "<step>": column <column> row <row> of the step's input: probability <value> is outside <interval>
E8054step "<step>": row <row> of the step's input: age band <band> does not end after it starts
E8055step "<step>": row <row> of the step's input: age band <band> cannot be split into at most 1000 whole bands of <width> years
E8056step "<step>": row <row> of the step's input: age band <band> does not lie inside target band <target> of ages
E8057step "<step>": the bands of one group do not cover target band <band> exactly (first fault at row <row> of the step's input)
E8058step "<step>": column <column> row <row> of the step's input: weight <value> is negative, or the weights of the target band sum to 0
E8059table <entry> (<schema>) has <ancestor>, of data class dhs_gps, in its lineage: its row <row> would take a position from DHS cluster coordinates
E8060table <entry> has coordinates but its data class is <class>: positions are converted only from tables of class open_layer, public_place_source or user, and a user table must have no dhs_microdata table in its lineage (DR-47)
E8061table <entry>: column <column> row <row> <problem>, so the row cannot be converted to an ECEF position
E8062step "<step>": dependency <dependency> is not a write_normalized step writing a place or dwelling table
E8063step "<step>": cannot read OpenStreetMap file <path>: <reason>
E8064table <entry> (step "<step>") derives from OpenStreetMap data read by step "<ancestor>" but declares licence <licence>
E8065step "<step>": row <row> of input "<input>": column <column> <problem>
E8066step "<step>": column <column> row <row> of input "<input>": value <value> is not a finite number
E8067step "<step>": place table <entry>: column <column> row <row> <problem>
E8068step "<step>": row <row> of input "<input>": column <column> <problem>
E8069step "<step>": column <column> row <row> of input "<input>": value <value> is not a key of <map>
E8070step "<step>": two merged places have place_id <place_id>: <first> and <second>
E8071step "<step>": row <row> of input "<input>": column <column> <problem>
E8072step "<step>": parameter file <entry>: column <column> row <row> <problem>
E8073step "<step>": parameter file <entry> was estimated with buffers (estimation_method buffer), but the GPS amendment (OQ-22) is not recorded as amended; until it is, stage 1 uses administrative joins only (DR-39 e).
E8074step "<step>": table <entry> is declared open, but it derives from the restricted table <ancestor>.
E8075step "<step>": input "<input>": column <column> row <row> <problem>
E8076step "<step>": stratum <stratum> has <households> households, but its margin units total <margins>
E8077step "<step>": input "<input>" has the column <column>, a DHS cluster-coordinate column
E8078step "<step>": friction surface <path>: <problem>
E8079step "<step>": friction surface <path>: the cell at row <row>, column <column> is not a positive, finite friction
E8080step "<step>": input "<input>": column <column> row <row> <problem>
E8081step "<step>": table <entry> cannot be built under the open-only profile: it derives from <ancestor>, <why>
E8082table <entry> cannot be registered into the open-only build of <manifest>: it is <why>

Pipeline diagnostics

CodeMessage
E8001cannot read pipeline file <path>: <reason>
E8002pipeline file <path> is not valid TOML: <reason>
E8003<location>: unknown key <key>
E8004<location>: missing required key <key>
E8005<location>: key <key> <reason>
E8006step "<step>": unknown step kind <kind> (expected read_csv, write_normalized, ecef_positions, rename_columns, filter_values, probability_to_hazard, split_ages or group_ages)
E8007step "<step>": unknown schema <schema>
E8008steps "<first>" and "<second>" both write manifest entry <entry>
E8009step "<step>": dependency "<dependency>" is a <found> step, expected a <expected> step or a generic step
E8010the <inner_role> <inner> is the <outer_role> <outer> or lies inside it
E8011step name "<step>" is declared more than once (names are compared ignoring case)
E8012step "<step>" depends on unknown step "<dependency>"
E8013step "<step>": kind <kind> needs exactly <expected> entries in after, found <found>
E8014steps <steps> are on or behind a dependency cycle
E8015step "<step>": cannot read raw file <path>: <reason>
E8016step "<step>": cannot read CSV <path>: <reason>
E8017step "<step>": column <column> of schema <schema> is missing from the input
E8018step "<step>": column <column> row <row>: value <value> is not a valid <expected>
E8019step "<step>": column <column> is required but row <row> is null
E8020step "<step>": column <column> row <row>: value <value> is not in vocabulary <vocabulary>
E8021step "<step>": input column <column> is <found>, expected strings
E8022step "<step>": table operation failed: <reason>
E8023<location>: cannot write <path>: <reason>
E8024cannot write data manifest <path>: <reason>
E8025step "<step>": cache <path> cannot be used: <reason>
E8026cannot read data manifest <path>: <reason>
E8027table <entry> (<path>) no longer matches the fingerprint <expected> recorded in its data manifest
E8028the <role> <value> is not a relative path inside the pipeline file's folder
E8029the <role> <path> already exists, is not empty and was not created by the pipeline
E8030step "<step>": raw file <path> changed after the pipeline was configured
E8031the log folder <log_dir> lies in the <role> <folder>

Generated from schemas/messages/en.toml. Do not edit. This page (error index) is built from the engine sources at every documentation build. To change it, edit the message catalogue and open a pull request.

On this page

You are reading the docs for 0.1. Keys can change between versions: use the version that matches cohortix --version.