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.
--
Ticket URL: <https://code.djangoproject.com/ticket/23044>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* component: Uncategorized => *.djangoproject.com
* needs_tests: => 0
* version: 1.6 => master
* needs_docs: => 0
* type: Uncategorized => Bug
* stage: Unreviewed => Accepted
Comment:
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!
--
Ticket URL: <https://code.djangoproject.com/ticket/23044#comment:1>
Comment (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
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
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23044#comment:2>
Comment (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.
https://github.com/django/djangoproject.com/commit/85d3407a16692a8074348cba05b8102c9b829d10
BTW, can you paste the error you're seeing when building locally?
--
Ticket URL: <https://code.djangoproject.com/ticket/23044#comment:3>
Comment (by jezdez):
Ah, thanks!
--
Ticket URL: <https://code.djangoproject.com/ticket/23044#comment:4>
Comment (by bmispelon):
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?
--
Ticket URL: <https://code.djangoproject.com/ticket/23044#comment:5>
* status: new => closed
* resolution: => fixed
Comment:
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.
--
Ticket URL: <https://code.djangoproject.com/ticket/23044#comment:6>