QGEP / qgepqwat2ili

3 stars 3 forks source link

Enable basktet export for kek #183

Open domi4484 opened 6 days ago

domi4484 commented 6 days ago

Based on #182

ponceta commented 5 days ago

https://github.com/QGEP/qgepqwat2ili/pull/181 will be rebased after this.

sjib commented 1 day ago
======================================================================
ERROR: test_case_b_export_complete_qgep_to_xtf (qgepqwat2ili.tests.test_qgep.TestQGEPUseCases.test_case_b_export_complete_qgep_to_xtf)
# B. export the whole QGEP model to INTERLIS
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1256, in _execute_context
    self.dialect.do_executemany(
  File "/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/sqlalchemy/dialects/postgresql/psycopg2.py", line 912, in do_executemany
    cursor.executemany(statement, parameters)
psycopg2.errors.NotNullViolation: null value in column "t_basket" violates not-null constraint
DETAIL:  Failing row contains (0, null, organisation, ch13p7mzOG000002).

@domi4484 Can you fix this also?