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

Possible bug in OntoSpy - visualization of individuals #128

Open
izaihrayeu opened this issue Jul 27, 2023 · 0 comments
Open

Possible bug in OntoSpy - visualization of individuals #128

izaihrayeu opened this issue Jul 27, 2023 · 0 comments

Comments

@izaihrayeu
Copy link

the following Exception is raised when running

ontospy gendocs 'GLEIF-CorporateActionIndividuals.rdf' --individuals --type 4

File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/ontospy/gendocs/media/templates/shared/d3_hiddendivs.html", line 300, in top-level template code

Is Direct Instance Of: {% for s in each.instance_of %}{{s.title}} {% if not loop.last %}|{% endif %} {% endfor %}

^^^^^^^^^^^^^^^^^^^^^^^^^

File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/jinja2/runtime.py", line 417, in init
self._iterator = self._to_iterator(iterable)
^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/jinja2/runtime.py", line 425, in _to_iterator
return iter(iterable)

the ontology file can be found here https://github.com/edmcouncil/fibo/blob/master/CAE/CorporateEvents/GLEIF-CorporateActionIndividuals.rdf

I noticed the same error can be reproduced with other types (not only --type 4) when an ontology contains individuals

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

No branches or pull requests

1 participant