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

escape4chm.py script causing AttributeError in docs build #90621

Closed
zooba opened this issue Jan 21, 2022 · 4 comments
Closed

escape4chm.py script causing AttributeError in docs build #90621

zooba opened this issue Jan 21, 2022 · 4 comments
Assignees
Labels
3.11 only security fixes build The build process and cross-build docs Documentation in the Doc dir

Comments

@zooba
Copy link
Member

zooba commented Jan 21, 2022

BPO 46463
Nosy @zooba, @miss-islington
PRs
  • bpo-46463: Fixes escape4chm.py script used when building the CHM documentation file #30768
  • [3.9] bpo-46463: Fixes escape4chm.py script used when building the CHM documentation file (GH-30768) #30772
  • [3.10] bpo-46463: Fixes escape4chm.py script used when building the CHM documentation file (GH-30768) #30773
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/zooba'
    closed_at = <Date 2022-01-24.14:20:56.532>
    created_at = <Date 2022-01-21.20:17:55.188>
    labels = ['3.11', 'build', 'docs']
    title = 'escape4chm.py script causing AttributeError in docs build'
    updated_at = <Date 2022-01-24.14:20:56.531>
    user = 'https://github.com/zooba'

    bugs.python.org fields:

    activity = <Date 2022-01-24.14:20:56.531>
    actor = 'steve.dower'
    assignee = 'steve.dower'
    closed = True
    closed_date = <Date 2022-01-24.14:20:56.532>
    closer = 'steve.dower'
    components = ['Build', 'Documentation']
    creation = <Date 2022-01-21.20:17:55.188>
    creator = 'steve.dower'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46463
    keywords = ['patch']
    message_count = 4.0
    messages = ['411180', '411192', '411198', '411199']
    nosy_count = 2.0
    nosy_names = ['steve.dower', 'miss-islington']
    pr_nums = ['30768', '30772', '30773']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue46463'
    versions = ['Python 3.11']

    @zooba
    Copy link
    Member Author

    zooba commented Jan 21, 2022

    Exception occurred:
    File "D:\a\1\s\Doc\tools\extensions\escape4chm.py", line 44, in fixup_keywords
    with app.builder.open_file(outdir, outname + '.hhk', 'r') as f:
    AttributeError: 'HTMLHelpBuilder' object has no attribute 'open_file'
    The full traceback has been saved in C:\Users\VSSADM~1\AppData\Local\Temp\sphinx-err-9ikx8s0b.log, if you want to report the issue to the developers.
    Please also report this if it was a user error, so that a better error message can be provided next time.
    A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues\>. Thanks!

    @zooba zooba added the 3.11 only security fixes label Jan 21, 2022
    @zooba zooba self-assigned this Jan 21, 2022
    @zooba zooba added build The build process and cross-build docs Documentation in the Doc dir 3.11 only security fixes labels Jan 21, 2022
    @zooba zooba self-assigned this Jan 21, 2022
    @zooba zooba added build The build process and cross-build docs Documentation in the Doc dir labels Jan 21, 2022
    @zooba
    Copy link
    Member Author

    zooba commented Jan 21, 2022

    New changeset 57d1855 by Steve Dower in branch 'main':
    bpo-46463: Fixes escape4chm.py script used when building the CHM documentation file (GH-30768)
    57d1855

    @miss-islington
    Copy link
    Contributor

    New changeset d548c87 by Miss Islington (bot) in branch '3.10':
    bpo-46463: Fixes escape4chm.py script used when building the CHM documentation file (GH-30768)
    d548c87

    @miss-islington
    Copy link
    Contributor

    New changeset b37f3e9 by Miss Islington (bot) in branch '3.9':
    bpo-46463: Fixes escape4chm.py script used when building the CHM documentation file (GH-30768)
    b37f3e9

    @zooba zooba closed this as completed Jan 24, 2022
    @zooba zooba closed this as completed Jan 24, 2022
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.11 only security fixes build The build process and cross-build docs Documentation in the Doc dir
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants