Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

domain relations causes exception #68

Closed
m-kuhn opened this issue Jul 28, 2017 · 0 comments · Fixed by #69
Closed

domain relations causes exception #68

m-kuhn opened this issue Jul 28, 2017 · 0 comments · Fixed by #69

Comments

@m-kuhn
Copy link
Member

m-kuhn commented Jul 28, 2017

When creating a new schema from the model KbS_LV95_V1_3 (from the official repository), I get the following trace:

Traceback (most recent call last):
  File "/home/mku/.local/share/QGIS/QGIS3/profiles/default/python/plugins/projectgenerator/gui/generate_project.py", line 154, in accepted
    relations = generator.relations(available_layers)
  File "/home/mku/.local/share/QGIS/QGIS3/profiles/default/python/plugins/projectgenerator/libqgsprojectgen/generator/postgres/postgrescreator.py", line 200, in relations
    domain_relations = domainRelation.find_domain_relations(layers, self.conn, self.schema, self.inheritance)
  File "/home/mku/.local/share/QGIS/QGIS3/profiles/default/python/plugins/projectgenerator/libqgsprojectgen/generator/postgres/domain_relations.py", line 135, in find_domain_relations
    attrs_ili_pg_owner[classes_ili_pg[iliclass]][iliattr],
KeyError: 'KbS_LV95_V1_3.Belastete_Standorte.Belasteter_Standort.Deponietyp'

Some debug output has been added in 9a5b6ec

@gacarrillor does that ring a bell?

gacarrillor added a commit to SwissTierrasColombia/QgisModelBaker that referenced this issue Jul 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant