hey, I am using ubuntu 10.10, do I really need to update Sphinx to build documentation?
On Thu, Mar 10, 2011 at 3:51 AM, Thomas Guettler <h...@tbz-pariv.de> wrote: > 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. > > -- Lic. José M. Rodriguez Bacallao Centro de Biofisica Medica ----------------------------------------------------------------- Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo. Recuerda: El arca de Noe fue construida por aficionados, el titanic por profesionales ----------------------------------------------------------------- -- 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.