Hi all!
I am currently using 4.3.3 and loaded the arches models. I am trying to
export the mapping file for both "Heritage Resource Model" and "Heritage
Resource Group Resource Group Model". But hit a Server Error snag. I
tried running against debug mode. Only had an instance of getting error
details, and I missed to note it down. The error was due to
relation_concepts being called before being loaded.
arches/app/utils/data_management/resource_graphs/exporter.py
try:
relation_concepts = OrderedDict(sorted(get_values(Concept().
get('00000000-0000-0000-0000-000000000005', include_subconcepts=True,
semantic=False), {}).items(), key=itemgetter(1)))
except:
relation*s*_concepts = 'You do not appear to have values for
resource to resource relationships in your rdm.'
values['Resource to Resource Relationship Types'] =
relation_concepts
Was there a typo in the code? Anyway, looking a step back, it seem to be
trying to get the values from "Resource to Resource Relationship Type" in
the RDM. I check the RDM and it seem to have everything. Unsure if
there's anything else that might cause an issue with the export. The other
models export mapping files without any issues.
Thanks.
--
-- To post, send email to [email protected]. To unsubscribe, send
email to [email protected]. For more information,
visit https://groups.google.com/d/forum/archesproject?hl=en
---
You received this message because you are subscribed to the Google Groups
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.