-
Notifications
You must be signed in to change notification settings - Fork 4
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
Property "person.nr" not found (JANGIS437) #992
Comments
27 tasks
Exception has occurred: KeyError (note: full exception trace is shown but execution is paused at: load)
'properties'
File "/Users/ibraske/projects/spinta/spinta/manifests/tabular/helpers.py", line 1152, in _check_if_property_already_set
base = base['properties'].get(prop, None)
File "/Users/ibraske/projects/spinta/spinta/manifests/tabular/helpers.py", line 793, in _string_datatype_handler
existing_data = _check_if_property_already_set(reader, row, given_name)
File "/Users/ibraske/projects/spinta/spinta/manifests/tabular/helpers.py", line 940, in _handle_datatype
return handler(reader, row)
File "/Users/ibraske/projects/spinta/spinta/manifests/tabular/helpers.py", line 624, in read
prop_data = _handle_datatype(self, row)
File "/Users/ibraske/projects/spinta/spinta/manifests/tabular/helpers.py", line 1661, in _read_tabular_manifest_rows
reader.read(row)
File "/Users/ibraske/projects/spinta/spinta/manifests/tabular/helpers.py", line 1707, in read_tabular_manifest
yield from _read_tabular_manifest_rows(
File "/Users/ibraske/projects/spinta/spinta/manifests/helpers.py", line 133, in load_manifest_nodes
for eid, schema in schemas:
File "/Users/ibraske/projects/spinta/spinta/manifests/tabular/commands/load.py", line 59, in load (Current frame)
load_manifest_nodes(context, into, schemas, source=manifest)
File "/Users/ibraske/projects/spinta/spinta/manifests/yaml/commands/load.py", line 110, in load
commands.load(
File "/Users/ibraske/projects/spinta/spinta/cli/helpers/store.py", line 127, in load_manifest
commands.load(
File "/Users/ibraske/projects/spinta/spinta/cli/manifest.py", line 176, in _read_and_return_rows
store = load_manifest(
File "/Users/ibraske/projects/spinta/spinta/manifests/tabular/helpers.py", line 2667, in <genexpr>
rows = ({c: row[c] for c in cols} for row in rows)
File "/Users/ibraske/projects/spinta/spinta/manifests/tabular/helpers.py", line 2684, in write_csv
writer.writerows(rows)
File "/Users/ibraske/projects/spinta/spinta/manifests/tabular/helpers.py", line 2669, in write_tabular_manifest
write_csv(pathlib.Path(path), rows, cols)
File "/Users/ibraske/projects/spinta/spinta/cli/manifest.py", line 133, in copy_manifest
write_tabular_manifest(context, output, rows)
File "/Users/ibraske/projects/spinta/spinta/cli/manifest.py", line 62, in copy
copy_manifest(
File "/Users/ibraske/projects/spinta/_process_dsa.py", line 52, in main
result = runner.invoke(app, args)
File "/Users/ibraske/projects/spinta/_process_dsa.py", line 63, in <module>
main()
KeyError: 'properties' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
MultipleErrors: Multiple errors:
Context:
component: spinta.components.Model
manifest: default
schema: Sheet1:87
model: NaturalPerson
entity: None
property: person.nr
Though property
person.nr
exists:This might be also because model Asmuo to which
person
refers is in another fileRelated
The text was updated successfully, but these errors were encountered: