Opened 10 years ago
Closed 10 years ago
#23044 closed Bug (fixed)
Missing page
Reported by: | anonymous | Owned by: | nobody |
---|---|---|---|
Component: | *.djangoproject.com | Version: | dev |
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 |
Description
https://docs.djangoproject.com/en/1.3/intro/tutorial03/
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 by , 10 years ago
Component: | Uncategorized → *.djangoproject.com |
---|---|
Triage Stage: | Unreviewed → Accepted |
Type: | Uncategorized → Bug |
Version: | 1.6 → master |
comment:2 by , 10 years ago
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 self.builder.build_update() 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 self.translate() File "/usr/lib/python3.4/site-packages/sphinx/writers/html.py", line 51, in translate self.document.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 174, in walkabout if child.walkabout(visitor): File "/usr/lib/python3.4/site-packages/docutils/nodes.py", line 187, in walkabout visitor.dispatch_departure(self) 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 by , 10 years ago
I've upgraded Sphinx from 1.2 to 1.2.2 a few days ago, I wonder if this is causing the build error.
https://github.com/django/djangoproject.com/commit/85d3407a16692a8074348cba05b8102c9b829d10
BTW, can you paste the error you're seeing when building locally?
comment:5 by , 10 years ago
Backporting the following 4 commits to the stable/1.3.X
branch seems to fix the issue:
- e127e17b49429e344952bfe7e44d909388a06f19
- a3a59a3197d4e03c5c016edc581bfc5f25668bca
- 66fd824ee08d7cbb1f359c981d9079f7c82beb70
- e1d18b9d2e8ac292940f070b0a8cb9733756acd9
How far do we want to backport this though?
comment:6 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → 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.
Hi,
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.
Thanks!