Opened 4 years ago

Closed 4 years ago

#23044 closed Bug (fixed)

Missing page

Reported by: anonymous Owned by: nobody
Component: * Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


was the first hit searching google for "python requests django library tutorial" so since you might have traffic looking for that url I thought I'd report it.

Change History (6)

comment:1 Changed 4 years ago by Baptiste Mispelon

Component: Uncategorized*
Triage Stage: UnreviewedAccepted
Type: UncategorizedBug
Version: 1.6master


Seeing how #23402, #23038, and #23035 were all filed recently, it seems something went wrong with the docs generation process.

First, I thought it was intentional that unsupported versions weren't made available anymore but now I'm starting to think this might have been accidental and it should probably be fixed.


comment:2 Changed 4 years ago by Baptiste Mispelon

This might be caused by a bug in sphinx.

Building the documentation locally for the 1.3 branch yields this traceback:

# Sphinx version: 1.2.2
# Python version: 3.4.1
# Docutils version: 0.12 release
# Jinja2 version: 2.7.3
# Loaded extensions:
#   djangodocs from django/docs/_ext/
#   sphinx.ext.oldcmarkup from /usr/lib/python3.4/site-packages/sphinx/ext/
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/sphinx/", line 254, in main, filenames)
  File "/usr/lib/python3.4/site-packages/sphinx/", line 212, in build
  File "/usr/lib/python3.4/site-packages/sphinx/builders/", line 214, in build_update
    'out of date' % len(to_build))
  File "/usr/lib/python3.4/site-packages/sphinx/builders/", line 276, in build
    self.write(docnames, list(updated_docnames), method)
  File "/usr/lib/python3.4/site-packages/sphinx/builders/", line 320, in write
    self._write_serial(sorted(docnames), warnings)
  File "/usr/lib/python3.4/site-packages/sphinx/builders/", line 333, in _write_serial
    self.write_doc(docname, doctree)
  File "/usr/lib/python3.4/site-packages/sphinx/builders/", line 433, in write_doc
    self.docwriter.write(doctree, destination)
  File "/usr/lib/python3.4/site-packages/docutils/writers/", line 80, in write
  File "/usr/lib/python3.4/site-packages/sphinx/writers/", line 51, in translate
  File "/usr/lib/python3.4/site-packages/docutils/", line 174, in walkabout
    if child.walkabout(visitor):
  File "/usr/lib/python3.4/site-packages/docutils/", line 174, in walkabout
    if child.walkabout(visitor):
  File "/usr/lib/python3.4/site-packages/docutils/", line 174, in walkabout
    if child.walkabout(visitor):
  File "/usr/lib/python3.4/site-packages/docutils/", line 187, in walkabout
  File "/usr/lib/python3.4/site-packages/docutils/", line 1895, in dispatch_departure
    return method(node)
  File "/usr/lib/python3.4/site-packages/docutils/writers/html4css1/", line 1561, in depart_table
    self.compact_p = self.context.pop()
IndexError: pop from empty list

comment:3 Changed 4 years ago by Jannis Leidel

I've upgraded Sphinx from 1.2 to 1.2.2 a few days ago, I wonder if this is causing the build error.

BTW, can you paste the error you're seeing when building locally?

comment:4 Changed 4 years ago by Jannis Leidel

Ah, thanks!

comment:5 Changed 4 years ago by Baptiste Mispelon

Backporting the following 4 commits to the stable/1.3.X branch seems to fix the issue:

How far do we want to backport this though?

comment:6 Changed 4 years ago by Tim Graham

Resolution: fixed
Status: newclosed

Thanks for researching. I backported those commits to 1.3. I think docs for 1.0 and 1.1 have been gone for some time. Let's try dropping 1.2 now.

Note: See TracTickets for help on using tickets.
Back to Top