RDFLib / VocPrez

A tool (API and web front-end) for the read-only delivery system of SKOS vocabularies.
GNU General Public License v3.0
21 stars 13 forks source link

Accessing Collection objects fail (500) #51

Open rob-metalinkage opened 3 years ago

rob-metalinkage commented 3 years ago

e.g. http://www.opengis.net/def/def-type/

rob-metalinkage commented 3 years ago

TypeError: The view function did not return a valid response. The function either returned None or ended without a return statement.

it does not reach CollectionRenderer._render_skos_html

rob-metalinkage commented 3 years ago

is a bug based on code relying on a specific graph in the RDF store..

...vocprez\model\concept.py", line 151, in _render_skos_html "vocab_title": g.VOCABS[self.concept.vocab_uri].title, KeyError: 'x-urn:ogc-doc-type'

rob-metalinkage commented 3 years ago

fix provided in PR https://github.com/RDFLib/VocPrez/pull/49