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

Crash on Documenting Autogenerated Code #75

Open
muellert opened this issue Oct 12, 2024 · 1 comment
Open

Crash on Documenting Autogenerated Code #75

muellert opened this issue Oct 12, 2024 · 1 comment

Comments

@muellert
Copy link

muellert commented Oct 12, 2024

I wanted to use autodoc2 to create documentation for the code in https://pypi.org/project/gitea/1.0.0/

But autodoc2 crashed with a stacktrace, see the attached log. My setup is as follows:

  • I untarred the tarball from PyPI and created a 'docs' subdirectory inside the top dir.
  • I ran sphinx-init and added '../../gitea' to 'autodoc2_packages' in 'sources/conf.y', as well as 'autodoc2' to the extensions.
  • I ran 'make html' in order to generate the documentation, which failed.

Then I manually ran 'autodoc2 list .' from the top directory ('gitea') to get the same stacktrace.
autodoc2-failure.log

I am using Debian Bookworm with autodoc2 0.5.0 (ie, the latest).

The bug was introduces in PR #40.

@muellert
Copy link
Author

Problem with outdated version of astroid, sorry.

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