Errors are listed by the step that reports them. Setting LOG_LEVEL=DEBUG also logs each SQL task as it starts and finishes.
The HTTP server logs one http request line per request with its request_id, and every line of an on-request run carries run_id, country and bbox. A run accepted line links the two. To follow one run, filter the log on its run_id; a run failed line names the stage it failed in and the error.
To add data, run c2t -import-data and then c2t -extract-features; both skip what is already done. To start again, c2t -reset-db drops and rebuilds everything, including hand corrections.
<file> lies directly in <folder>; move it into a dataset folder holding an attribution.json
A model file sits in data/lodN/<country>/ instead of a dataset folder.
Move it to data/lodN/<country>/<dataset>/gml/ or cityjson/. See Data.
dataset folder <folder> has neither a gml nor a cityjson subfolder holding its model files
The dataset folder has no gml/ or cityjson/ folder.
Put the CityGML files in gml/ and the CityJSON files in cityjson/.
read attribution file: open <folder>/attribution.json: no such file or directory
... have a lineage with no dataset_attribution row ...; run -sync-attribution
Buildings were imported from a dataset whose attribution was never stored, or was removed.
Run c2t -sync-attribution. It re-reads every attribution.json without re-importing.
<database> has no dataset_attribution row for some of [...]; run -sync-attribution
The API found a building whose dataset has no credit stored.
Run c2t -sync-attribution against that database.
task <name> failed (SQL file: <file>): ... followed by <n> job(s) failed
An SQL script failed for a batch of buildings. The other batches complete.
Read the PostgreSQL error in the log. After fixing the cause, run -extract-features again: buildings already processed are skipped.
task <name> failed after <n> deadlock retries
Batches kept locking the same rows.
Run again with a lower THREAD_COUNT.
PyLovo FDW setup failed at "<step>": ...
The PostgreSQL server cannot reach the PyLovo database, or the PyLovo role lacks SELECT on res and oth. The server, not City2TABULA, opens this connection.
Check that PYLOVO_FDW_HOST resolves from the database server and that the role can read both tables. See PyLovo building link.