-
Notifications
You must be signed in to change notification settings - Fork 2k
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
TypeError: 'type' object is not iterable #1674
Comments
@loganesch-wf I suspect that your python module If it isn't true, please attach a small sample project to reproduce the issue. Thanks. |
OK, I fixed crashes for the case @shimizukawa described. If this was the case here, we can close the issue. |
I'll pull down the latest master and see if that fixes my issue. Thanks for the quick turn around! |
Looks like that was it. Thank you! ⭐ |
Nice! |
When trying to build documentation (any type: html, man pages, latexpdf...) sphinx fails while trying to autodoc a subdirectory of a project. I've tried many different approaches to try to narrow down what the problem is but I can't seem to find the culprit. All of the rst files were generated by sphinx-apidoc.
directory A has the following rst file:
Failure does not occur if the :members: directive is removed. Failure also does not occur if files B or E are missing, or if the import of file B in E is missing or commented out.
It will still fail if fileB and fileE are paired down to simply the following:
fileB:
fileE:
with the following stack trace:
Is there something wrong in the files that autodoc is trying to read or if their is an issue with autodoc itself? is there some kind of work around I can try?
Thanks!
The text was updated successfully, but these errors were encountered: