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

AttributeError from ontodoc #70

Closed
lovfall opened this issue Dec 11, 2020 · 0 comments · Fixed by #77
Closed

AttributeError from ontodoc #70

lovfall opened this issue Dec 11, 2020 · 0 comments · Fixed by #77

Comments

@lovfall
Copy link
Collaborator

lovfall commented Dec 11, 2020

I am trying to run ontodoc on an emmo compliant ontology, but get the following error:
Traceback (most recent call last):
File "/home/emmo/.local/bin/ontodoc", line 141, in
docpp = main()
File "/home/emmo/.local/bin/ontodoc", line 127, in main
docpp.process()
File "/home/emmo/.local/lib/python3.8/site-packages/emmo/ontodoc.py", line 813, in process
self.process_alls()
File "/home/emmo/.local/lib/python3.8/site-packages/emmo/ontodoc.py", line 741, in process_alls
self.lines[i: i] = self.ontodoc.itemsdoc(
File "/home/emmo/.local/lib/python3.8/site-packages/emmo/ontodoc.py", line 341, in itemsdoc
doc.append(self.itemdoc(item, header_level))
File "/home/emmo/.local/lib/python3.8/site-packages/emmo/ontodoc.py", line 241, in itemdoc
'', level=header_level, label=label, lowerlabel=label.lower()))
AttributeError: 'NoneType' object has no attribute 'lower'

@lovfall lovfall created this issue from a note in EMMO-python 1.0.0 (To do) Dec 11, 2020
@francescalb francescalb linked a pull request Dec 22, 2020 that will close this issue
@francescalb francescalb moved this from To do to In progress in EMMO-python 1.0.0 Dec 22, 2020
@jesper-friis jesper-friis moved this from In progress to Done in EMMO-python 1.0.0 Dec 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

1 participant