You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This used to work, but apparently there has been some changes in Ontospy, which breaks things. I've been using Ontodocs for generating HTML pages for our JSON-LD ontology and hosting them on Github Pages. Now today I tried to release an update, and the following happened:
Traceback (most recent call last):
File "/usr/bin/ontodocs", line 11, in <module>
sys.exit(main_cli())
File "/usr/lib/python3.6/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/lib/python3.6/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/ontodocs/main.py", line 89, in main_cli
url = action_visualize(source, fromshell=False, path=outputpath, title=title, theme=theme, verbose=verbose)
File "/usr/lib/python3.6/site-packages/ontodocs/core/builder.py", line 170, in action_visualize
g = Ontospy(ontouri, verbose=verbose)
File "/usr/lib/python3.6/site-packages/ontospy/core/ontospy.py", line 89, in __init__
self.build_all(verbose=verbose, hide_base_schemas=hide_base_schemas)
File "/usr/lib/python3.6/site-packages/ontospy/core/ontospy.py", line 162, in build_all
self.build_classes(hide_base_schemas)
File "/usr/lib/python3.6/site-packages/ontospy/core/ontospy.py", line 299, in build_classes
onto.all_classes += [aClass]
AttributeError: 'list' object has no attribute 'all_classes'
Using version 1.2.1 of ontodocs.
Seems like there's an issue with ontospy at the moment. The following command was used: echo 2 | ontodocs /src/ontologies/ont.jsonld -o /tmp/html" -t "Title" --theme=darkly
The text was updated successfully, but these errors were encountered:
This used to work, but apparently there has been some changes in Ontospy, which breaks things. I've been using Ontodocs for generating HTML pages for our JSON-LD ontology and hosting them on Github Pages. Now today I tried to release an update, and the following happened:
Using version 1.2.1 of ontodocs.
Seems like there's an issue with ontospy at the moment. The following command was used:
echo 2 | ontodocs /src/ontologies/ont.jsonld -o /tmp/html" -t "Title" --theme=darkly
The text was updated successfully, but these errors were encountered: