Hi,

the problem is solved, this is just for other people who have the same error.

When you try to build the documentation and get the following error:


  File "/home/user/_django-trunk/docs/_ext/djangodocs.py", line 86, in run
    xrefs = roles.XRefRole()('doc', linktext, linktext, self.lineno, self.state)
AttributeError: 'module' object has no attribute 'XRefRole'

You might be running an old version of Sphinx. Version 0.6 is not supported.

You need to use the "-U" Option (update), to get the latest version:

Example: easy_install -U --prefix=$HOME Sphinx

Without -U easy_install copied the old version from /usr/lib into my home
directory.

 HTH,
    Thomas Güttler

-- 
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to