#23044 closed Bug (fixed)

Missing page

Reported by: anonymous Owned by: nobody
Component: *.djangoproject.com 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 17 months ago by bmispelon

  • Component changed from Uncategorized to *.djangoproject.com
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted
  • Type changed from Uncategorized to Bug
  • Version changed from 1.6 to master


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 17 months ago by bmispelon

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/djangodocs.py
#   sphinx.ext.oldcmarkup from /usr/lib/python3.4/site-packages/sphinx/ext/oldcmarkup.py
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/sphinx/cmdline.py", line 254, in main
    app.build(force_all, filenames)
  File "/usr/lib/python3.4/site-packages/sphinx/application.py", line 212, in build
  File "/usr/lib/python3.4/site-packages/sphinx/builders/__init__.py", line 214, in build_update
    'out of date' % len(to_build))
  File "/usr/lib/python3.4/site-packages/sphinx/builders/__init__.py", line 276, in build
    self.write(docnames, list(updated_docnames), method)
  File "/usr/lib/python3.4/site-packages/sphinx/builders/__init__.py", line 320, in write
    self._write_serial(sorted(docnames), warnings)
  File "/usr/lib/python3.4/site-packages/sphinx/builders/__init__.py", line 333, in _write_serial
    self.write_doc(docname, doctree)
  File "/usr/lib/python3.4/site-packages/sphinx/builders/html.py", line 433, in write_doc
    self.docwriter.write(doctree, destination)
  File "/usr/lib/python3.4/site-packages/docutils/writers/__init__.py", line 80, in write
  File "/usr/lib/python3.4/site-packages/sphinx/writers/html.py", line 51, in translate
  File "/usr/lib/python3.4/site-packages/docutils/nodes.py", line 174, in walkabout
    if child.walkabout(visitor):
  File "/usr/lib/python3.4/site-packages/docutils/nodes.py", line 174, in walkabout
    if child.walkabout(visitor):
  File "/usr/lib/python3.4/site-packages/docutils/nodes.py", line 174, in walkabout
    if child.walkabout(visitor):
  File "/usr/lib/python3.4/site-packages/docutils/nodes.py", line 187, in walkabout
  File "/usr/lib/python3.4/site-packages/docutils/nodes.py", line 1895, in dispatch_departure
    return method(node)
  File "/usr/lib/python3.4/site-packages/docutils/writers/html4css1/__init__.py", line 1561, in depart_table
    self.compact_p = self.context.pop()
IndexError: pop from empty list

comment:3 Changed 17 months ago by jezdez

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 17 months ago by jezdez

Ah, thanks!

comment:5 Changed 17 months ago by bmispelon

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 17 months ago by timo

  • Resolution set to fixed
  • Status changed from new to closed

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