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

Docs build failures #41

Closed
sanjayankur31 opened this issue Nov 14, 2018 · 3 comments
Closed

Docs build failures #41

sanjayankur31 opened this issue Nov 14, 2018 · 3 comments

Comments

@sanjayankur31
Copy link
Contributor

There are a few errors when building the docs using make html, I couldn't find an issue about this, so filing one here. Please close if it's been fixed. I was using the 1.0 version, not master.:

WARNING: autodoc: failed to import class 'AnalogPortConnection' from module 'nineml'; the following exception was raised:
Traceback (most recent call last):
  File "/home/asinha/dump/nineml-virt/lib64/python3.7/site-packages/sphinx/util/inspect.py", line 225, in safe_getattr
    return getattr(obj, name, *defargs)
AttributeError: module 'nineml' has no attribute 'AnalogPortConnection'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/asinha/dump/nineml-virt/lib64/python3.7/site-packages/sphinx/ext/autodoc/importer.py", line 193, in import_object
    obj = attrgetter(obj, attrname)
  File "/home/asinha/dump/nineml-virt/lib64/python3.7/site-packages/sphinx/ext/autodoc/__init__.py", line 290, in get_attr
    return autodoc_attrgetter(self.env.app, obj, name, *defargs)
  File "/home/asinha/dump/nineml-virt/lib64/python3.7/site-packages/sphinx/ext/autodoc/__init__.py", line 1562, in autodoc_attrgetter
    return safe_getattr(obj, name, *defargs)
  File "/home/asinha/dump/nineml-virt/lib64/python3.7/site-packages/sphinx/util/inspect.py", line 241, in safe_getattr
    raise AttributeError(name)
AttributeError: AnalogPortConnection

WARNING: autodoc: failed to import class 'EventPortConnection' from module 'nineml'; the following exception was raised:
Traceback (most recent call last):
  File "/home/asinha/dump/nineml-virt/lib64/python3.7/site-packages/sphinx/util/inspect.py", line 225, in safe_getattr
    return getattr(obj, name, *defargs)
AttributeError: module 'nineml' has no attribute 'EventPortConnection'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/asinha/dump/nineml-virt/lib64/python3.7/site-packages/sphinx/ext/autodoc/importer.py", line 193, in import_object
    obj = attrgetter(obj, attrname)
  File "/home/asinha/dump/nineml-virt/lib64/python3.7/site-packages/sphinx/ext/autodoc/__init__.py", line 290, in get_attr
    return autodoc_attrgetter(self.env.app, obj, name, *defargs)
  File "/home/asinha/dump/nineml-virt/lib64/python3.7/site-packages/sphinx/ext/autodoc/__init__.py", line 1562, in autodoc_attrgetter
    return safe_getattr(obj, name, *defargs)
  File "/home/asinha/dump/nineml-virt/lib64/python3.7/site-packages/sphinx/util/inspect.py", line 241, in safe_getattr
    raise AttributeError(name)
AttributeError: EventPortConnection
@tclose
Copy link
Contributor

tclose commented Jan 14, 2019

Sorry Ankur, I only just noticed this issue now. The docs are building in my dev branch so once that is merged it should be okay. In the mean time can you just refer to the readthedocs version?

@sanjayankur31
Copy link
Contributor Author

Sure. No worries. This was for the NeuroFedora package. I've disabled the docs build for the moment and point to online docs.

Please close this ticket whenever you see it fit.

Thanks again :)

@tclose
Copy link
Contributor

tclose commented Jan 14, 2019

Okay, thanks

@tclose tclose closed this as completed Jan 14, 2019
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

2 participants