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: Fix creating of docs of compoundselection.py #7441

Merged

Conversation

pythonic64
Copy link
Contributor

@pythonic64 pythonic64 commented Mar 23, 2021

It's a possible fix for readthedocs error while creating docs.

Traceback from readthedocs:

Configuration error:
There is a programable error in your configuration file:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/kivy/envs/7387/lib/python3.7/site-packages/sphinx/config.py", line 161, in __init__
    execfile_(filename, config)
  File "/home/docs/checkouts/readthedocs.org/user_builds/kivy/envs/7387/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_
    exec_(code, _globals)
  File "conf.py", line 73, in <module>
    import autobuild
  File "/home/docs/checkouts/readthedocs.org/user_builds/kivy/checkouts/7387/doc/autobuild.py", line 35, in <module>
    import kivy.core.gl
  File "/home/docs/checkouts/readthedocs.org/user_builds/kivy/envs/7387/lib/python3.7/site-packages/kivy/core/gl/__init__.py", line 83, in <module>
    import kivy.core.window  # NOQA
  File "/home/docs/checkouts/readthedocs.org/user_builds/kivy/envs/7387/lib/python3.7/site-packages/kivy/core/window/__init__.py", line 28, in <module>
    from kivy.uix.behaviors import FocusBehavior
  File "/home/docs/checkouts/readthedocs.org/user_builds/kivy/envs/7387/lib/python3.7/site-packages/kivy/uix/behaviors/__init__.py", line 90, in <module>
    from kivy.uix.behaviors.compoundselection import CompoundSelectionBehavior
  File "/home/docs/checkouts/readthedocs.org/user_builds/kivy/envs/7387/lib/python3.7/site-packages/kivy/uix/behaviors/compoundselection.py", line 137, in <module>
    _is_desktop = Config.getboolean('kivy', 'desktop')
AttributeError: 'NoneType' object has no attribute 'getboolean'

/home/docs/checkouts/readthedocs.org/user_builds/kivy/envs/7387/lib/python3.7/site-packages/kivy/__init__.py

Maintainer merge checklist:

  • Title is descriptive/clear for inclusion in release notes.
  • Applied a Component: xxx label.
  • Applied the api-deprecation or api-break label.
  • Applied the release-highlight label to be highlighted in release notes.
  • Added to the milestone version it was merged into.
  • Unittests are included in PR.
  • Properly documented, including versionadded, versionchanged as needed.

@matham matham changed the title Fix creating of docs of compoundselection.py Docs: Fix creating of docs of compoundselection.py Mar 24, 2021
@matham matham added the Component: documentation Documentation or examples label Mar 24, 2021
@matham matham added this to the 2.1.0 milestone Mar 24, 2021
Copy link
Member

@matham matham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It certainly can't hurt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: documentation Documentation or examples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants