Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#12232 - python-sphinx import error when building Django documentation

Attached to Project: Community Packages
Opened by Elyézer Mendes Rezende (elyezer) - Tuesday, 25 November 2008, 04:13 GMT
Last edited by Douglas Soares de Andrade (dsa) - Friday, 13 February 2009, 23:46 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Douglas Soares de Andrade (dsa)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
A import error occur when building the Django documentation using "make html" command as showed in the Django documentation site.

Additional info:
* package version(s)
* config and/or log files etc.

Package version:
python-sphinx 0.5-1

Log:
Traceback (most recent call last):
File "/usr/bin/sphinx-quickstart", line 5, in <module>
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources


Steps to reproduce:
Making Django documentation:
$ cd path/to/Django-1.0.2-final/docs/
$ make html
mkdir -p _build/html _build/doctrees
sphinx-build -b html -d _build/doctrees . _build/html
Traceback (most recent call last):
File "/usr/bin/sphinx-build", line 5, in <module>
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
make: ** [html] Erro 1

From sphinx:
$ sphinx-build
Traceback (most recent call last):
File "/usr/bin/sphinx-build", line 5, in <module>
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

or

$ sphinx-quickstart
Traceback (most recent call last):
File "/usr/bin/sphinx-quickstart", line 5, in <module>
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
This task depends upon

Closed by  Douglas Soares de Andrade (dsa)
Friday, 13 February 2009, 23:46 GMT
Reason for closing:  Fixed
Comment by Sebastian Frysztak (koralgol) - Wednesday, 26 November 2008, 18:10 GMT
Missing dependencies... Install setuptools, docutils and python-jinja(from AUR).

Loading...