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

Error while building PDF documentation #75604

Closed
JulienPalard opened this issue Sep 11, 2017 · 11 comments
Closed

Error while building PDF documentation #75604

JulienPalard opened this issue Sep 11, 2017 · 11 comments
Labels
3.7 (EOL) end of life docs Documentation in the Doc dir

Comments

@JulienPalard
Copy link
Member

BPO 31423
Nosy @ned-deily, @zware, @JulienPalard, @Mariatta, @Linkid
PRs
  • bpo-31423: Fix building the PDF documentation #3693
  • [3.6] bpo-31423: Fix building the PDF documentation (GH-3693) #3699
  • [2.7] bpo-31423: Fix building the PDF documentation (GH-3693) #3700
  • 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 = None
    closed_at = <Date 2017-09-23.05:51:11.007>
    created_at = <Date 2017-09-11.19:54:48.450>
    labels = ['3.7', 'docs']
    title = 'Error while building PDF documentation'
    updated_at = <Date 2017-10-03.08:48:30.541>
    user = 'https://github.com/JulienPalard'

    bugs.python.org fields:

    activity = <Date 2017-10-03.08:48:30.541>
    actor = 'ned.deily'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2017-09-23.05:51:11.007>
    closer = 'ned.deily'
    components = ['Documentation']
    creation = <Date 2017-09-11.19:54:48.450>
    creator = 'mdk'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31423
    keywords = ['patch']
    message_count = 11.0
    messages = ['301895', '302757', '302762', '302763', '302765', '302766', '302784', '302861', '302869', '302965', '303582']
    nosy_count = 6.0
    nosy_names = ['ned.deily', 'docs@python', 'zach.ware', 'mdk', 'Mariatta', 'linkid']
    pr_nums = ['3693', '3699', '3700']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue31423'
    versions = ['Python 2.7', 'Python 3.6', 'Python 3.7']

    @JulienPalard
    Copy link
    Member Author

    Since the docsbuild-scripts 1 upgraded its sphinx-build [2], we're having this error when building the docs:

    ! Undefined control sequence.
    \py@authoraddress -> \strong
    
    {Python Software Foundation}\\ Email: \email {d...
    l.58 \sphinxtableofcontents
                           
    !  ==> Fatal error occurred, no output PDF file produced!
    

    it looks like to be from conf.py line 97 [3]:

    conf.py-95-# Additional stuff for the LaTeX preamble.
    conf.py-96-latex_elements['preamble'] = r'''
    conf.py:97:\authoraddress{
    conf.py-98- \strong{Python Software Foundation}\\
    conf.py-99- Email: \email{docs@python.org}
    conf.py-100-}

    [2]: we merged python/docsbuild-scripts#12
    [3]:

    \authoraddress{

    @JulienPalard JulienPalard added the 3.7 (EOL) end of life label Sep 11, 2017
    @JulienPalard JulienPalard added the docs Documentation in the Doc dir label Sep 11, 2017
    @zware
    Copy link
    Member

    zware commented Sep 22, 2017

    New changeset da9b4cf by Zachary Ware (François Magimel) in branch 'master':
    bpo-31423: Fix building the PDF documentation (GH-3693)
    da9b4cf

    @zware
    Copy link
    Member

    zware commented Sep 22, 2017

    New changeset 6de3584 by Zachary Ware in branch '3.6':
    [3.6] bpo-31423: Fix building the PDF documentation (GH-3693) (GH-3699)
    6de3584

    @zware
    Copy link
    Member

    zware commented Sep 22, 2017

    New changeset da86874 by Zachary Ware in branch '2.7':
    [2.7] bpo-31423: Fix building the PDF documentation (GH-3693) (GH-3700)
    da86874

    @zware
    Copy link
    Member

    zware commented Sep 22, 2017

    Pending results of actual builds on docs.p.o, this should be fixed.

    @ned-deily
    Copy link
    Member

    Thanks for looking into this. See also python/psf-salt#118 where the question arose whether the version of Tex Live on docs is new enough. I'm no expert at anything Tex but the odd thing is that I had been able to build dist docs on my current Debian (testing) system without this change. Let's see what happens on docs after the daily full doc build.

    @ned-deily
    Copy link
    Member

    Good news! It appears that the changes supplied by @Linkid have indeed fixed the daily downloadable doc build failures, 3.7, 3.6, and 2.7 docs were built successfully and the 404s are gone. Thanks everyone for helping with this!

    @Mariatta
    Copy link
    Member

    Seems like people are seeing 404s when downloading docs today. By any chance this issue is related?

    @ned-deily
    Copy link
    Member

    Seems like people are seeing 404s when downloading docs today.

    Do you have specific URLs or web pages? Or a link to where this was discussed? I just did a quick look at some of the download pages and everything worked for me.

    @Mariatta
    Copy link
    Member

    Sorry!! Yesterday morning I received 50+ emails all about document download page is 404. Reading those again, turns out these are older emails from a week before, somehow just showing up in my mailbox.
    I think everything is good here. :)

    Thanks!

    @ned-deily
    Copy link
    Member

    New changeset a74ce09 by Ned Deily (Zachary Ware) in branch '3.6':
    [3.6] bpo-31423: Fix building the PDF documentation (GH-3693) (GH-3699)
    a74ce09

    @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.7 (EOL) end of life docs Documentation in the Doc dir
    Projects
    None yet
    Development

    No branches or pull requests

    4 participants